From 63b5df64d4796ef24e8b142bb322120777aada5c Mon Sep 17 00:00:00 2001 From: sandypockets Date: Sat, 16 Dec 2023 21:21:39 -0500 Subject: [PATCH] Fix: Export embed function --- dist/index.cjs | 2 +- dist/index.esm.js | 2 +- package.json | 2 +- src/index-dark.js | 3 ++- src/index-light.js | 3 ++- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/dist/index.cjs b/dist/index.cjs index 483b703..6d950ca 100644 --- a/dist/index.cjs +++ b/dist/index.cjs @@ -1 +1 @@ -"use strict";function e(t,n,r){t.type===n&&r(t),t.children&&t.children.forEach((t=>{e(t,n,r)}))}function t(){return t=>{e(t,"element",(e=>{if("h1"===e.tagName||"h2"===e.tagName||"h3"===e.tagName||"h4"===e.tagName||"h5"===e.tagName||"h6"===e.tagName){const t=function(e){return e.toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"")}(n(e));e.properties=e.properties||{},e.properties.id=t}}))}}function n(e){return"text"===e.type?e.value:e.children?e.children.map(n).join(""):""}function r(e){return t=>{s(t,e)}}function s(e,t){e.children&&e.children.forEach(((n,r)=>{if("element"===n.type&&t[n.tagName]){const s={type:"element",tagName:"div",properties:{className:t[n.tagName]},children:[n]};e.children[r]=s}s(n,t)}))}function i(t,n=!1){const r=[];e(t,"element",(e=>{if(function(e){return/^h[1-6]$/.test(e.tagName)}(e)){const n=(t=e.tagName,parseInt(t.charAt(1),10)),s=o(e),i=e.properties?.id||function(e){return e.toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"")}(s);r.push({level:n,text:s,id:i})}var t}));const s=function(e){const t={type:"element",tagName:"ul",properties:{className:"toc markdown"},children:[]};return e.forEach((e=>{t.children.push({type:"element",tagName:"li",properties:{},children:[{type:"element",tagName:"a",properties:{href:`#${e.id}`},children:[{type:"text",value:e.text}]}]})})),t}(r);if(n){const e={type:"element",tagName:"br",properties:{},children:[]},n={type:"element",tagName:"br",properties:{},children:[]};return t.children.unshift(n),t.children.unshift(e),t.children.unshift(s),null}return s}function o(e){return"text"===e.type?e.value:e.children?e.children.map(o).join(""):""}function a(t={}){const n=t.wordsPerMinute||250;return t=>{let r=0;return e(t,"text",(e=>{r+=e.value.split(/\s+/).length})),Math.ceil(r/n)}}Object.defineProperty(exports,"__esModule",{value:!0});const c={};function l(e,t){const n=t||c;return u(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function u(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return h(e.children,t,n)}return Array.isArray(e)?h(e,t,n):""}function h(e,t,n){const r=[];let s=-1;for(;++s",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"​",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"â",acute:"´",acy:"а",aelig:"æ",af:"⁡",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacute:"í",ic:"⁣",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacute:"ó",oast:"⊛",ocir:"⊚",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslash:"ø",osol:"⊘",otilde:"õ",otimes:"⊗",otimesas:"⨶",ouml:"ö",ovbar:"⌽",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thorn:"þ",tilde:"˜",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},f={}.hasOwnProperty;function d(e){return!!f.call(p,e)&&p[e]}function m(e,t,n,r){const s=e.length;let i,o=0;if(t=t<0?-t>s?0:s+t:t>s?s:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);o0?(m(e,e.length,0,t),e):t}const g={}.hasOwnProperty;function T(e){const t={};let n=-1;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"�":String.fromCodePoint(n)}function b(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const k=x(/\p{P}/u),N=x(/[A-Za-z]/),S=x(/[\dA-Za-z]/),C=x(/[#-'*+\--9=?A-Z^-~]/);function I(e){return null!==e&&(e<32||127===e)}const O=x(/\d/),D=x(/[\dA-Fa-f]/),L=x(/[!-/:-@[-`{-~]/);function R(e){return null!==e&&e<-2}function v(e){return null!==e&&(e<0||32===e)}function w(e){return-2===e||-1===e||32===e}function M(e){return L(e)||k(e)}const P=x(/\s/);function x(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function B(e){const t=[];let n=-1,r=0,s=0;for(;++n55295&&i<57344){const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(o=String.fromCharCode(i,t),s=1):o="�"}else o=String.fromCharCode(i);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+s+1,o=""),s&&(n+=s,s=0)}return t.join("")+e.slice(r)}function F(e,t,n,r){const s=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){if(w(r))return e.enter(n),o(r);return t(r)};function o(r){return w(r)&&i++i))return;const n=t.events.length;let s,a,c=n;for(;c--;)if("exit"===t.events[c][0]&&"chunkFlow"===t.events[c][1].type){if(s){a=t.events[c][1].end;break}s=!0}for(T(o),e=n;er;){const r=n[s];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function A(){r.write([null]),s=void 0,r=void 0,t.containerState._closeFlow=void 0}}},G={tokenize:function(e,t,n){return F(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};function q(e){return null===e||v(e)||P(e)?1:M(e)?2:void 0}function Y(e,t,n){const r=[];let s=-1;for(;++s1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const h=Object.assign({},e[n][1].end),p=Object.assign({},e[u][1].start);z(h,-a),z(p,a),i={type:a>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},e[n][1].end)},o={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:p},s={type:a>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[u][1].start)},r={type:a>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},o.end)},e[n][1].end=Object.assign({},i.start),e[u][1].start=Object.assign({},o.end),c=[],e[n][1].end.offset-e[n][1].start.offset&&(c=E(c,[["enter",e[n][1],t],["exit",e[n][1],t]])),c=E(c,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",s,t]]),c=E(c,Y(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),c=E(c,[["exit",s,t],["enter",o,t],["exit",o,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(l=2,c=E(c,[["enter",e[u][1],t],["exit",e[u][1],t]])):l=0,m(e,n-1,u-n+3,c),u=n+c.length-l-2;break}u=-1;for(;++u=a?(e.exit("codeFencedFenceSequence"),w(t)?F(e,h,"whitespace")(t):h(t)):n(t)}function h(r){return null===r||R(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let i,o=0,a=0;return function(t){return function(t){const n=r.events[r.events.length-1];return o=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,i=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(t)}(t)};function c(t){return t===i?(a++,e.consume(t),c):a<3?n(t):(e.exit("codeFencedFenceSequence"),w(t)?F(e,l,"whitespace")(t):l(t))}function l(n){return null===n||R(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(X,f,T)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){return null===t||R(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(t)):w(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),F(e,h,"whitespace")(t)):96===t&&t===i?n(t):(e.consume(t),u)}function h(t){return null===t||R(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(t))}function p(t){return null===t||R(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(t)):96===t&&t===i?n(t):(e.consume(t),p)}function f(t){return e.attempt(s,T,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return o>0&&w(t)?F(e,E,"linePrefix",o+1)(t):E(t)}function E(t){return null===t||R(t)?e.check(X,f,T)(t):(e.enter("codeFlowValue"),g(t))}function g(t){return null===t||R(t)?(e.exit("codeFlowValue"),E(t)):(e.consume(t),g)}function T(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const Z={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),F(e,s,"linePrefix",5)(t)};function s(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?i(e):n(e)}function i(t){return null===t?a(t):R(t)?e.attempt(ee,i,a)(t):(e.enter("codeFlowValue"),o(t))}function o(t){return null===t||R(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),o)}function a(n){return e.exit("codeIndented"),t(n)}}},ee={tokenize:function(e,t,n){const r=this;return s;function s(t){return r.parser.lazy[r.now().line]?n(t):R(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):F(e,i,"linePrefix",5)(t)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):R(e)?s(e):n(e)}},partial:!0};const te={name:"codeText",tokenize:function(e,t,n){let r,s,i=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),o(t)};function o(t){return 96===t?(e.consume(t),i++,o):(e.exit("codeTextSequence"),a(t))}function a(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),a):96===t?(s=e.enter("codeTextSequence"),r=0,l(t)):R(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(e.enter("codeTextData"),c(t))}function c(t){return null===t||32===t||96===t||R(t)?(e.exit("codeTextData"),a(t)):(e.consume(t),c)}function l(n){return 96===n?(e.consume(n),r++,l):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(s.type="codeTextData",c(n))}},resolve:function(e){let t,n,r=e.length-4,s=3;if(!("lineEnding"!==e[s][1].type&&"space"!==e[s][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=s;++t=4?t(s):e.interrupt(r.parser.constructs.flow,n,t)(s)}},partial:!0};function oe(e,t,n,r,s,i,o,a,c){const l=c||Number.POSITIVE_INFINITY;let u=0;return function(t){if(60===t)return e.enter(r),e.enter(s),e.enter(i),e.consume(t),e.exit(i),h;if(null===t||32===t||41===t||I(t))return n(t);return e.enter(r),e.enter(o),e.enter(a),e.enter("chunkString",{contentType:"string"}),d(t)};function h(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(s),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(a),h(t)):null===t||60===t||R(t)?n(t):(e.consume(t),92===t?f:p)}function f(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function d(s){return u||null!==s&&41!==s&&!v(s)?u999||null===h||91===h||93===h&&!a||94===h&&!c&&"_hiddenFootnoteSupport"in o.parser.constructs?n(h):93===h?(e.exit(i),e.enter(s),e.consume(h),e.exit(s),e.exit(r),t):R(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),l):(e.enter("chunkString",{contentType:"string"}),u(h))}function u(t){return null===t||91===t||93===t||R(t)||c++>999?(e.exit("chunkString"),l(t)):(e.consume(t),a||(a=!w(t)),92===t?h:u)}function h(t){return 91===t||92===t||93===t?(e.consume(t),c++,u):u(t)}}function ce(e,t,n,r,s,i){let o;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(s),e.consume(t),e.exit(s),o=40===t?41:t,a;return n(t)};function a(n){return n===o?(e.enter(s),e.consume(n),e.exit(s),e.exit(r),t):(e.enter(i),c(n))}function c(t){return t===o?(e.exit(i),a(o)):null===t?n(t):R(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),F(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),l(t))}function l(t){return t===o||null===t||R(t)?(e.exit("chunkString"),c(t)):(e.consume(t),92===t?u:l)}function u(t){return t===o||92===t?(e.consume(t),l):l(t)}}function le(e,t){let n;return function r(s){if(R(s))return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),n=!0,r;if(w(s))return F(e,r,n?"linePrefix":"lineSuffix")(s);return t(s)}}const ue={name:"definition",tokenize:function(e,t,n){const r=this;let s;return function(t){return e.enter("definition"),function(t){return ae.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function i(t){return s=b(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o):n(t)}function o(t){return v(t)?le(e,a)(t):a(t)}function a(t){return oe(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function c(t){return e.attempt(he,l,l)(t)}function l(t){return w(t)?F(e,u,"whitespace")(t):u(t)}function u(i){return null===i||R(i)?(e.exit("definition"),r.parser.defined.push(s),t(i)):n(i)}}},he={tokenize:function(e,t,n){return function(t){return v(t)?le(e,r)(t):n(t)};function r(t){return ce(e,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function s(t){return w(t)?F(e,i,"whitespace")(t):i(t)}function i(e){return null===e||R(e)?t(e):n(e)}},partial:!0};const pe={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return R(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}};const fe={name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),s(t)}(t)};function s(t){return 35===t&&r++<6?(e.consume(t),s):null===t||v(t)?(e.exit("atxHeadingSequence"),i(t)):n(t)}function i(n){return 35===n?(e.enter("atxHeadingSequence"),o(n)):null===n||R(n)?(e.exit("atxHeading"),t(n)):w(n)?F(e,i,"whitespace")(n):(e.enter("atxHeadingText"),a(n))}function o(t){return 35===t?(e.consume(t),o):(e.exit("atxHeadingSequence"),i(t))}function a(t){return null===t||35===t||v(t)?(e.exit("atxHeadingText"),i(t)):(e.consume(t),a)}},resolve:function(e,t){let n,r,s=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);s-2>i&&"whitespace"===e[s][1].type&&(s-=2);"atxHeadingSequence"===e[s][1].type&&(i===s-1||s-4>i&&"whitespace"===e[s-2][1].type)&&(s-=i+1===s?2:4);s>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[s][1].end},r={type:"chunkText",start:e[i][1].start,end:e[s][1].end,contentType:"text"},m(e,i,s-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const de=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],me=["pre","script","style","textarea"],Ee={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let s,i,o,a,c;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),l}(t)};function l(a){return 33===a?(e.consume(a),u):47===a?(e.consume(a),i=!0,f):63===a?(e.consume(a),s=3,r.interrupt?t:U):N(a)?(e.consume(a),o=String.fromCharCode(a),d):n(a)}function u(i){return 45===i?(e.consume(i),s=2,h):91===i?(e.consume(i),s=5,a=0,p):N(i)?(e.consume(i),s=4,r.interrupt?t:U):n(i)}function h(s){return 45===s?(e.consume(s),r.interrupt?t:U):n(s)}function p(s){const i="CDATA[";return s===i.charCodeAt(a++)?(e.consume(s),6===a?r.interrupt?t:O:p):n(s)}function f(t){return N(t)?(e.consume(t),o=String.fromCharCode(t),d):n(t)}function d(a){if(null===a||47===a||62===a||v(a)){const c=47===a,l=o.toLowerCase();return c||i||!me.includes(l)?de.includes(o.toLowerCase())?(s=6,c?(e.consume(a),m):r.interrupt?t(a):O(a)):(s=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(a):i?E(a):g(a)):(s=1,r.interrupt?t(a):O(a))}return 45===a||S(a)?(e.consume(a),o+=String.fromCharCode(a),d):n(a)}function m(s){return 62===s?(e.consume(s),r.interrupt?t:O):n(s)}function E(t){return w(t)?(e.consume(t),E):C(t)}function g(t){return 47===t?(e.consume(t),C):58===t||95===t||N(t)?(e.consume(t),T):w(t)?(e.consume(t),g):C(t)}function T(t){return 45===t||46===t||58===t||95===t||S(t)?(e.consume(t),T):A(t)}function A(t){return 61===t?(e.consume(t),_):w(t)?(e.consume(t),A):g(t)}function _(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),c=t,y):w(t)?(e.consume(t),_):b(t)}function y(t){return t===c?(e.consume(t),c=null,k):null===t||R(t)?n(t):(e.consume(t),y)}function b(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||v(t)?A(t):(e.consume(t),b)}function k(e){return 47===e||62===e||w(e)?g(e):n(e)}function C(t){return 62===t?(e.consume(t),I):n(t)}function I(t){return null===t||R(t)?O(t):w(t)?(e.consume(t),I):n(t)}function O(t){return 45===t&&2===s?(e.consume(t),P):60===t&&1===s?(e.consume(t),x):62===t&&4===s?(e.consume(t),H):63===t&&3===s?(e.consume(t),U):93===t&&5===s?(e.consume(t),F):!R(t)||6!==s&&7!==s?null===t||R(t)?(e.exit("htmlFlowData"),D(t)):(e.consume(t),O):(e.exit("htmlFlowData"),e.check(ge,G,D)(t))}function D(t){return e.check(Te,L,G)(t)}function L(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),M}function M(t){return null===t||R(t)?D(t):(e.enter("htmlFlowData"),O(t))}function P(t){return 45===t?(e.consume(t),U):O(t)}function x(t){return 47===t?(e.consume(t),o="",B):O(t)}function B(t){if(62===t){const n=o.toLowerCase();return me.includes(n)?(e.consume(t),H):O(t)}return N(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),B):O(t)}function F(t){return 93===t?(e.consume(t),U):O(t)}function U(t){return 62===t?(e.consume(t),H):45===t&&2===s?(e.consume(t),U):O(t)}function H(t){return null===t||R(t)?(e.exit("htmlFlowData"),G(t)):(e.consume(t),H)}function G(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},ge={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(K,t,n)}},partial:!0},Te={tokenize:function(e,t,n){const r=this;return function(t){if(R(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s;return n(t)};function s(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0};const Ae={name:"htmlText",tokenize:function(e,t,n){const r=this;let s,i,o;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),a};function a(t){return 33===t?(e.consume(t),c):47===t?(e.consume(t),_):63===t?(e.consume(t),T):N(t)?(e.consume(t),k):n(t)}function c(t){return 45===t?(e.consume(t),l):91===t?(e.consume(t),i=0,f):N(t)?(e.consume(t),g):n(t)}function l(t){return 45===t?(e.consume(t),p):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),h):R(t)?(o=u,B(t)):(e.consume(t),u)}function h(t){return 45===t?(e.consume(t),p):u(t)}function p(e){return 62===e?x(e):45===e?h(e):u(e)}function f(t){const r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),6===i?d:f):n(t)}function d(t){return null===t?n(t):93===t?(e.consume(t),m):R(t)?(o=d,B(t)):(e.consume(t),d)}function m(t){return 93===t?(e.consume(t),E):d(t)}function E(t){return 62===t?x(t):93===t?(e.consume(t),E):d(t)}function g(t){return null===t||62===t?x(t):R(t)?(o=g,B(t)):(e.consume(t),g)}function T(t){return null===t?n(t):63===t?(e.consume(t),A):R(t)?(o=T,B(t)):(e.consume(t),T)}function A(e){return 62===e?x(e):T(e)}function _(t){return N(t)?(e.consume(t),y):n(t)}function y(t){return 45===t||S(t)?(e.consume(t),y):b(t)}function b(t){return R(t)?(o=b,B(t)):w(t)?(e.consume(t),b):x(t)}function k(t){return 45===t||S(t)?(e.consume(t),k):47===t||62===t||v(t)?C(t):n(t)}function C(t){return 47===t?(e.consume(t),x):58===t||95===t||N(t)?(e.consume(t),I):R(t)?(o=C,B(t)):w(t)?(e.consume(t),C):x(t)}function I(t){return 45===t||46===t||58===t||95===t||S(t)?(e.consume(t),I):O(t)}function O(t){return 61===t?(e.consume(t),D):R(t)?(o=O,B(t)):w(t)?(e.consume(t),O):C(t)}function D(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,L):R(t)?(o=D,B(t)):w(t)?(e.consume(t),D):(e.consume(t),M)}function L(t){return t===s?(e.consume(t),s=void 0,P):null===t?n(t):R(t)?(o=L,B(t)):(e.consume(t),L)}function M(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||v(t)?C(t):(e.consume(t),M)}function P(e){return 47===e||62===e||v(e)?C(e):n(e)}function x(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function B(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),U}function U(t){return w(t)?F(e,H,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):H(t)}function H(t){return e.enter("htmlTextData"),o(t)}}};const _e={name:"labelEnd",tokenize:function(e,t,n){const r=this;let s,i,o=r.events.length;for(;o--;)if(("labelImage"===r.events[o][1].type||"labelLink"===r.events[o][1].type)&&!r.events[o][1]._balanced){s=r.events[o][1];break}return function(t){if(!s)return n(t);if(s._inactive)return u(t);return i=r.parser.defined.includes(b(r.sliceSerialize({start:s.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),a};function a(t){return 40===t?e.attempt(ye,l,i?l:u)(t):91===t?e.attempt(be,l,i?c:u)(t):i?l(t):u(t)}function c(t){return e.attempt(ke,l,u)(t)}function l(e){return t(e)}function u(e){return s._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,s,i,o=e.length,a=0;for(;o--;)if(n=e[o][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[o][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(s){if("enter"===e[o][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=o,"labelLink"!==n.type)){a=2;break}}else"labelEnd"===n.type&&(s=o);const c={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},l={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[s][1].end)},u={type:"labelText",start:Object.assign({},e[r+a+2][1].end),end:Object.assign({},e[s-2][1].start)};return i=[["enter",c,t],["enter",l,t]],i=E(i,e.slice(r+1,r+a+3)),i=E(i,[["enter",u,t]]),i=E(i,Y(t.parser.constructs.insideSpan.null,e.slice(r+a+4,s-3),t)),i=E(i,[["exit",u,t],e[s-2],e[s-1],["exit",l,t]]),i=E(i,e.slice(s+1)),i=E(i,[["exit",c,t]]),m(e,r,e.length,i),e},resolveAll:function(e){let t=-1;for(;++t=3&&(null===i||R(i))?(e.exit("thematicBreak"),t(i)):n(i)}function o(t){return t===r?(e.consume(t),s++,o):(e.exit("thematicBreakSequence"),w(t)?F(e,i,"whitespace")(t):i(t))}}};const Oe={name:"list",tokenize:function(e,t,n){const r=this,s=r.events[r.events.length-1];let i=s&&"linePrefix"===s[1].type?s[2].sliceSerialize(s[1],!0).length:0,o=0;return function(t){const s=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===s?!r.containerState.marker||t===r.containerState.marker:O(t)){if(r.containerState.type||(r.containerState.type=s,e.enter(s,{_container:!0})),"listUnordered"===s)return e.enter("listItemPrefix"),42===t||45===t?e.check(Ie,n,c)(t):c(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(t)}return n(t)};function a(t){return O(t)&&++o<10?(e.consume(t),a):(!r.interrupt||o<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),c(t)):n(t)}function c(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(K,r.interrupt?n:l,e.attempt(De,h,u))}function l(e){return r.containerState.initialBlankLine=!0,i++,h(e)}function u(t){return w(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),h):n(t)}function h(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(K,s,i);function s(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,F(e,t,"listItemIndent",r.containerState.size+1)(n)}function i(n){return r.containerState.furtherBlankLines||!w(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Le,t,o)(n))}function o(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,F(e,e.attempt(Oe,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}},exit:function(e){e.exit(this.containerState.type)}},De={tokenize:function(e,t,n){const r=this;return F(e,(function(e){const s=r.events[r.events.length-1];return!w(e)&&s&&"listItemPrefixWhitespace"===s[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},Le={tokenize:function(e,t,n){const r=this;return F(e,(function(e){const s=r.events[r.events.length-1];return s&&"listItemIndent"===s[1].type&&s[2].sliceSerialize(s[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};const Re={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let s;return function(t){let o,a=r.events.length;for(;a--;)if("lineEnding"!==r.events[a][1].type&&"linePrefix"!==r.events[a][1].type&&"content"!==r.events[a][1].type){o="paragraph"===r.events[a][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||o))return e.enter("setextHeadingLine"),s=t,function(t){return e.enter("setextHeadingLineSequence"),i(t)}(t);return n(t)};function i(t){return t===s?(e.consume(t),i):(e.exit("setextHeadingLineSequence"),w(t)?F(e,o,"lineSuffix")(t):o(t))}function o(r){return null===r||R(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,s,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),s||"definition"!==e[i][1].type||(s=i);const o={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",s?(e.splice(r,0,["enter",o,t]),e.splice(s+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[s][1].end)):e[n][1]=o;return e.push(["exit",o,t]),e}};const ve={tokenize:function(e){const t=this,n=e.attempt(K,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,F(e,e.attempt(this.parser.constructs.flow,r,e.attempt(se,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const we={resolveAll:Be()},Me=xe("string"),Pe=xe("text");function xe(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],s=t.attempt(r,i,o);return i;function i(e){return c(e)?s(e):o(e)}function o(e){if(null!==e)return t.enter("data"),t.consume(e),a;t.consume(e)}function a(e){return c(e)?(t.exit("data"),s(e)):(t.consume(e),a)}function c(e){if(null===e)return!0;const t=r[e];let s=-1;if(t)for(;++s-1){const e=o[0];"string"==typeof e?o[0]=e.slice(r):o.shift()}i>0&&o.push(e[s].slice(0,i))}return o}(o,e)}function p(){const{line:e,column:t,offset:n,_index:s,_bufferIndex:i}=r;return{line:e,column:t,offset:n,_index:s,_bufferIndex:i}}function f(){let e;for(;r._index0){const e=i.tokenStack[i.tokenStack.length-1];(e[1]||at).call(i,void 0,e[0])}for(r.position={start:st(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:st(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},l=-1;++l"+(n?"":" ")+e}function mt(e,t){return Et(e,t.inConstruct,!0)&&!Et(e,t.notInConstruct,!1)}function Et(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r":"")+")"})}return u;function u(){let l,u,h,p=St;if((!t||i(s,a,c[c.length-1]||void 0))&&(p=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[Ct,e];return null==e?St:[e]}(n(s,c)),p[0]===It))return p;if("children"in s&&s.children){const t=s;if(t.children&&p[0]!==Ot)for(u=(r?t.children.length:-1)+o,h=c.concat(t);u>-1&&u",...c.current()})),l+=c.move(">")):(a=n.enter("destinationRaw"),l+=c.move(n.safe(e.url,{before:l,after:e.title?" ":")",...c.current()}))),a(),e.title&&(a=n.enter(`title${i}`),l+=c.move(" "+s),l+=c.move(n.safe(e.title,{before:l,after:s,...c.current()})),l+=c.move(s),a()),l+=c.move(")"),o(),l}function Mt(e,t,n,r){const s=e.referenceType,i=n.enter("imageReference");let o=n.enter("label");const a=n.createTracker(r);let c=a.move("![");const l=n.safe(e.alt,{before:c,after:"]",...a.current()});c+=a.move(l+"]["),o();const u=n.stack;n.stack=[],o=n.enter("reference");const h=n.safe(n.associationId(e),{before:c,after:"]",...a.current()});return o(),n.stack=u,i(),"full"!==s&&l&&l===h?"shortcut"===s?c=c.slice(0,-1):c+=a.move("]"):c+=a.move(h+"]"),c}function Pt(e,t,n){let r=e.value||"",s="`",i=-1;for(;new RegExp("(^|[^`])"+s+"([^`]|$)").test(r);)s+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function Bt(e,t,n,r){const s=_t(n),i='"'===s?"Quote":"Apostrophe",o=n.createTracker(r);let a,c;if(xt(e,n)){const t=n.stack;n.stack=[],a=n.enter("autolink");let r=o.move("<");return r+=o.move(n.containerPhrasing(e,{before:r,after:">",...o.current()})),r+=o.move(">"),a(),n.stack=t,r}a=n.enter("link"),c=n.enter("label");let l=o.move("[");return l+=o.move(n.containerPhrasing(e,{before:l,after:"](",...o.current()})),l+=o.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),l+=o.move("<"),l+=o.move(n.safe(e.url,{before:l,after:">",...o.current()})),l+=o.move(">")):(c=n.enter("destinationRaw"),l+=o.move(n.safe(e.url,{before:l,after:e.title?" ":")",...o.current()}))),c(),e.title&&(c=n.enter(`title${i}`),l+=o.move(" "+s),l+=o.move(n.safe(e.title,{before:l,after:s,...o.current()})),l+=o.move(s),c()),l+=o.move(")"),a(),l}function Ft(e,t,n,r){const s=e.referenceType,i=n.enter("linkReference");let o=n.enter("label");const a=n.createTracker(r);let c=a.move("[");const l=n.containerPhrasing(e,{before:c,after:"]",...a.current()});c+=a.move(l+"]["),o();const u=n.stack;n.stack=[],o=n.enter("reference");const h=n.safe(n.associationId(e),{before:c,after:"]",...a.current()});return o(),n.stack=u,i(),"full"!==s&&l&&l===h?"shortcut"===s?c=c.slice(0,-1):c+=a.move("]"):c+=a.move(h+"]"),c}function Ut(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function Ht(e){const t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}vt.peek=function(){return"<"},wt.peek=function(){return"!"},Mt.peek=function(){return"!"},Pt.peek=function(){return"`"},Bt.peek=function(e,t,n){return xt(e,n)?"<":"["},Ft.peek=function(){return"["};const Gt=bt(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);function qt(e,t,n,r){const s=function(e){const t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r);let a=o.move(s+s);return a+=o.move(n.containerPhrasing(e,{before:a,after:s,...o.current()})),a+=o.move(s+s),i(),a}qt.peek=function(e,t,n){return n.options.strong||"*"};const Yt={blockquote:function(e,t,n,r){const s=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);const o=n.indentLines(n.containerFlow(e,i.current()),dt);return s(),o},break:gt,code:function(e,t,n,r){const s=function(e){const t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===s?"GraveAccent":"Tilde";if(Tt(e,n)){const e=n.enter("codeIndented"),t=n.indentLines(i,At);return e(),t}const a=n.createTracker(r),c=s.repeat(Math.max(function(e,t){const n=String(e);let r=n.indexOf(t),s=r,i=0,o=0;if("string"!=typeof t)throw new TypeError("Expected substring");for(;-1!==r;)r===s?++i>o&&(o=i):i=1,s=r+t.length,r=n.indexOf(t,s);return o}(i,s)+1,3)),l=n.enter("codeFenced");let u=a.move(c);if(e.lang){const t=n.enter(`codeFencedLang${o}`);u+=a.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...a.current()})),t()}if(e.lang&&e.meta){const t=n.enter(`codeFencedMeta${o}`);u+=a.move(" "),u+=a.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...a.current()})),t()}return u+=a.move("\n"),i&&(u+=a.move(i+"\n")),u+=a.move(c),l(),u},definition:function(e,t,n,r){const s=_t(n),i='"'===s?"Quote":"Apostrophe",o=n.enter("definition");let a=n.enter("label");const c=n.createTracker(r);let l=c.move("[");return l+=c.move(n.safe(n.associationId(e),{before:l,after:"]",...c.current()})),l+=c.move("]: "),a(),!e.url||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),l+=c.move("<"),l+=c.move(n.safe(e.url,{before:l,after:">",...c.current()})),l+=c.move(">")):(a=n.enter("destinationRaw"),l+=c.move(n.safe(e.url,{before:l,after:e.title?" ":"\n",...c.current()}))),a(),e.title&&(a=n.enter(`title${i}`),l+=c.move(" "+s),l+=c.move(n.safe(e.title,{before:l,after:s,...c.current()})),l+=c.move(s),a()),o(),l},emphasis:yt,hardBreak:gt,heading:function(e,t,n,r){const s=Math.max(Math.min(6,e.depth||1),1),i=n.createTracker(r);if(Rt(e,n)){const t=n.enter("headingSetext"),r=n.enter("phrasing"),o=n.containerPhrasing(e,{...i.current(),before:"\n",after:"\n"});return r(),t(),o+"\n"+(1===s?"=":"-").repeat(o.length-(Math.max(o.lastIndexOf("\r"),o.lastIndexOf("\n"))+1))}const o="#".repeat(s),a=n.enter("headingAtx"),c=n.enter("phrasing");i.move(o+" ");let l=n.containerPhrasing(e,{before:"# ",after:"\n",...i.current()});return/^[\t ]/.test(l)&&(l="&#x"+l.charCodeAt(0).toString(16).toUpperCase()+";"+l.slice(1)),l=l?o+" "+l:o,n.options.closeAtx&&(l+=" "+o),c(),a(),l},html:vt,image:wt,imageReference:Mt,inlineCode:Pt,link:Bt,linkReference:Ft,list:function(e,t,n,r){const s=n.enter("list"),i=n.bulletCurrent;let o=e.ordered?function(e){const t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):Ut(n);const a=e.ordered?"."===o?")":".":function(e){const t=Ut(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n);let c=!(!t||!n.bulletLastUsed)&&o===n.bulletLastUsed;if(!e.ordered){const t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(c=!0),Ht(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===s||"mixed"===s&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));const a=n.createTracker(r);a.move(i+" ".repeat(o-i.length)),a.shift(o);const c=n.enter("listItem"),l=n.indentLines(n.containerFlow(e,a.current()),(function(e,t,n){if(t)return(n?"":" ".repeat(o))+e;return(n?i:i+" ".repeat(o-i.length))+e}));return c(),l},paragraph:function(e,t,n,r){const s=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),s(),o},root:function(e,t,n,r){return(e.children.some((function(e){return Gt(e)}))?n.containerPhrasing:n.containerFlow).call(n,e,r)},strong:qt,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){const r=(Ht(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}},jt=[function(e,t,n,r){if("code"===t.type&&Tt(t,r)&&("list"===e.type||e.type===t.type&&Tt(e,r)))return!1;if("spread"in n&&"boolean"==typeof n.spread){if("paragraph"===e.type&&(e.type===t.type||"definition"===t.type||"heading"===t.type&&Rt(t,r)))return;return n.spread?1:0}}];const zt=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],Vt=[{character:"\t",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",before:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\n",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:zt},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:zt},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:"(?:[ \t\r\n*])"},{character:"*",inConstruct:"phrasing",notInConstruct:zt},{atBreak:!0,character:"+",after:"(?:[ \t\r\n])"},{atBreak:!0,character:"-",after:"(?:[ \t\r\n-])"},{atBreak:!0,before:"\\d+",character:".",after:"(?:[ \t\r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:zt},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:zt},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:zt},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:zt},{atBreak:!0,character:"~"}];function Kt(e){return e.label||!e.identifier?e.label||"":We(e.identifier)}function $t(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function Qt(e,t,n,r){let s=r.join.length;for(;s--;){const i=r.join[s](e,t,n,r);if(!0===i||1===i)break;if("number"==typeof i)return"\n".repeat(1+i);if(!1===i)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}const Wt=/\r?\n|\r/g;function Xt(e,t){const n=[];let r,s=0,i=0;for(;r=Wt.exec(e);)o(e.slice(s,r.index)),n.push(r[0]),s=r.index+r[0].length,i++;return o(e.slice(s)),n.join("");function o(e){n.push(t(e,i,!e))}}function Jt(e,t){return e-t}function Zt(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],s=[],i=e+t;let o,a=-1,c=0;for(;o=n.exec(i);)r.push(o.index);for(;++a0&&("\r"===a||"\n"===a)&&"html"===l.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),a=" ",c=t.createTracker(n),c.move(i.join(""))),i.push(c.move(t.handle(l,e,t,{...c.current(),before:a,after:u}))),a=i[i.length-1].slice(-1)}return r.pop(),i.join("")}(e,this,t)}function an(e,t){return function(e,t,n){const r=t.indexStack,s=e.children||[],i=t.createTracker(n),o=[];let a=-1;for(r.push(-1);++a=l||e+1t.length;let o;r&&t.push(s);try{o=e.apply(this,t)}catch(e){if(r&&n)throw e;return s(e)}r||(o instanceof Promise?o.then(i,s):o instanceof Error?s(o):i(o))}function s(e,...r){n||(n=!0,t(e,...r))}function i(e){s(null,e)}}(a,s)(...o):r(null,...o)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}class bn extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",s={},i=!1;if(t&&(s="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!s.cause&&e&&(i=!0,r=e.message,s.cause=e),!s.ruleId&&!s.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?s.ruleId=n:(s.source=n.slice(0,e),s.ruleId=n.slice(e+1))}if(!s.place&&s.ancestors&&s.ancestors){const e=s.ancestors[s.ancestors.length-1];e&&(s.place=e.position)}const o=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=o?o.line:void 0,this.name=Je(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=i&&s.cause&&"string"==typeof s.cause.stack?s.cause.stack:"",this.actual,this.expected,this.note,this.url}}bn.prototype.file="",bn.prototype.name="",bn.prototype.reason="",bn.prototype.message="",bn.prototype.stack="",bn.prototype.column=void 0,bn.prototype.line=void 0,bn.prototype.ancestors=void 0,bn.prototype.cause=void 0,bn.prototype.fatal=void 0,bn.prototype.place=void 0,bn.prototype.ruleId=void 0,bn.prototype.source=void 0;const kn={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');Nn(e);let n,r=0,s=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else s<0&&(n=!0,s=i+1);return s<0?"":e.slice(r,s)}if(t===e)return"";let o=-1,a=t.length-1;for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(s=i):(a=-1,s=o));r===s?s=o:s<0&&(s=e.length);return e.slice(r,s)},dirname:function(e){if(Nn(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){Nn(e);let t,n=e.length,r=-1,s=0,i=-1,o=0;for(;n--;){const a=e.codePointAt(n);if(47!==a)r<0&&(t=!0,r=n+1),46===a?i<0?i=n:1!==o&&(o=1):i>-1&&(o=-1);else if(t){s=n+1;break}}if(i<0||r<0||0===o||1===o&&i===r-1&&i===s+1)return"";return e.slice(i,r)},join:function(...e){let t,n=-1;for(;++n2){if(r=s.lastIndexOf("/"),r!==s.length-1){r<0?(s="",i=0):(s=s.slice(0,r),i=s.length-1-s.lastIndexOf("/")),o=c,a=0;continue}}else if(s.length>0){s="",i=0,o=c,a=0;continue}t&&(s=s.length>0?s+"/..":"..",i=2)}else s.length>0?s+="/"+e.slice(o+1,c):s=e.slice(o+1,c),i=c-o-1;o=c,a=0}else 46===n&&a>-1?a++:a=-1}return s}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/");return t?"/"+n:n}(t)},sep:"/"};function Nn(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Sn={cwd:function(){return"/"}};function Cn(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function In(e){if("string"==typeof e)e=new URL(e);else if(!Cn(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n0){let[r,...i]=t;const o=n[s][1];_n(o)&&_n(r)&&(r=An(!0,o,r)),n[s]=[e,r,...i]}}}}function xn(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function Bn(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function Fn(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Un(e){if(!_n(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function Hn(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Gn(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new Dn(e)}const qn=(new Pn).freeze()().use((function(e){const t=this;t.parser=function(n){return rt(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}})).use((function(e){const t=this;t.compiler=function(n){return tn(n,{...t.data("settings"),...e,extensions:t.data("toMarkdownExtensions")||[]})}})).freeze(),Yn="object"==typeof self?self:globalThis,jn=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=s=>{if(e.has(s))return e.get(s);const[i,o]=t[s];switch(i){case 0:case-1:return n(o,s);case 1:{const e=n([],s);for(const t of o)e.push(r(t));return e}case 2:{const e=n({},s);for(const[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),s);case 4:{const{source:e,flags:t}=o;return n(new RegExp(e,t),s)}case 5:{const e=n(new Map,s);for(const[t,n]of o)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,s);for(const t of o)e.add(r(t));return e}case 7:{const{name:e,message:t}=o;return n(new Yn[e](t),s)}case 8:return n(BigInt(o),s);case"BigInt":return n(Object(BigInt(o)),s)}return n(new Yn[i](o),s)};return r})(new Map,e)(0),zn="",{toString:Vn}={},{keys:Kn}=Object,$n=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=Vn.call(e).slice(8,-1);switch(n){case"Array":return[1,zn];case"Object":return[2,zn];case"Date":return[3,zn];case"RegExp":return[4,zn];case"Map":return[5,zn];case"Set":return[6,zn]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},Qn=([e,t])=>0===e&&("function"===t||"symbol"===t),Wn=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const s=(e,t)=>{const s=r.push(e)-1;return n.set(t,s),s},i=r=>{if(n.has(r))return n.get(r);let[o,a]=$n(r);switch(o){case 0:{let t=r;switch(a){case"bigint":o=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+a);t=null;break;case"undefined":return s([-1],r)}return s([o,t],r)}case 1:{if(a)return s([a,[...r]],r);const e=[],t=s([o,e],r);for(const t of r)e.push(i(t));return t}case 2:{if(a)switch(a){case"BigInt":return s([a,r.toString()],r);case"Boolean":case"Number":case"String":return s([a,r.valueOf()],r)}if(t&&"toJSON"in r)return i(r.toJSON());const n=[],c=s([o,n],r);for(const t of Kn(r))!e&&Qn($n(r[t]))||n.push([i(t),i(r[t])]);return c}case 3:return s([o,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return s([o,{source:e,flags:t}],r)}case 5:{const t=[],n=s([o,t],r);for(const[n,s]of r)(e||!Qn($n(n))&&!Qn($n(s)))&&t.push([i(n),i(s)]);return n}case 6:{const t=[],n=s([o,t],r);for(const n of r)!e&&Qn($n(n))||t.push(i(n));return n}}const{message:c}=r;return s([o,{name:a,message:c}],r)};return i})(!(t||n),!!t,new Map,r)(e),r};var Xn="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?jn(Wn(e,t)):structuredClone(e):(e,t)=>jn(Wn(e,t));const Jn=er("end"),Zn=er("start");function er(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function tr(e){const t=Zn(e),n=Jn(e);if(t&&n)return{start:t,end:n}}const nr=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],rr={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...nr,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...nr],h2:[["className","sr-only"]],img:[...nr,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...nr,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...nr],table:[...nr],ul:[...nr,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]},sr={}.hasOwnProperty;function ir(e,t){if(t&&"object"==typeof t){const n=t;switch("string"==typeof n.type?n.type:""){case"comment":return function(e,t){if(e.schema.allowComments){const e="string"==typeof t.value?t.value:"",n=e.indexOf("--\x3e"),r={type:"comment",value:n<0?e:e.slice(0,n)};return lr(r,t),r}}(e,n);case"doctype":return function(e,t){if(e.schema.allowDoctypes){const e={type:"doctype"};return lr(e,t),e}}(e,n);case"element":return function(e,t){const n="string"==typeof t.tagName?t.tagName:"";e.stack.push(n);const r=or(e,t.children),s=function(e,t){const n=e.stack[e.stack.length-1],r=e.schema.attributes,s=e.schema.required,i=r&&sr.call(r,n)?r[n]:void 0,o=r&&sr.call(r,"*")?r["*"]:void 0,a=t&&"object"==typeof t?t:{},c={};let l;for(l in a)if(sr.call(a,l)){const t=a[l];let n=ar(e,ur(i,l),l,t);null==n&&(n=ar(e,ur(o,l),l,t)),null!=n&&(c[l]=n)}if(s&&sr.call(s,n)){const e=s[n];for(l in e)sr.call(e,l)&&!sr.call(c,l)&&(c[l]=e[l])}return c}(e,t.properties);e.stack.pop();let i=!1;if(n&&"*"!==n&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(i=!0,e.schema.ancestors&&sr.call(e.schema.ancestors,n))){const t=e.schema.ancestors[n];let r=-1;for(i=!1;++r-1&&i>c||o>-1&&i>o||a>-1&&i>a)return!0;let l=-1;for(;++l1){let e=!1,n=0;for(;++n4&&"data"===t.slice(0,4).toLowerCase())return n}function hr(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];const s=e.all(t),i=s[0];i&&"text"===i.type?i.value="["+i.value:s.unshift({type:"text",value:"["});const o=s[s.length-1];return o&&"text"===o.type?o.value+=r:s.push({type:"text",value:r}),s}function pr(e){const t=e.spread;return null==t?e.children.length>1:t}const fr=9,dr=32;function mr(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),s=0;const i=[];for(;r;)i.push(Er(t.slice(s,r.index),s>0,!0),r[0]),s=r.index+r[0].length,r=n.exec(t);return i.push(Er(t.slice(s),s>0,!1)),i.join("")}function Er(e,t,n){let r=0,s=e.length;if(t){let t=e.codePointAt(r);for(;t===fr||t===dr;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(s-1);for(;t===fr||t===dr;)s--,t=e.codePointAt(s-1)}return s>r?e.slice(r,s):""}const gr={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let s={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(s.data={meta:t.meta}),e.patch(t,s),s=e.applyData(t,s),s={type:"element",tagName:"pre",properties:{},children:[s]},e.patch(t,s),s},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),s=B(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let o,a=e.footnoteCounts.get(r);void 0===a?(a=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=i+1,a+=1,e.footnoteCounts.set(r,a);const c={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+s,id:n+"fnref-"+s+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,c);const l={type:"element",tagName:"sup",properties:{},children:[c]};return e.patch(t,l),e.applyData(t,l)},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return hr(e,t);const s={src:B(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(s.title=r.title);const i={type:"element",tagName:"img",properties:s,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const n={src:B(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return hr(e,t);const s={href:B(r.url||"")};null!==r.title&&void 0!==r.title&&(s.title=r.title);const i={type:"element",tagName:"a",properties:s,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const n={href:B(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),s=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let a=-1;for(;++a0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=Zn(t.children[1]),o=Jn(t.children[t.children.length-1]);i&&o&&(r.position={start:i,end:o}),s.push(r)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(s,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,s=0===(r?r.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,o=i?i.length:t.children.length;let a=-1;const c=[];for(;++a1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function _r(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const yr={}.hasOwnProperty,br={};function kr(e,t){e.position&&(t.position=tr(e))}function Nr(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,s=e.data.hProperties;if("string"==typeof t)if("element"===n.type)n.tagName=t;else{n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}}"element"===n.type&&s&&Object.assign(n.properties,Xn(s)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function Sr(e,t){const n=t.data||{},r=!("value"in t)||yr.call(n,"hProperties")||yr.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}function Cr(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:"\n"});++r0&&n.push({type:"text",value:"\n"}),n}function Ir(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function Or(e,t){const n=function(e,t){const n=t||br,r=new Map,s=new Map,i=new Map,o={...gr,...n.handlers},a={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r0&&h.push({type:"text",value:" "});let e="string"==typeof n?n:n(c,u);"string"==typeof e&&(e={type:"text",value:e}),h.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+l+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(c,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const f=i[i.length-1];if(f&&"element"===f.type&&"p"===f.tagName){const e=f.children[f.children.length-1];e&&"text"===e.type?e.value+=" ":f.children.push({type:"text",value:" "}),f.children.push(...h)}else i.push(...h);const d={type:"element",tagName:"li",properties:{id:t+"fn-"+l},children:e.wrap(i,!0)};e.patch(s,d),a.push(d)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Xn(o),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:"\n"}]}}(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return s&&i.children.push({type:"text",value:"\n"},s),i}const Dr=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class Lr{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function Rr(e,t){const n={},r={};let s=-1;for(;++s"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Wr=$r({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Xr(e,t){return t in e?e[t]:t}function Jr(e,t){return Xr(e,t.toLowerCase())}const Zr=$r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Jr,properties:{xmlns:null,xmlnsXLink:null}}),es=$r({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:xr,ariaAutoComplete:null,ariaBusy:xr,ariaChecked:xr,ariaColCount:Fr,ariaColIndex:Fr,ariaColSpan:Fr,ariaControls:Ur,ariaCurrent:null,ariaDescribedBy:Ur,ariaDetails:null,ariaDisabled:xr,ariaDropEffect:Ur,ariaErrorMessage:null,ariaExpanded:xr,ariaFlowTo:Ur,ariaGrabbed:xr,ariaHasPopup:null,ariaHidden:xr,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ur,ariaLevel:Fr,ariaLive:null,ariaModal:xr,ariaMultiLine:xr,ariaMultiSelectable:xr,ariaOrientation:null,ariaOwns:Ur,ariaPlaceholder:null,ariaPosInSet:Fr,ariaPressed:xr,ariaReadOnly:xr,ariaRelevant:null,ariaRequired:xr,ariaRoleDescription:Ur,ariaRowCount:Fr,ariaRowIndex:Fr,ariaRowSpan:Fr,ariaSelected:xr,ariaSetSize:Fr,ariaSort:null,ariaValueMax:Fr,ariaValueMin:Fr,ariaValueNow:Fr,ariaValueText:null,role:null}}),ts=$r({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Jr,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Hr,acceptCharset:Ur,accessKey:Ur,action:null,allow:null,allowFullScreen:Pr,allowPaymentRequest:Pr,allowUserMedia:Pr,alt:null,as:null,async:Pr,autoCapitalize:null,autoComplete:Ur,autoFocus:Pr,autoPlay:Pr,blocking:Ur,capture:Pr,charSet:null,checked:Pr,cite:null,className:Ur,cols:Fr,colSpan:null,content:null,contentEditable:xr,controls:Pr,controlsList:Ur,coords:Fr|Hr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Pr,defer:Pr,dir:null,dirName:null,disabled:Pr,download:Br,draggable:xr,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Pr,formTarget:null,headers:Ur,height:Fr,hidden:Pr,high:Fr,href:null,hrefLang:null,htmlFor:Ur,httpEquiv:Ur,id:null,imageSizes:null,imageSrcSet:null,inert:Pr,inputMode:null,integrity:null,is:null,isMap:Pr,itemId:null,itemProp:Ur,itemRef:Ur,itemScope:Pr,itemType:Ur,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Pr,low:Fr,manifest:null,max:null,maxLength:Fr,media:null,method:null,min:null,minLength:Fr,multiple:Pr,muted:Pr,name:null,nonce:null,noModule:Pr,noValidate:Pr,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:Pr,optimum:Fr,pattern:null,ping:Ur,placeholder:null,playsInline:Pr,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Pr,referrerPolicy:null,rel:Ur,required:Pr,reversed:Pr,rows:Fr,rowSpan:Fr,sandbox:Ur,scope:null,scoped:Pr,seamless:Pr,selected:Pr,shadowRootDelegatesFocus:Pr,shadowRootMode:null,shape:null,size:Fr,sizes:null,slot:null,span:Fr,spellCheck:xr,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Fr,step:null,style:null,tabIndex:Fr,target:null,title:null,translate:null,type:null,typeMustMatch:Pr,useMap:null,value:xr,width:Fr,wrap:null,align:null,aLink:null,archive:Ur,axis:null,background:null,bgColor:null,border:Fr,borderColor:null,bottomMargin:Fr,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Pr,declare:Pr,event:null,face:null,frame:null,frameBorder:null,hSpace:Fr,leftMargin:Fr,link:null,longDesc:null,lowSrc:null,marginHeight:Fr,marginWidth:Fr,noResize:Pr,noHref:Pr,noShade:Pr,noWrap:Pr,object:null,profile:null,prompt:null,rev:null,rightMargin:Fr,rules:null,scheme:null,scrolling:xr,standby:null,summary:null,text:null,topMargin:Fr,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Fr,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Pr,disableRemotePlayback:Pr,prefix:null,property:null,results:Fr,security:null,unselectable:null}}),ns=$r({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:Xr,properties:{about:Gr,accentHeight:Fr,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Fr,amplitude:Fr,arabicForm:null,ascent:Fr,attributeName:null,attributeType:null,azimuth:Fr,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Fr,by:null,calcMode:null,capHeight:Fr,className:Ur,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:Fr,diffuseConstant:Fr,direction:null,display:null,dur:null,divisor:Fr,dominantBaseline:null,download:Pr,dx:null,dy:null,edgeMode:null,editable:null,elevation:Fr,enableBackground:null,end:null,event:null,exponent:Fr,externalResourcesRequired:null,fill:null,fillOpacity:Fr,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:Hr,g2:Hr,glyphName:Hr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Fr,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Fr,horizOriginX:Fr,horizOriginY:Fr,id:null,ideographic:Fr,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Fr,k:Fr,k1:Fr,k2:Fr,k3:Fr,k4:Fr,kernelMatrix:Gr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Fr,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:Fr,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:Fr,overlineThickness:Fr,paintOrder:null,panose1:null,path:null,pathLength:Fr,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ur,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Fr,pointsAtY:Fr,pointsAtZ:Fr,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Gr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Gr,rev:Gr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Gr,requiredFeatures:Gr,requiredFonts:Gr,requiredFormats:Gr,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:Fr,specularExponent:Fr,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Fr,strikethroughThickness:Fr,string:null,stroke:null,strokeDashArray:Gr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Fr,strokeOpacity:Fr,strokeWidth:null,style:null,surfaceScale:Fr,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Gr,tabIndex:Fr,tableValues:null,target:null,targetX:Fr,targetY:Fr,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Gr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Fr,underlineThickness:Fr,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Fr,values:null,vAlphabetic:Fr,vMathematical:Fr,vectorEffect:null,vHanging:Fr,vIdeographic:Fr,version:null,vertAdvY:Fr,vertOriginX:Fr,vertOriginY:Fr,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Fr,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),rs=/^data[-\w.:]+$/i,ss=/-[a-z]/g,is=/[A-Z]/g;function os(e,t){const n=vr(t);let r=t,s=wr;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&rs.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(ss,cs);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!ss.test(e)){let n=e.replace(is,as);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}s=zr}return new s(r,t)}function as(e){return"-"+e.toLowerCase()}function cs(e){return e.charAt(1).toUpperCase()}const ls=Rr([Wr,Qr,Zr,es,ts],"html"),us=Rr([Wr,Qr,Zr,es,ns],"svg");function hs(e,t){return e=e.replace(t.subset?function(e){const t=[];let n=-1;for(;++n`]/g,n),t.subset||t.escapeOnly?e:e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,(function(e,n,r){return t.format(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)})).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,n);function n(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}const ps=["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"],fs={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},ds=["cent","copy","divide","gt","lt","not","para","times"],ms={}.hasOwnProperty,Es={};let gs;for(gs in fs)ms.call(fs,gs)&&(Es[fs[gs]]=gs);function Ts(e,t,n){let r,s=function(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);if((n.useNamedReferences||n.useShortestReferences)&&(r=function(e,t,n,r){const s=String.fromCharCode(e);if(ms.call(Es,s)){const e=Es[s],i="&"+e;return n&&ps.includes(e)&&!ds.includes(e)&&(!r||t&&61!==t&&/[^\da-z]/i.test(String.fromCharCode(t)))?i:i+";"}return""}(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!r)&&n.useShortestReferences){const r=function(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);r.length0},html:function(e){const t=Os(e,-1);return!t||"comment"!==t.type},tbody:function(e,t,n){const r=Ds(n,t),s=Os(e,-1);if(n&&r&&"element"===r.type&&("thead"===r.tagName||"tbody"===r.tagName)&&Ms(r,n.children.indexOf(r),n))return!1;return Boolean(s&&"element"===s.type&&"tr"===s.tagName)}});const Us={name:[["\t\n\f\r &/=>".split(""),"\t\n\f\r \"&'/=>`".split("")],["\0\t\n\f\r \"&'/<=>".split(""),"\0\t\n\f\r \"&'/<=>`".split("")]],unquoted:[["\t\n\f\r &>".split(""),"\0\t\n\f\r \"&'<=>`".split("")],["\0\t\n\f\r \"&'<=>`".split(""),"\0\t\n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function Hs(e,t,n){const r=os(e.schema,t),s=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,i=e.settings.allowDangerousCharacters?0:1;let o,a=e.quote;if(!r.overloadedBoolean||n!==r.attribute&&""!==n?(r.boolean||r.overloadedBoolean&&"string"!=typeof n)&&(n=Boolean(n)):n=!0,null==n||!1===n||"number"==typeof n&&Number.isNaN(n))return"";const c=As(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Us.name[s][i]}));return!0===n?c:(n=Array.isArray(n)?(r.commaSeparated?bs:Ns)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n?c:(e.settings.preferUnquoted&&(o=As(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Us.unquoted[s][i]}))),o!==n&&(e.settings.quoteSmart&&_s(n,a)>_s(n,e.alternative)&&(a=e.alternative),o=a+As(n,Object.assign({},e.settings.characterReferences,{subset:("'"===a?Us.single:Us.double)[s][i],attribute:!0}))+a),c+(o?"="+o:o)))}function Gs(e,t,n,r){return!n||"element"!==n.type||"script"!==n.tagName&&"style"!==n.tagName?As(e.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]})):e.value}const qs=lt("type",{invalid:function(e){throw new Error("Expected node, not `"+e+"`")},unknown:function(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")},handlers:{comment:function(e,t,n,r){return r.settings.bogusComments?""]}))+">":"\x3c!--"+e.value.replace(/^>|^->||--!>|"]}))}))+"--\x3e"},doctype:function(e,t,n,r){return""},element:function(e,t,n,r){const s=r.schema,i="svg"!==s.space&&r.settings.omitOptionalTags;let o="svg"===s.space?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const a=[];let c;"html"===s.space&&"svg"===e.tagName&&(r.schema=us);const l=function(e,t){const n=[];let r,s=-1;if(t)for(r in t)if(null!==t[r]&&void 0!==t[r]){const s=Hs(e,r,t[r]);s&&n.push(s)}for(;++s")),a.push(u),o||i&&Ms(e,t,n)||a.push(""),a.join("")},raw:function(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Gs(e,0,n,r)},root:function(e,t,n,r){return r.all(e)},text:Gs}});const Ys={},js={},zs=[];function Vs(e,t){const n=t||Ys,r=n.quote||'"',s='"'===r?"'":'"';if('"'!==r&&"'"!==r)throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:Ks,all:$s,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||Dr,characterReferences:n.characterReferences||js,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:"svg"===n.space?us:ls,quote:r,alternative:s}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function Ks(e,t,n){return qs(e,t,n,this)}function $s(e){const t=[],n=e&&e.children||zs;let r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(a!==n&&h.push({type:"text",value:e.value.slice(a,n)}),Array.isArray(i)?h.push(...i):i&&h.push(i),a=n+p[0].length,u=!0),!r.global)break;p=r.exec(e.value)}u?(a?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const s=_s(e,"(");let i=_s(e,")");for(;-1!==r&&s>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}(n+r);if(!o[0])return!1;const a={type:"link",title:null,url:i+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[a,{type:"text",value:o[1]}]:a}function ui(e,t,n,r){return!(!hi(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function hi(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||P(n)||M(n))&&(!t||47!==n)}function pi(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function fi(){this.buffer()}function di(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=b(this.sliceSerialize(e)).toLowerCase()}function mi(e){this.exit(e)}function Ei(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function gi(){this.buffer()}function Ti(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=b(this.sliceSerialize(e)).toLowerCase()}function Ai(e){this.exit(e)}function _i(e,t,n,r){const s=n.createTracker(r);let i=s.move("[^");const o=n.enter("footnoteReference"),a=n.enter("reference");return i+=s.move(n.safe(n.associationId(e),{...s.current(),before:i,after:"]"})),a(),o(),i+=s.move("]"),i}function yi(e,t,n,r){const s=n.createTracker(r);let i=s.move("[^");const o=n.enter("footnoteDefinition"),a=n.enter("label");return i+=s.move(n.safe(n.associationId(e),{...s.current(),before:i,after:"]"})),a(),i+=s.move("]:"+(e.children&&e.children.length>0?" ":"")),s.shift(4),i+=s.move(n.indentLines(n.containerFlow(e,s.current()),bi)),o(),i}function bi(e,t,n){return 0===t?e:(n?"":" ")+e}_i.peek=function(){return"["};const ki=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function Ni(e){this.enter({type:"delete",children:[]},e)}function Si(e){this.exit(e)}function Ci(e,t,n,r){const s=n.createTracker(r),i=n.enter("strikethrough");let o=s.move("~~");return o+=n.containerPhrasing(e,{...s.current(),before:o,after:"~"}),o+=s.move("~~"),i(),o}function Ii(e){return null==e?"":String(e)}function Oi(e){return e.length}function Di(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function Li(e){const t=e._align;this.enter({type:"table",align:t.map((function(e){return"none"===e?null:e})),children:[]},e),this.data.inTable=!0}function Ri(e){this.exit(e),this.data.inTable=void 0}function vi(e){this.enter({type:"tableRow",children:[]},e)}function wi(e){this.exit(e)}function Mi(e){this.enter({type:"tableCell",children:[]},e)}function Pi(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,xi));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function xi(e,t){return"|"===t?t:e}function Bi(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,s=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=Yt.inlineCode(e,t,n);n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&"));return r},table:function(e,t,n,r){return a(function(e,t,n){const r=e.children;let s=-1;const i=[],o=t.enter("table");for(;++sc&&(c=e[l].length);++ua[u])&&(a[u]=e)}n.push(i)}i[l]=n,o[l]=s}let u=-1;if("object"==typeof n&&"length"in n)for(;++ua[u]&&(a[u]=i),p[u]=i),h[u]=o}i.splice(1,0,h),o.splice(1,0,p),l=-1;const f=[];for(;++l0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}Qi[43]=$i,Qi[45]=$i,Qi[46]=$i,Qi[95]=$i,Qi[72]=[$i,Ki],Qi[104]=[$i,Ki],Qi[87]=[$i,Vi],Qi[119]=[$i,Vi];const no={tokenize:function(e,t,n){const r=this;return F(e,(function(e){const s=r.events[r.events.length-1];return s&&"gfmFootnoteDefinitionIndent"===s[1].type&&4===s[2].sliceSerialize(s[1],!0).length?t(e):n(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function ro(e,t,n){const r=this;let s=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;s--;){const e=r.events[s][1];if("labelImage"===e.type){o=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(s){if(!o||!o._balanced)return n(s);const a=b(r.sliceSerialize({start:o.end,end:r.now()}));if(94!==a.codePointAt(0)||!i.includes(a.slice(1)))return n(s);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),t(s)}}function so(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},a=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",s,t],["exit",s,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...a),e}function io(e,t,n){const r=this,s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,o=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),a};function a(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(a){if(o>999||93===a&&!i||null===a||91===a||v(a))return n(a);if(93===a){e.exit("chunkString");const i=e.exit("gfmFootnoteCallString");return s.includes(b(r.sliceSerialize(i)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(a)}return v(a)||(i=!0),o++,e.consume(a),92===a?l:c}function l(t){return 91===t||92===t||93===t?(e.consume(t),o++,c):c(t)}}function oo(e,t,n){const r=this,s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,o,a=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",l):n(t)}function l(t){if(a>999||93===t&&!o||null===t||91===t||v(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return i=b(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return v(t)||(o=!0),a++,e.consume(t),92===t?u:l}function u(t){return 91===t||92===t||93===t?(e.consume(t),a++,l):l(t)}function h(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(i)||s.push(i),F(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}function p(e){return t(e)}}function ao(e,t,n){return e.check(K,t,e.attempt(no,t,n))}function co(e){e.exit("gfmFootnoteDefinition")}function lo(e){let t=(e||{}).singleTilde;const n={tokenize:function(e,n,r){const s=this.previous,i=this.events;let o=0;return function(t){if(126===s&&"characterEscape"!==i[i.length-1][1].type)return r(t);return e.enter("strikethroughSequenceTemporary"),a(t)};function a(i){const c=q(s);if(126===i)return o>1?r(i):(e.consume(i),o++,a);if(o<2&&!t)return r(i);const l=e.exit("strikethroughSequenceTemporary"),u=q(i);return l._open=!u||2===u&&Boolean(c),l._close=!c||2===c&&Boolean(u),n(i)}},resolveAll:function(e,t){let n=-1;for(;++n0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function ho(e,t){let n=!1;const r=[];for(;t-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const s=t>-1?r.events[t][1].type:null,i="tableHead"===s||"tableRow"===s?_:a;if(i===_&&r.parser.lazy[r.now().line])return n(e);return i(e)};function a(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){if(124===e)return c(e);return s=!0,o+=1,c(e)}(t)}function c(t){return null===t?n(t):R(t)?o>1?(o=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),h):n(t):w(t)?F(e,c,"whitespace")(t):(o+=1,s&&(s=!1,i+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),s=!0,c):(e.enter("data"),l(t)))}function l(t){return null===t||124===t||v(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?u:l)}function u(t){return 92===t||124===t?(e.consume(t),l):l(t)}function h(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),s=!1,w(t)?F(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))}function p(t){return 45===t||58===t?d(t):124===t?(s=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):A(t)}function f(t){return w(t)?F(e,d,"whitespace")(t):d(t)}function d(t){return 58===t?(o+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(o+=1,m(t)):null===t||R(t)?T(t):A(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),E(t)):A(t)}function E(t){return 45===t?(e.consume(t),E):58===t?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):(e.exit("tableDelimiterFiller"),g(t))}function g(t){return w(t)?F(e,T,"whitespace")(t):T(t)}function T(n){return 124===n?p(n):(null===n||R(n))&&s&&i===o?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):A(n)}function A(e){return n(e)}function _(t){return e.enter("tableRow"),y(t)}function y(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),y):null===n||R(n)?(e.exit("tableRow"),t(n)):w(n)?F(e,y,"whitespace")(n):(e.enter("data"),b(n))}function b(t){return null===t||124===t||v(t)?(e.exit("data"),y(t)):(e.consume(t),92===t?k:b)}function k(t){return 92===t||124===t?(e.consume(t),b):b(t)}}function fo(e,t){let n,r,s,i=-1,o=!0,a=0,c=[0,0,0,0],l=[0,0,0,0],u=!1,h=0;const p=new uo;for(;++in[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==s&&(i.end=Object.assign({},go(t.events,s)),e.add(s,0,[["exit",i,t]]),i=void 0),i}function Eo(e,t,n,r,s){const i=[],o=go(t.events,n);s&&(s.end=Object.assign({},o),i.push(["exit",s,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function go(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const To={tokenize:function(e,t,n){const r=this;return function(t){if(null!==r.previous||!r._gfmTasklistFirstContentOfListItem)return n(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),s};function s(t){return v(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),i):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),i):n(t)}function i(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(t)}function o(r){return R(r)?t(r):w(r)?e.check({tokenize:Ao},t,n)(r):n(r)}}};function Ao(e,t,n){return F(e,(function(e){return null===e?n(e):t(e)}),"whitespace")}const _o={};function yo(e){const t=e||_o,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),s=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(e){return T([{text:Qi},{document:{91:{tokenize:oo,continuation:{tokenize:ao},exit:co}},text:{91:{tokenize:io},93:{add:"after",tokenize:ro,resolveTo:so}}},lo(e),{flow:{null:{tokenize:po,resolveAll:fo}}},{text:{91:To}}])}(t)),s.push([{transforms:[ci],enter:{literalAutolink:ni,literalAutolinkEmail:ri,literalAutolinkHttp:ri,literalAutolinkWww:ri},exit:{literalAutolink:ai,literalAutolinkEmail:oi,literalAutolinkHttp:si,literalAutolinkWww:ii}},{enter:{gfmFootnoteDefinition:pi,gfmFootnoteDefinitionLabelString:fi,gfmFootnoteCall:Ei,gfmFootnoteCallString:gi},exit:{gfmFootnoteDefinition:mi,gfmFootnoteDefinitionLabelString:di,gfmFootnoteCall:Ai,gfmFootnoteCallString:Ti}},{canContainEols:["delete"],enter:{strikethrough:Ni},exit:{strikethrough:Si}},{enter:{table:Li,tableData:Mi,tableHeader:Mi,tableRow:vi},exit:{codeText:Pi,table:Ri,tableData:wi,tableHeader:wi,tableRow:wi}},{exit:{taskListCheckValueChecked:Fi,taskListCheckValueUnchecked:Fi,paragraph:Ui}}]),i.push(function(e){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:ei,notInConstruct:ti},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:ei,notInConstruct:ti},{character:":",before:"[ps]",after:"\\/",inConstruct:ei,notInConstruct:ti}]},{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:yi,footnoteReference:_i}},{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:ki}],handlers:{delete:Ci}},Bi(e),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Hi}}]}}(t))}var bo,ko={exports:{}};bo=ko,function(){var e;function t(e){for(var t,n,r,s,i=1,o=[].slice.call(arguments),a=0,c=e.length,l="",u=!1,h=!1,p=function(){return o[i++]},f=function(){for(var n="";/\d/.test(e[a]);)n+=e[a++],t=e[a];return n.length>0?parseInt(n):null};a!!e&&"object"==typeof e&&e[Qo]===Yo,Xo=e=>!!e&&"object"==typeof e&&e[Qo]===jo,Jo=e=>!!e&&"object"==typeof e&&e[Qo]===zo,Zo=e=>!!e&&"object"==typeof e&&e[Qo]===Vo,ea=e=>!!e&&"object"==typeof e&&e[Qo]===Ko,ta=e=>!!e&&"object"==typeof e&&e[Qo]===$o;function na(e){if(e&&"object"==typeof e)switch(e[Qo]){case zo:case $o:return!0}return!1}function ra(e){if(e&&"object"==typeof e)switch(e[Qo]){case Yo:case zo:case Ko:case $o:return!0}return!1}const sa=e=>(ea(e)||na(e))&&!!e.anchor,ia=Symbol("break visit"),oa=Symbol("skip children"),aa=Symbol("remove node");function ca(e,t){const n=pa(t);if(Xo(e)){la(null,e.contents,n,Object.freeze([e]))===aa&&(e.contents=null)}else la(null,e,n,Object.freeze([]))}function la(e,t,n,r){const s=fa(e,t,n,r);if(ra(s)||Zo(s))return da(e,r,s),la(e,s,n,r);if("symbol"!=typeof s)if(na(t)){r=Object.freeze(r.concat(t));for(let e=0;e"!==e[e.length-1]&&t("Verbatim tags must end with a >"),n)}const[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);const s=this.tags[n];if(s)try{return s+decodeURIComponent(r)}catch(e){return t(String(e)),null}return"!"===n?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(const[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+e.substring(n.length).replace(/[!,[\]{}]/g,(e=>ma[e]));return"!"===e[0]?e:`!<${e}>`}toString(e){const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags);let r;if(e&&n.length>0&&ra(e.contents)){const t={};ca(e.contents,((e,n)=>{ra(n)&&n.tag&&(t[n.tag]=!0)})),r=Object.keys(t)}else r=[];for(const[s,i]of n)"!!"===s&&"tag:yaml.org,2002:"===i||e&&!r.some((e=>e.startsWith(i)))||t.push(`%TAG ${s} ${i}`);return t.join("\n")}}function ga(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const t=JSON.stringify(e);throw new Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0}function Ta(e){const t=new Set;return ca(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function Aa(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}function _a(e,t,n,r){if(r&&"object"==typeof r)if(Array.isArray(r))for(let t=0,n=r.length;tya(e,String(t),n)));if(e&&"function"==typeof e.toJSON){if(!n||!sa(e))return e.toJSON(t,n);const r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=e=>{r.res=e,delete n.onCreate};const s=e.toJSON(t,n);return n.onCreate&&n.onCreate(s),s}return"bigint"!=typeof e||n?.keep?e:Number(e)}Ea.defaultYaml={explicit:!1,version:"1.2"},Ea.defaultTags={"!!":"tag:yaml.org,2002:"};class ba{constructor(e){Object.defineProperty(this,Qo,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:r,reviver:s}={}){if(!Xo(e))throw new TypeError("A document argument is required");const i={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},o=ya(this,"",i);if("function"==typeof r)for(const{count:e,res:t}of i.anchors.values())r(t,e);return"function"==typeof s?_a(s,{"":o},"",o):o}}class ka extends ba{constructor(e){super(Yo),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e){let t;return ca(e,{Node:(e,n)=>{if(n===this)return ca.BREAK;n.anchor===this.source&&(t=n)}}),t}toJSON(e,t){if(!t)return{source:this.source};const{anchors:n,doc:r,maxAliasCount:s}=t,i=this.resolve(r);if(!i){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(e)}let o=n.get(i);if(o||(ya(i,null,t),o=n.get(i)),!o||void 0===o.res){throw new ReferenceError("This should not happen: Alias anchor was not resolved?")}if(s>=0&&(o.count+=1,0===o.aliasCount&&(o.aliasCount=Na(r,i,n)),o.count*o.aliasCount>s)){throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack")}return o.res}toString(e,t,n){const r=`*${this.source}`;if(e){if(ga(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(e)}if(e.implicitKey)return`${r} `}return r}}function Na(e,t,n){if(Wo(t)){const r=t.resolve(e),s=n&&r&&n.get(r);return s?s.count*s.aliasCount:0}if(na(t)){let r=0;for(const s of t.items){const t=Na(e,s,n);t>r&&(r=t)}return r}if(Zo(t)){const r=Na(e,t.key,n),s=Na(e,t.value,n);return Math.max(r,s)}return 1}const Sa=e=>!e||"function"!=typeof e&&"object"!=typeof e;class Ca extends ba{constructor(e){super(Ko),this.value=e}toJSON(e,t){return t?.keep?this.value:ya(this.value,e,t)}toString(){return String(this.value)}}Ca.BLOCK_FOLDED="BLOCK_FOLDED",Ca.BLOCK_LITERAL="BLOCK_LITERAL",Ca.PLAIN="PLAIN",Ca.QUOTE_DOUBLE="QUOTE_DOUBLE",Ca.QUOTE_SINGLE="QUOTE_SINGLE";const Ia="tag:yaml.org,2002:";function Oa(e,t,n){if(Xo(e)&&(e=e.contents),ra(e))return e;if(Zo(e)){const t=n.schema[zo].createNode?.(n.schema,null,n);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:r,onAnchor:s,onTagObj:i,schema:o,sourceObjects:a}=n;let c;if(r&&e&&"object"==typeof e){if(c=a.get(e),c)return c.anchor||(c.anchor=s(e)),new ka(c.anchor);c={anchor:null,node:null},a.set(e,c)}t?.startsWith("!!")&&(t=Ia+t.slice(2));let l=function(e,t,n){if(t){const e=n.filter((e=>e.tag===t)),r=e.find((e=>!e.format))??e[0];if(!r)throw new Error(`Tag ${t} not found`);return r}return n.find((t=>t.identify?.(e)&&!t.format))}(e,t,o.tags);if(!l){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){const t=new Ca(e);return c&&(c.node=t),t}l=e instanceof Map?o[zo]:Symbol.iterator in Object(e)?o[$o]:o[zo]}i&&(i(l),delete n.onTagObj);const u=l?.createNode?l.createNode(n.schema,e,n):"function"==typeof l?.nodeClass?.from?l.nodeClass.from(n.schema,e,n):new Ca(e);return t?u.tag=t:l.default||(u.tag=l.tag),c&&(c.node=u),u}function Da(e,t,n){let r=n;for(let e=t.length-1;e>=0;--e){const n=t[e];if("number"==typeof n&&Number.isInteger(n)&&n>=0){const e=[];e[n]=r,r=e}else r=new Map([[n,r]])}return Oa(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const La=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class Ra extends ba{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map((t=>ra(t)||Zo(t)?t.clone(e):t)),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(La(e))this.add(t);else{const[n,...r]=e,s=this.get(n,!0);if(na(s))s.addIn(r,t);else{if(void 0!==s||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,Da(this.schema,r,t))}}}deleteIn(e){const[t,...n]=e;if(0===n.length)return this.delete(t);const r=this.get(t,!0);if(na(r))return r.deleteIn(n);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){const[n,...r]=e,s=this.get(n,!0);return 0===r.length?!t&&ea(s)?s.value:s:na(s)?s.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every((t=>{if(!Zo(t))return!1;const n=t.value;return null==n||e&&ea(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag}))}hasIn(e){const[t,...n]=e;if(0===n.length)return this.has(t);const r=this.get(t,!0);return!!na(r)&&r.hasIn(n)}setIn(e,t){const[n,...r]=e;if(0===r.length)this.set(n,t);else{const e=this.get(n,!0);if(na(e))e.setIn(r,t);else{if(void 0!==e||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,Da(this.schema,r,t))}}}}Ra.maxFlowStringSingleLineLength=60;const va=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function wa(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const Ma=(e,t,n)=>e.endsWith("\n")?wa(n,t):n.includes("\n")?"\n"+wa(n,t):(e.endsWith(" ")?"":" ")+n,Pa="flow",xa="block",Ba="quoted";function Fa(e,t,n="flow",{indentAtStart:r,lineWidth:s=80,minContentWidth:i=20,onFold:o,onOverflow:a}={}){if(!s||s<0)return e;const c=Math.max(1+i,1+s-t.length);if(e.length<=c)return e;const l=[],u={};let h,p,f=s-t.length;"number"==typeof r&&(r>s-Math.max(2,i)?l.push(0):f=s-r);let d=!1,m=-1,E=-1,g=-1;n===xa&&(m=Ua(e,m),-1!==m&&(f=m+c));for(let t;t=e[m+=1];){if(n===Ba&&"\\"===t){switch(E=m,e[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}g=m}if("\n"===t)n===xa&&(m=Ua(e,m)),f=m+c,h=void 0;else{if(" "===t&&p&&" "!==p&&"\n"!==p&&"\t"!==p){const t=e[m+1];t&&" "!==t&&"\n"!==t&&"\t"!==t&&(h=m)}if(m>=f)if(h)l.push(h),f=h+c,h=void 0;else if(n===Ba){for(;" "===p||"\t"===p;)p=t,t=e[m+=1],d=!0;const n=m>g+1?m-2:E-1;if(u[n])return e;l.push(n),u[n]=!0,f=n+c,h=void 0}else d=!0}p=t}if(d&&a&&a(),0===l.length)return e;o&&o();let T=e.slice(0,l[0]);for(let r=0;r({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),Ga=e=>/^(%|---|\.\.\.)/m.test(e);function qa(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,s=t.options.doubleQuotedMinMultiLineLength,i=t.indent||(Ga(e)?" ":"");let o="",a=0;for(let e=0,t=n[e];t;t=n[++e])if(" "===t&&"\\"===n[e+1]&&"n"===n[e+2]&&(o+=n.slice(a,e)+"\\ ",e+=1,a=e,t="\\"),"\\"===t)switch(n[e+1]){case"u":{o+=n.slice(a,e);const t=n.substr(e+2,4);switch(t){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:"00"===t.substr(0,2)?o+="\\x"+t.substr(2):o+=n.substr(e,6)}e+=5,a=e+1}break;case"n":if(r||'"'===n[e+2]||n.lengthr)return!0;if(n=t+1,s-n<=r)return!1}return!0}(n,c,l.length));if(!n)return u?"|\n":">\n";let h,p;for(p=n.length;p>0;--p){const e=n[p-1];if("\n"!==e&&"\t"!==e&&" "!==e)break}let f=n.substring(p);const d=f.indexOf("\n");-1===d?h="-":n===f||d!==f.length-1?(h="+",i&&i()):h="",f&&(n=n.slice(0,-f.length),"\n"===f[f.length-1]&&(f=f.slice(0,-1)),f=f.replace(za,`$&${l}`));let m,E=!1,g=-1;for(m=0;m")+(E?l?"2":"1":"")+h;if(e&&(A+=" "+a(e.replace(/ ?[\r\n]+/g," ")),s&&s()),u)return`${A}\n${l}${T}${n=n.replace(/\n+/g,`$&${l}`)}${f}`;return`${A}\n${l}${Fa(`${T}${n=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${l}`)}${f}`,l,xa,Ha(r,!0))}`}function Ka(e,t,n,r){const{implicitKey:s,inFlow:i}=t,o="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)});let{type:a}=e;a!==Ca.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(a=Ca.QUOTE_DOUBLE);const c=e=>{switch(e){case Ca.BLOCK_FOLDED:case Ca.BLOCK_LITERAL:return s||i?ja(o.value,t):Va(o,t,n,r);case Ca.QUOTE_DOUBLE:return qa(o.value,t);case Ca.QUOTE_SINGLE:return Ya(o.value,t);case Ca.PLAIN:return function(e,t,n,r){const{type:s,value:i}=e,{actualString:o,implicitKey:a,indent:c,indentStep:l,inFlow:u}=t;if(a&&i.includes("\n")||u&&/[[\]{},]/.test(i))return ja(i,t);if(!i||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(i))return a||u||!i.includes("\n")?ja(i,t):Va(e,t,n,r);if(!a&&!u&&s!==Ca.PLAIN&&i.includes("\n"))return Va(e,t,n,r);if(Ga(i)){if(""===c)return t.forceBlockIndent=!0,Va(e,t,n,r);if(a&&c===l)return ja(i,t)}const h=i.replace(/\n+/g,`$&\n${c}`);if(o){const e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(h),{compat:n,tags:r}=t.doc.schema;if(r.some(e)||n?.some(e))return ja(i,t)}return a?h:Fa(h,c,Pa,Ha(t,!1))}(o,t,n,r);default:return null}};let l=c(a);if(null===l){const{defaultKeyType:e,defaultStringType:n}=t.options,r=s&&e||n;if(l=c(r),null===l)throw new Error(`Unsupported default string type ${r}`)}return l}function $a(e,t){const n=Object.assign({blockQuote:!0,commentString:va,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof n.indent?" ".repeat(n.indent):" ",inFlow:r,options:n}}function Qa(e,t,n,r){if(Zo(e))return e.toString(t,n,r);if(Wo(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let s;const i=ra(e)?e:t.doc.createNode(e,{onTagObj:e=>s=e});s||(s=function(e,t){if(t.tag){const n=e.filter((e=>e.tag===t.tag));if(n.length>0)return n.find((e=>e.format===t.format))??n[0]}let n,r;if(ea(t)){r=t.value;const s=e.filter((e=>e.identify?.(r)));n=s.find((e=>e.format===t.format))??s.find((e=>!e.format))}else r=t,n=e.find((e=>e.nodeClass&&r instanceof e.nodeClass));if(!n)throw new Error(`Tag not resolved for ${r?.constructor?.name??typeof r} value`);return n}(t.doc.schema.tags,i));const o=function(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const s=[],i=(ea(e)||na(e))&&e.anchor;i&&ga(i)&&(n.add(i),s.push(`&${i}`));const o=e.tag?e.tag:t.default?null:t.tag;return o&&s.push(r.directives.tagString(o)),s.join(" ")}(i,s,t);o.length>0&&(t.indentAtStart=(t.indentAtStart??0)+o.length+1);const a="function"==typeof s.stringify?s.stringify(i,t,n,r):ea(i)?Ka(i,t,n,r):i.toString(t,n,r);return o?ea(i)||"{"===a[0]||"["===a[0]?`${o} ${a}`:`${o}\n${t.indent}${a}`:a}function Wa(e,t){"debug"!==e&&"warn"!==e||("undefined"!=typeof process&&process.emitWarning?process.emitWarning(t):console.warn(t))}function Xa(e,t,{key:n,value:r}){if(e?.doc.schema.merge&&Ja(n))if(r=Wo(r)?r.resolve(e.doc):r,ta(r))for(const n of r.items)Za(e,t,n);else if(Array.isArray(r))for(const n of r)Za(e,t,n);else Za(e,t,r);else{const s=ya(n,"",e);if(t instanceof Map)t.set(s,ya(r,s,e));else if(t instanceof Set)t.add(s);else{const i=function(e,t,n){if(null===t)return"";if("object"!=typeof t)return String(t);if(ra(e)&&n?.doc){const t=$a(n.doc,{});t.anchors=new Set;for(const e of n.anchors.keys())t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;const r=e.toString(t);if(!n.mapKeyWarned){let e=JSON.stringify(r);e.length>40&&(e=e.substring(0,36)+'..."'),Wa(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(t)}(n,s,e),o=ya(r,i,e);i in t?Object.defineProperty(t,i,{value:o,writable:!0,enumerable:!0,configurable:!0}):t[i]=o}}return t}const Ja=e=>"<<"===e||ea(e)&&"<<"===e.value&&(!e.type||e.type===Ca.PLAIN);function Za(e,t,n){const r=e&&Wo(n)?n.resolve(e.doc):n;if(!Jo(r))throw new Error("Merge sources must be maps or map aliases");const s=r.toJSON(null,e,Map);for(const[e,n]of s)t instanceof Map?t.has(e)||t.set(e,n):t instanceof Set?t.add(e):Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!0,configurable:!0});return t}function ec(e,t,n){const r=Oa(e,void 0,n),s=Oa(t,void 0,n);return new tc(r,s)}class tc{constructor(e,t=null){Object.defineProperty(this,Qo,{value:Vo}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this;return ra(t)&&(t=t.clone(e)),ra(n)&&(n=n.clone(e)),new tc(t,n)}toJSON(e,t){return Xa(t,t?.mapAsMap?new Map:{},this)}toString(e,t,n){return e?.doc?function({key:e,value:t},n,r,s){const{allNullValues:i,doc:o,indent:a,indentStep:c,options:{commentString:l,indentSeq:u,simpleKeys:h}}=n;let p=ra(e)&&e.comment||null;if(h){if(p)throw new Error("With simple keys, key nodes cannot have comments");if(na(e))throw new Error("With simple keys, collection cannot be used as a key value")}let f=!h&&(!e||p&&null==t&&!n.inFlow||na(e)||(ea(e)?e.type===Ca.BLOCK_FOLDED||e.type===Ca.BLOCK_LITERAL:"object"==typeof e));n=Object.assign({},n,{allNullValues:!1,implicitKey:!f&&(h||!i),indent:a+c});let d,m,E,g=!1,T=!1,A=Qa(e,n,(()=>g=!0),(()=>T=!0));if(!f&&!n.inFlow&&A.length>1024){if(h)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");f=!0}if(n.inFlow){if(i||null==t)return g&&r&&r(),""===A?"?":f?`? ${A}`:A}else if(i&&!h||null==t&&f)return A=`? ${A}`,p&&!g?A+=Ma(A,n.indent,l(p)):T&&s&&s(),A;g&&(p=null),f?(p&&(A+=Ma(A,n.indent,l(p))),A=`? ${A}\n${a}:`):(A=`${A}:`,p&&(A+=Ma(A,n.indent,l(p)))),ra(t)?(d=!!t.spaceBefore,m=t.commentBefore,E=t.comment):(d=!1,m=null,E=null,t&&"object"==typeof t&&(t=o.createNode(t))),n.implicitKey=!1,f||p||!ea(t)||(n.indentAtStart=A.length+1),T=!1,u||!(c.length>=2)||n.inFlow||f||!ta(t)||t.flow||t.tag||t.anchor||(n.indent=n.indent.substring(2));let _=!1;const y=Qa(t,n,(()=>_=!0),(()=>T=!0));let b=" ";if(p||d||m)b=d?"\n":"",m&&(b+=`\n${wa(l(m),n.indent)}`),""!==y||n.inFlow?b+=`\n${n.indent}`:"\n"===b&&(b="\n\n");else if(!f&&na(t)){const e=y[0],r=y.indexOf("\n"),s=-1!==r,i=n.inFlow??t.flow??0===t.items.length;if(s||!i){let t=!1;if(s&&("&"===e||"!"===e)){let n=y.indexOf(" ");"&"===e&&-1!==n&&no=null),(()=>h=!0));o&&(a+=Ma(a,i,l(o))),h&&o&&(h=!1),p.push(r+a)}let f;if(0===p.length)f=s.start+s.end;else{f=p[0];for(let e=1;ei=null));ep||o.includes("\n"))&&(h=!0),f.push(o),p=f.length}let d;const{start:m,end:E}=r;if(0===f.length)d=m+E;else{if(!h){h=f.reduce(((e,t)=>e+t.length+2),2)>Ra.maxFlowStringSingleLineLength}if(h){d=m;for(const e of f)d+=e?`\n${a}${o}${e}`:"\n";d+=`\n${o}${E}`}else d=`${m}${c}${f.join(" ")}${c}${E}`}return e&&(d+=Ma(d,o,l(e)),i&&i()),d}function ic({indent:e,options:{commentString:t}},n,r,s){if(r&&s&&(r=r.replace(/^\n+/,"")),r){const s=wa(t(r),e);n.push(s.trimStart())}}function oc(e,t){const n=ea(t)?t.value:t;for(const r of e)if(Zo(r)){if(r.key===t||r.key===n)return r;if(ea(r.key)&&r.key.value===n)return r}}class ac extends Ra{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(zo,e),this.items=[]}static from(e,t,n){const{keepUndefined:r,replacer:s}=n,i=new this(e),o=(e,o)=>{if("function"==typeof s)o=s.call(t,e,o);else if(Array.isArray(s)&&!s.includes(e))return;(void 0!==o||r)&&i.items.push(ec(e,o,n))};if(t instanceof Map)for(const[e,n]of t)o(e,n);else if(t&&"object"==typeof t)for(const e of Object.keys(t))o(e,t[e]);return"function"==typeof e.sortMapEntries&&i.items.sort(e.sortMapEntries),i}add(e,t){let n;n=Zo(e)?e:e&&"object"==typeof e&&"key"in e?new tc(e.key,e.value):new tc(e,e?.value);const r=oc(this.items,n.key),s=this.schema?.sortMapEntries;if(r){if(!t)throw new Error(`Key ${n.key} already set`);ea(r.value)&&Sa(n.value)?r.value.value=n.value:r.value=n.value}else if(s){const e=this.items.findIndex((e=>s(n,e)<0));-1===e?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){const t=oc(this.items,e);if(!t)return!1;return this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){const n=oc(this.items,e),r=n?.value;return(!t&&ea(r)?r.value:r)??void 0}has(e){return!!oc(this.items,e)}set(e,t){this.add(new tc(e,t),!0)}toJSON(e,t,n){const r=n?new n:t?.mapAsMap?new Map:{};t?.onCreate&&t.onCreate(r);for(const e of this.items)Xa(t,r,e);return r}toString(e,t,n){if(!e)return JSON.stringify(this);for(const e of this.items)if(!Zo(e))throw new Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),nc(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}const cc={collection:"map",default:!0,nodeClass:ac,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(Jo(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,n)=>ac.from(e,t,n)};class lc extends Ra{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super($o,e),this.items=[]}add(e){this.items.push(e)}delete(e){const t=uc(e);if("number"!=typeof t)return!1;return this.items.splice(t,1).length>0}get(e,t){const n=uc(e);if("number"!=typeof n)return;const r=this.items[n];return!t&&ea(r)?r.value:r}has(e){const t=uc(e);return"number"==typeof t&&t=0?t:null}const hc={collection:"seq",default:!0,nodeClass:lc,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(ta(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,n)=>lc.from(e,t,n)},pc={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,n,r)=>Ka(e,t=Object.assign({actualString:!0},t),n,r)},fc={identify:e=>null==e,createNode:()=>new Ca(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Ca(null),stringify:({source:e},t)=>"string"==typeof e&&fc.test.test(e)?e:t.options.nullStr},dc={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new Ca("t"===e[0]||"T"===e[0]),stringify({source:e,value:t},n){if(e&&dc.test.test(e)){if(t===("t"===e[0]||"T"===e[0]))return e}return t?n.options.trueStr:n.options.falseStr}};function mc({format:e,minFractionDigits:t,tag:n,value:r}){if("bigint"==typeof r)return String(r);const s="number"==typeof r?r:Number(r);if(!isFinite(s))return isNaN(s)?".nan":s<0?"-.inf":".inf";let i=JSON.stringify(r);if(!e&&t&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(i)){let e=i.indexOf(".");e<0&&(e=i.length,i+=".");let n=t-(i.length-e-1);for(;n-- >0;)i+="0"}return i}const Ec={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN))$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:mc},gc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():mc(e)}},Tc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new Ca(parseFloat(e)),n=e.indexOf(".");return-1!==n&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-n-1),t},stringify:mc},Ac=e=>"bigint"==typeof e||Number.isInteger(e),_c=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function yc(e,t,n){const{value:r}=e;return Ac(r)&&r>=0?n+r.toString(t):mc(e)}const bc={identify:e=>Ac(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>_c(e,2,8,n),stringify:e=>yc(e,8,"0o")},kc={identify:Ac,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>_c(e,0,10,n),stringify:mc},Nc={identify:e=>Ac(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>_c(e,2,16,n),stringify:e=>yc(e,16,"0x")},Sc=[cc,hc,pc,fc,dc,bc,kc,Nc,Ec,gc,Tc];function Cc(e){return"bigint"==typeof e||Number.isInteger(e)}const Ic=({value:e})=>JSON.stringify(e),Oc=[{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:Ic},{identify:e=>null==e,createNode:()=>new Ca(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Ic},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,stringify:Ic},{identify:Cc,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>Cc(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:Ic}],Dc=[cc,hc].concat(Oc,{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),Lc={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"==typeof Buffer)return Buffer.from(e,"base64");if("function"==typeof atob){const t=atob(e.replace(/[\n\r]/g,"")),n=new Uint8Array(t.length);for(let e=0;e1&&t("Each pair must have its own sequence indicator");const e=r.items[0]||new tc(new Ca(null));if(r.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${r.commentBefore}\n${e.key.commentBefore}`:r.commentBefore),r.comment){const t=e.value??e.key;t.comment=t.comment?`${r.comment}\n${t.comment}`:r.comment}r=e}e.items[n]=Zo(r)?r:new tc(r)}}else t("Expected a sequence for this tag");return e}function vc(e,t,n){const{replacer:r}=n,s=new lc(e);s.tag="tag:yaml.org,2002:pairs";let i=0;if(t&&Symbol.iterator in Object(t))for(let e of t){let o,a;if("function"==typeof r&&(e=r.call(t,String(i++),e)),Array.isArray(e)){if(2!==e.length)throw new TypeError(`Expected [key, value] tuple: ${e}`);o=e[0],a=e[1]}else if(e&&e instanceof Object){const t=Object.keys(e);if(1!==t.length)throw new TypeError(`Expected tuple with one key, not ${t.length} keys`);o=t[0],a=e[o]}else o=e;s.items.push(ec(o,a,n))}return s}const wc={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Rc,createNode:vc};class Mc extends lc{constructor(){super(),this.add=ac.prototype.add.bind(this),this.delete=ac.prototype.delete.bind(this),this.get=ac.prototype.get.bind(this),this.has=ac.prototype.has.bind(this),this.set=ac.prototype.set.bind(this),this.tag=Mc.tag}toJSON(e,t){if(!t)return super.toJSON(e);const n=new Map;t?.onCreate&&t.onCreate(n);for(const e of this.items){let r,s;if(Zo(e)?(r=ya(e.key,"",t),s=ya(e.value,r,t)):r=ya(e,"",t),n.has(r))throw new Error("Ordered maps must not include duplicate keys");n.set(r,s)}return n}static from(e,t,n){const r=vc(e,t,n),s=new this;return s.items=r.items,s}}Mc.tag="tag:yaml.org,2002:omap";const Pc={collection:"seq",identify:e=>e instanceof Map,nodeClass:Mc,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=Rc(e,t),r=[];for(const{key:e}of n.items)ea(e)&&(r.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):r.push(e.value));return Object.assign(new Mc,n)},createNode:(e,t,n)=>Mc.from(e,t,n)};function xc({value:e,source:t},n){return t&&(e?Bc:Fc).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const Bc={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new Ca(!0),stringify:xc},Fc={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>new Ca(!1),stringify:xc},Uc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:mc},Hc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():mc(e)}},Gc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new Ca(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(-1!==n){const r=e.substring(n+1).replace(/_/g,"");"0"===r[r.length-1]&&(t.minFractionDigits=r.length)}return t},stringify:mc},qc=e=>"bigint"==typeof e||Number.isInteger(e);function Yc(e,t,n,{intAsBigInt:r}){const s=e[0];if("-"!==s&&"+"!==s||(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}const t=BigInt(e);return"-"===s?BigInt(-1)*t:t}const i=parseInt(e,n);return"-"===s?-1*i:i}function jc(e,t,n){const{value:r}=e;if(qc(r)){const e=r.toString(t);return r<0?"-"+n+e.substr(1):n+e}return mc(e)}const zc={identify:qc,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>Yc(e,2,2,n),stringify:e=>jc(e,2,"0b")},Vc={identify:qc,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>Yc(e,1,8,n),stringify:e=>jc(e,8,"0")},Kc={identify:qc,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>Yc(e,0,10,n),stringify:mc},$c={identify:qc,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>Yc(e,2,16,n),stringify:e=>jc(e,16,"0x")};class Qc extends ac{constructor(e){super(e),this.tag=Qc.tag}add(e){let t;t=Zo(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new tc(e.key,null):new tc(e,null);oc(this.items,t.key)||this.items.push(t)}get(e,t){const n=oc(this.items,e);return!t&&Zo(n)?ea(n.key)?n.key.value:n.key:n}set(e,t){if("boolean"!=typeof t)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof t);const n=oc(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new tc(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw new Error("Set items must all have null values")}static from(e,t,n){const{replacer:r}=n,s=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)"function"==typeof r&&(e=r.call(t,e,e)),s.items.push(ec(e,null,n));return s}}Qc.tag="tag:yaml.org,2002:set";const Wc={collection:"map",identify:e=>e instanceof Set,nodeClass:Qc,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>Qc.from(e,t,n),resolve(e,t){if(Jo(e)){if(e.hasAllNullValues(!0))return Object.assign(new Qc,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function Xc(e,t){const n=e[0],r="-"===n||"+"===n?e.substring(1):e,s=e=>t?BigInt(e):Number(e),i=r.replace(/_/g,"").split(":").reduce(((e,t)=>e*s(60)+s(t)),s(0));return"-"===n?s(-1)*i:i}function Jc(e){let{value:t}=e,n=e=>e;if("bigint"==typeof t)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return mc(e);let r="";t<0&&(r="-",t*=n(-1));const s=n(60),i=[t%s];return t<60?i.unshift(0):(t=(t-i[0])/s,i.unshift(t%s),t>=60&&(t=(t-i[0])/s,i.unshift(t))),r+i.map((e=>String(e).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}const Zc={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>Xc(e,n),stringify:Jc},el={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>Xc(e,!1),stringify:Jc},tl={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(tl.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,s,i,o,a]=t.map(Number),c=t[7]?Number((t[7]+"00").substr(1,3)):0;let l=Date.UTC(n,r-1,s,i||0,o||0,a||0,c);const u=t[8];if(u&&"Z"!==u){let e=Xc(u,!1);Math.abs(e)<30&&(e*=60),l-=6e4*e}return new Date(l)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},nl=[cc,hc,pc,fc,Bc,Fc,zc,Vc,Kc,$c,Uc,Hc,Gc,Lc,Pc,wc,Wc,Zc,el,tl],rl=new Map([["core",Sc],["failsafe",[cc,hc,pc]],["json",Dc],["yaml11",nl],["yaml-1.1",nl]]),sl={binary:Lc,bool:dc,float:Tc,floatExp:gc,floatNaN:Ec,floatTime:el,int:kc,intHex:Nc,intOct:bc,intTime:Zc,map:cc,null:fc,omap:Pc,pairs:wc,seq:hc,set:Wc,timestamp:tl},il={"tag:yaml.org,2002:binary":Lc,"tag:yaml.org,2002:omap":Pc,"tag:yaml.org,2002:pairs":wc,"tag:yaml.org,2002:set":Wc,"tag:yaml.org,2002:timestamp":tl};function ol(e,t){let n=rl.get(t);if(!n){if(!Array.isArray(e)){const e=Array.from(rl.keys()).filter((e=>"yaml11"!==e)).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}n=[]}if(Array.isArray(e))for(const t of e)n=n.concat(t);else"function"==typeof e&&(n=e(n.slice()));return n.map((e=>{if("string"!=typeof e)return e;const t=sl[e];if(t)return t;const n=Object.keys(sl).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag "${e}"; use one of ${n}`)}))}const al=(e,t)=>e.keyt.key?1:0;class cl{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:r,schema:s,sortMapEntries:i,toStringDefaults:o}){this.compat=Array.isArray(e)?ol(e,"compat"):e?ol(null,e):null,this.merge=!!n,this.name="string"==typeof s&&s||"core",this.knownTags=r?il:{},this.tags=ol(t,this.name),this.toStringOptions=o??null,Object.defineProperty(this,zo,{value:cc}),Object.defineProperty(this,Ko,{value:pc}),Object.defineProperty(this,$o,{value:hc}),this.sortMapEntries="function"==typeof i?i:!0===i?al:null}clone(){const e=Object.create(cl.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}class ll{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Qo,{value:jo});let r=null;"function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t,t=void 0);const s=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},n);this.options=s;let{version:i}=s;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(i=this.directives.yaml.version)):this.directives=new Ea({version:i}),this.setSchema(i,n),this.contents=void 0===e?null:this.createNode(e,r,n)}clone(){const e=Object.create(ll.prototype,{[Qo]:{value:jo}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=ra(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){ul(this.contents)&&this.contents.add(e)}addIn(e,t){ul(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){const n=Ta(this);e.anchor=!t||n.has(t)?Aa(t||"a",n):t}return new ka(e.anchor)}createNode(e,t,n){let r;if("function"==typeof t)e=t.call({"":e},"",e),r=t;else if(Array.isArray(t)){const e=e=>"number"==typeof e||e instanceof String||e instanceof Number,n=t.filter(e).map(String);n.length>0&&(t=t.concat(n)),r=t}else void 0===n&&t&&(n=t,t=void 0);const{aliasDuplicateObjects:s,anchorPrefix:i,flow:o,keepUndefined:a,onTagObj:c,tag:l}=n??{},{onAnchor:u,setAnchors:h,sourceObjects:p}=function(e,t){const n=[],r=new Map;let s=null;return{onAnchor:r=>{n.push(r),s||(s=Ta(e));const i=Aa(t,s);return s.add(i),i},setAnchors:()=>{for(const e of n){const t=r.get(e);if("object"!=typeof t||!t.anchor||!ea(t.node)&&!na(t.node)){const t=new Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}t.node.anchor=t.anchor}},sourceObjects:r}}(this,i||"a"),f=Oa(e,l,{aliasDuplicateObjects:s??!0,keepUndefined:a??!1,onAnchor:u,onTagObj:c,replacer:r,schema:this.schema,sourceObjects:p});return o&&na(f)&&(f.flow=!0),h(),f}createPair(e,t,n={}){const r=this.createNode(e,null,n),s=this.createNode(t,null,n);return new tc(r,s)}delete(e){return!!ul(this.contents)&&this.contents.delete(e)}deleteIn(e){return La(e)?null!=this.contents&&(this.contents=null,!0):!!ul(this.contents)&&this.contents.deleteIn(e)}get(e,t){return na(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return La(e)?!t&&ea(this.contents)?this.contents.value:this.contents:na(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!na(this.contents)&&this.contents.has(e)}hasIn(e){return La(e)?void 0!==this.contents:!!na(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=Da(this.schema,[e],t):ul(this.contents)&&this.contents.set(e,t)}setIn(e,t){La(e)?this.contents=t:null==this.contents?this.contents=Da(this.schema,Array.from(e),t):ul(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let n;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new Ea({version:"1.1"}),n={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new Ea({version:e}),n={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{const t=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else{if(!n)throw new Error("With a null YAML version, the { schema: Schema } option is required");this.schema=new cl(Object.assign(n,t))}}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:s,reviver:i}={}){const o={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===n,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},a=ya(this.contents,t??"",o);if("function"==typeof s)for(const{count:e,res:t}of o.anchors.values())s(t,e);return"function"==typeof i?_a(i,{"":a},"",a):a}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){const t=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${t}`)}return function(e,t){const n=[];let r=!0===t.directives;if(!1!==t.directives&&e.directives){const t=e.directives.toString(e);t?(n.push(t),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");const s=$a(e,t),{commentString:i}=s.options;if(e.commentBefore){1!==n.length&&n.unshift("");const t=i(e.commentBefore);n.unshift(wa(t,""))}let o=!1,a=null;if(e.contents){if(ra(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){const t=i(e.contents.commentBefore);n.push(wa(t,""))}s.forceBlockIndent=!!e.comment,a=e.contents.comment}const t=a?void 0:()=>o=!0;let c=Qa(e.contents,s,(()=>a=null),t);a&&(c+=Ma(c,"",i(a))),"|"!==c[0]&&">"!==c[0]||"---"!==n[n.length-1]?n.push(c):n[n.length-1]=`--- ${c}`}else n.push(Qa(e.contents,s));if(e.directives?.docEnd)if(e.comment){const t=i(e.comment);t.includes("\n")?(n.push("..."),n.push(wa(t,""))):n.push(`... ${t}`)}else n.push("...");else{let t=e.comment;t&&o&&(t=t.replace(/^\n+/,"")),t&&(o&&!a||""===n[n.length-1]||n.push(""),n.push(wa(i(t),"")))}return n.join("\n")+"\n"}(this,e)}}function ul(e){if(na(e))return!0;throw new Error("Expected a YAML collection as document contents")}class hl extends Error{constructor(e,t,n,r){super(),this.name=e,this.code=n,this.message=r,this.pos=t}}class pl extends hl{constructor(e,t,n){super("YAMLParseError",e,t,n)}}class fl extends hl{constructor(e,t,n){super("YAMLWarning",e,t,n)}}const dl=(e,t)=>n=>{if(-1===n.pos[0])return;n.linePos=n.pos.map((e=>t.linePos(e)));const{line:r,col:s}=n.linePos[0];n.message+=` at line ${r}, column ${s}`;let i=s-1,o=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(i>=60&&o.length>80){const e=Math.min(i-39,o.length-79);o="…"+o.substring(e),i-=e-1}if(o.length>80&&(o=o.substring(0,79)+"…"),r>1&&/^ *$/.test(o.substring(0,i))){let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+"…\n"),o=n+o}if(/[^ ]/.test(o)){let e=1;const t=n.linePos[1];t&&t.line===r&&t.col>s&&(e=Math.max(1,Math.min(t.col-s,80-i)));const a=" ".repeat(i)+"^".repeat(e);n.message+=`:\n\n${o}\n${a}\n`}};function ml(e,{flow:t,indicator:n,next:r,offset:s,onError:i,startOnNewline:o}){let a=!1,c=o,l=o,u="",h="",p=!1,f=!1,d=!1,m=null,E=null,g=null,T=null,A=null;for(const r of e)switch(d&&("space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&i(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),d=!1),r.type){case"space":!t&&c&&"doc-start"!==n&&"\t"===r.source[0]&&i(r,"TAB_AS_INDENT","Tabs are not allowed as indentation"),l=!0;break;case"comment":{l||i(r,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const e=r.source.substring(1)||" ";u?u+=h+e:u=e,h="",c=!1;break}case"newline":c?u?u+=r.source:a=!0:h+=r.source,c=!0,p=!0,(m||E)&&(f=!0),l=!0;break;case"anchor":m&&i(r,"MULTIPLE_ANCHORS","A node can have at most one anchor"),r.source.endsWith(":")&&i(r.offset+r.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),m=r,null===A&&(A=r.offset),c=!1,l=!1,d=!0;break;case"tag":E&&i(r,"MULTIPLE_TAGS","A node can have at most one tag"),E=r,null===A&&(A=r.offset),c=!1,l=!1,d=!0;break;case n:(m||E)&&i(r,"BAD_PROP_ORDER",`Anchors and tags must be after the ${r.source} indicator`),T&&i(r,"UNEXPECTED_TOKEN",`Unexpected ${r.source} in ${t??"collection"}`),T=r,c=!1,l=!1;break;case"comma":if(t){g&&i(r,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),g=r,c=!1,l=!1;break}default:i(r,"UNEXPECTED_TOKEN",`Unexpected ${r.type} token`),c=!1,l=!1}const _=e[e.length-1],y=_?_.offset+_.source.length:s;return d&&r&&"space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&("scalar"!==r.type||""!==r.source)&&i(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),{comma:g,found:T,spaceBefore:a,comment:u,hasNewline:p,hasNewlineAfterProp:f,anchor:m,tag:E,end:y,start:A??y}}function El(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end)for(const t of e.end)if("newline"===t.type)return!0;return!1;case"flow-collection":for(const t of e.items){for(const e of t.start)if("newline"===e.type)return!0;if(t.sep)for(const e of t.sep)if("newline"===e.type)return!0;if(El(t.key)||El(t.value))return!0}return!1;default:return!0}}function gl(e,t,n){if("flow-collection"===t?.type){const r=t.end[0];if(r.indent===e&&("]"===r.source||"}"===r.source)&&El(t)){n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}}function Tl(e,t,n){const{uniqueKeys:r}=e.options;if(!1===r)return!1;const s="function"==typeof r?r:(t,n)=>t===n||ea(t)&&ea(n)&&t.value===n.value&&!("<<"===t.value&&e.schema.merge);return t.some((e=>s(e.key,n)))}const Al="All mapping items must start at the same column";function _l(e,t,n,r){let s="";if(e){let i=!1,o="";for(const a of e){const{source:e,type:c}=a;switch(c){case"space":i=!0;break;case"comment":{n&&!i&&r(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const t=e.substring(1)||" ";s?s+=o+t:s=t,o="";break}case"newline":s&&(o+=e),i=!0;break;default:r(a,"UNEXPECTED_TOKEN",`Unexpected ${c} at node end`)}t+=e.length}}return{comment:s,offset:t}}const yl="Block collections are not allowed within flow collections",bl=e=>e&&("block-map"===e.type||"block-seq"===e.type);function kl(e,t,n,r,s,i){const o="block-map"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,s,i){const o=new(i?.nodeClass??ac)(n.schema);n.atRoot&&(n.atRoot=!1);let a=r.offset,c=null;for(const i of r.items){const{start:l,key:u,sep:h,value:p}=i,f=ml(l,{indicator:"explicit-key-ind",next:u??h?.[0],offset:a,onError:s,startOnNewline:!0}),d=!f.found;if(d){if(u&&("block-seq"===u.type?s(a,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in u&&u.indent!==r.indent&&s(a,"BAD_INDENT",Al)),!f.anchor&&!f.tag&&!h){c=f.end,f.comment&&(o.comment?o.comment+="\n"+f.comment:o.comment=f.comment);continue}(f.hasNewlineAfterProp||El(u))&&s(u??l[l.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else f.found?.indent!==r.indent&&s(a,"BAD_INDENT",Al);const m=f.end,E=u?e(n,u,f,s):t(n,m,l,null,f,s);n.schema.compat&&gl(r.indent,u,s),Tl(n,o.items,E)&&s(m,"DUPLICATE_KEY","Map keys must be unique");const g=ml(h??[],{indicator:"map-value-ind",next:p,offset:E.range[2],onError:s,startOnNewline:!u||"block-scalar"===u.type});if(a=g.end,g.found){d&&("block-map"!==p?.type||g.hasNewline||s(a,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&f.start0){const e=_l(f,d,n.options.strict,s);e.comment&&(c.comment?c.comment+="\n"+e.comment:c.comment=e.comment),c.range=[r.offset,d,e.offset]}else c.range=[r.offset,d,d];return c}(e,t,n,r,i),a=o.constructor;return"!"===s||s===a.tagName?(o.tag=a.tagName,o):(s&&(o.tag=s),o)}function Nl(e,t,n){const r=e.offset,s=function({offset:e,props:t},n,r){if("block-scalar-header"!==t[0].type)return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:s}=t[0],i=s[0];let o=0,a="",c=-1;for(let t=1;t=0;--e){const t=o[e][1];if(""!==t&&"\r"!==t)break;a=e}if(0===a){const t="+"===s.chomp&&o.length>0?"\n".repeat(Math.max(1,o.length-1)):"";let n=r+s.length;return e.source&&(n+=e.source.length),{value:t,type:i,comment:s.comment,range:[r,n,n]}}let c=e.indent+s.indent,l=e.offset+s.length,u=0;for(let e=0;ec&&(c=t.length),l+=t.length+r.length+1}for(let e=o.length-1;e>=a;--e)o[e][0].length>c&&(a=e+1);let h="",p="",f=!1;for(let e=0;ec||"\t"===r[0]?(" "===p?p="\n":f||"\n"!==p||(p="\n\n"),h+=p+t.slice(c)+r,p="\n",f=!0):""===r?"\n"===p?h+="\n":p="\n":(h+=p+r,p=" ",f=!1)}switch(s.chomp){case"-":break;case"+":for(let e=a;en(r+e,t,s);switch(s){case"scalar":a=Ca.PLAIN,c=function(e,t){let n="";switch(e[0]){case"\t":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":n=`block scalar indicator ${e[0]}`;break;case"@":case"`":n=`reserved character ${e[0]}`}n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`);return Cl(e)}(i,l);break;case"single-quoted-scalar":a=Ca.QUOTE_SINGLE,c=function(e,t){"'"===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR","Missing closing 'quote");return Cl(e.slice(1,-1)).replace(/''/g,"'")}(i,l);break;case"double-quoted-scalar":a=Ca.QUOTE_DOUBLE,c=function(e,t){let n="";for(let r=1;rt?e.slice(t,r+1):s)}else n+=s}'"'===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR",'Missing closing "quote');return n}(i,l);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${s}`),{value:"",type:null,comment:"",range:[r,r+i.length,r+i.length]}}const u=r+i.length,h=_l(o,u,t,n);return{value:c,type:a,comment:h.comment,range:[r,u,h.offset]}}function Cl(e){let t,n;try{t=new RegExp("(.*?)(?r(n,"TAG_RESOLVE_FAILED",e))):null,l=n&&c?function(e,t,n,r,s){if("!"===n)return e[Ko];const i=[];for(const t of e.tags)if(!t.collection&&t.tag===n){if(!t.default||!t.test)return t;i.push(t)}for(const e of i)if(e.test?.test(t))return e;const o=e.knownTags[n];if(o&&!o.collection)return e.tags.push(Object.assign({},o,{default:!1,test:void 0})),o;return s(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,"tag:yaml.org,2002:str"!==n),e[Ko]}(e.schema,s,c,n,r):"scalar"===t.type?function({directives:e,schema:t},n,r,s){const i=t.tags.find((e=>e.default&&e.test?.test(n)))||t[Ko];if(t.compat){const o=t.compat.find((e=>e.default&&e.test?.test(n)))??t[Ko];if(i.tag!==o.tag){s(r,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${e.tagString(i.tag)} or ${e.tagString(o.tag)}`,!0)}}return i}(e,s,t,r):e.schema[Ko];let u;try{const i=l.resolve(s,(e=>r(n??t,"TAG_RESOLVE_FAILED",e)),e.options);u=ea(i)?i:new Ca(i)}catch(e){const i=e instanceof Error?e.message:String(e);r(n??t,"TAG_RESOLVE_FAILED",i),u=new Ca(s)}return u.range=a,u.source=s,i&&(u.type=i),c&&(u.tag=c),l.format&&(u.format=l.format),o&&(u.comment=o),u}function Rl(e,t,n){if(t){null===n&&(n=t.length);for(let r=n-1;r>=0;--r){let n=t[r];switch(n.type){case"space":case"comment":case"newline":e-=n.source.length;continue}for(n=t[++r];"space"===n?.type;)e+=n.source.length,n=t[++r];break}}return e}const vl={composeNode:wl,composeEmptyNode:Ml};function wl(e,t,n,r){const{spaceBefore:s,comment:i,anchor:o,tag:a}=n;let c,l=!0;switch(t.type){case"alias":c=function({options:e},{offset:t,source:n,end:r},s){const i=new ka(n.substring(1));""===i.source&&s(t,"BAD_ALIAS","Alias cannot be an empty string");i.source.endsWith(":")&&s(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const o=t+n.length,a=_l(r,o,e.strict,s);i.range=[t,o,a.offset],a.comment&&(i.comment=a.comment);return i}(e,t,r),(o||a)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":c=Ll(e,t,a,r),o&&(c.anchor=o.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":c=function(e,t,n,r,s){const i=r?t.directives.tagName(r.source,(e=>s(r,"TAG_RESOLVE_FAILED",e))):null,o="block-map"===n.type?"map":"block-seq"===n.type?"seq":"{"===n.start.source?"map":"seq";if(!r||!i||"!"===i||i===ac.tagName&&"map"===o||i===lc.tagName&&"seq"===o||!o)return kl(e,t,n,s,i);let a=t.schema.tags.find((e=>e.tag===i&&e.collection===o));if(!a){const c=t.schema.knownTags[i];if(!c||c.collection!==o)return c?.collection?s(r,"BAD_COLLECTION_TYPE",`${c.tag} used for ${o} collection, but expects ${c.collection}`,!0):s(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${i}`,!0),kl(e,t,n,s,i);t.schema.tags.push(Object.assign({},c,{default:!1})),a=c}const c=kl(e,t,n,s,i,a),l=a.resolve?.(c,(e=>s(r,"TAG_RESOLVE_FAILED",e)),t.options)??c,u=ra(l)?l:new Ca(l);return u.range=c.range,u.tag=i,a?.format&&(u.format=a.format),u}(vl,e,t,a,r),o&&(c.anchor=o.source.substring(1));break;default:r(t,"UNEXPECTED_TOKEN","error"===t.type?t.message:`Unsupported token (type: ${t.type})`),c=Ml(e,t.offset,void 0,null,n,r),l=!1}return o&&""===c.anchor&&r(o,"BAD_ALIAS","Anchor cannot be an empty string"),s&&(c.spaceBefore=!0),i&&("scalar"===t.type&&""===t.source?c.comment=i:c.commentBefore=i),e.options.keepSourceTokens&&l&&(c.srcToken=t),c}function Ml(e,t,n,r,{spaceBefore:s,comment:i,anchor:o,tag:a,end:c},l){const u=Ll(e,{type:"scalar",offset:Rl(t,n,r),indent:-1,source:""},a,l);return o&&(u.anchor=o.source.substring(1),""===u.anchor&&l(o,"BAD_ALIAS","Anchor cannot be an empty string")),s&&(u.spaceBefore=!0),i&&(u.comment=i,u.range[2]=c),u}function Pl(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+("string"==typeof n?n.length:1)]}function xl(e){let t="",n=!1,r=!1;for(let s=0;s{const s=Pl(e);r?this.warnings.push(new fl(s,t,n)):this.errors.push(new pl(s,t,n))},this.directives=new Ea({version:e.version||"1.2"}),this.options=e}decorate(e,t){const{comment:n,afterEmptyLine:r}=xl(this.prelude);if(n){const s=e.contents;if(t)e.comment=e.comment?`${e.comment}\n${n}`:n;else if(r||e.directives.docStart||!s)e.commentBefore=n;else if(na(s)&&!s.flow&&s.items.length>0){let e=s.items[0];Zo(e)&&(e=e.key);const t=e.commentBefore;e.commentBefore=t?`${n}\n${t}`:n}else{const e=s.commentBefore;s.commentBefore=e?`${n}\n${e}`:n}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:xl(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){for(const t of e)yield*this.next(t);yield*this.end(t,n)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,((t,n,r)=>{const s=Pl(e);s[0]+=t,this.onError(s,"BAD_DIRECTIVE",n,r)})),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{const t=function(e,t,{offset:n,start:r,value:s,end:i},o){const a=Object.assign({_directives:t},e),c=new ll(void 0,a),l={atRoot:!0,directives:c.directives,options:c.options,schema:c.schema},u=ml(r,{indicator:"doc-start",next:s??i?.[0],offset:n,onError:o,startOnNewline:!0});u.found&&(c.directives.docStart=!0,!s||"block-map"!==s.type&&"block-seq"!==s.type||u.hasNewline||o(u.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),c.contents=s?wl(l,s,u,o):Ml(l,u.end,r,null,u,o);const h=c.contents.range[2],p=_l(i,h,!1,o);return p.comment&&(c.comment=p.comment),c.range=[n,h,p.offset],c}(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{const t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new pl(Pl(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){const t="Unexpected doc-end without preceding document";this.errors.push(new pl(Pl(e),"UNEXPECTED_TOKEN",t));break}this.doc.directives.docEnd=!0;const t=_l(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){const e=this.doc.comment;this.doc.comment=e?`${e}\n${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new pl(Pl(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){const e=Object.assign({_directives:this.directives},this.options),n=new ll(void 0,e);this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),n.range=[0,t,t],this.decorate(n,!1),yield n}}}function Fl(e,t){if(t)for(const n of t)switch(n.type){case"space":case"comment":e.push(n);break;case"newline":return e.push(n),!0}return!1}function Ul(e,t,n){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=n,e.source=t;break;case"block-scalar":{const r=e.props.slice(1);let s=t.length;"block-scalar-header"===e.props[0].type&&(s-=e.props[0].source.length);for(const e of r)e.offset+=s;delete e.props,Object.assign(e,{type:n,source:t,end:r});break}case"block-map":case"block-seq":{const r={type:"newline",offset:e.offset+t.length,indent:e.indent,source:"\n"};delete e.items,Object.assign(e,{type:n,source:t,end:[r]});break}default:{const r="indent"in e?e.indent:-1,s="end"in e&&Array.isArray(e.end)?e.end.filter((e=>"space"===e.type||"comment"===e.type||"newline"===e.type)):[];for(const t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:n,indent:r,source:t,end:s})}}}function Hl(e){switch(e.type){case"block-scalar":{let t="";for(const n of e.props)t+=Hl(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(const n of e.items)t+=Gl(n);return t}case"flow-collection":{let t=e.start.source;for(const n of e.items)t+=Gl(n);for(const n of e.end)t+=n.source;return t}case"document":{let t=Gl(e);if(e.end)for(const n of e.end)t+=n.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(const n of e.end)t+=n.source;return t}}}function Gl({start:e,key:t,sep:n,value:r}){let s="";for(const t of e)s+=t.source;if(t&&(s+=Hl(t)),n)for(const e of n)s+=e.source;return r&&(s+=Hl(r)),s}const ql=Symbol("break visit"),Yl=Symbol("skip children"),jl=Symbol("remove item");function zl(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),Vl(Object.freeze([]),e,t)}function Vl(e,t,n){let r=n(t,e);if("symbol"==typeof r)return r;for(const s of["key","value"]){const i=t[s];if(i&&"items"in i){for(let t=0;t{let n=e;for(const[e,r]of t){const t=n?.[e];if(!t||!("items"in t))return;n=t.items[r]}return n},zl.parentCollection=(e,t)=>{const n=zl.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],s=n?.[r];if(s&&"items"in s)return s;throw new Error("Parent collection not found")};const Kl="\ufeff",$l="",Ql="",Wl="";function Xl(e){switch(e){case Kl:return"byte-order-mark";case $l:return"doc-mode";case Ql:return"flow-error-end";case Wl:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}var Jl=Object.freeze({__proto__:null,BOM:Kl,DOCUMENT:$l,FLOW_END:Ql,SCALAR:Wl,isCollection:e=>!!e&&"items"in e,isScalar:e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type),prettyToken:function(e){switch(e){case Kl:return"";case $l:return"";case Ql:return"";case Wl:return"";default:return JSON.stringify(e)}},tokenType:Xl,createScalarToken:function(e,t){const{implicitKey:n=!1,indent:r,inFlow:s=!1,offset:i=-1,type:o="PLAIN"}=t,a=Ka({type:o,value:e},{implicitKey:n,indent:r>0?" ".repeat(r):"",inFlow:s,options:{blockQuote:!0,lineWidth:-1}}),c=t.end??[{type:"newline",offset:-1,indent:r,source:"\n"}];switch(a[0]){case"|":case">":{const e=a.indexOf("\n"),t=a.substring(0,e),n=a.substring(e+1)+"\n",s=[{type:"block-scalar-header",offset:i,indent:r,source:t}];return Fl(s,c)||s.push({type:"newline",offset:-1,indent:r,source:"\n"}),{type:"block-scalar",offset:i,indent:r,props:s,source:n}}case'"':return{type:"double-quoted-scalar",offset:i,indent:r,source:a,end:c};case"'":return{type:"single-quoted-scalar",offset:i,indent:r,source:a,end:c};default:return{type:"scalar",offset:i,indent:r,source:a,end:c}}},resolveAsScalar:function(e,t=!0,n){if(e){const r=(e,t,r)=>{const s="number"==typeof e?e:Array.isArray(e)?e[0]:e.offset;if(!n)throw new pl([s,s+1],t,r);n(s,t,r)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return Sl(e,t,r);case"block-scalar":return Nl(e,t,r)}}return null},setScalarValue:function(e,t,n={}){let{afterKey:r=!1,implicitKey:s=!1,inFlow:i=!1,type:o}=n,a="indent"in e?e.indent:null;if(r&&"number"==typeof a&&(a+=2),!o)switch(e.type){case"single-quoted-scalar":o="QUOTE_SINGLE";break;case"double-quoted-scalar":o="QUOTE_DOUBLE";break;case"block-scalar":{const t=e.props[0];if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header");o=">"===t.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:o="PLAIN"}const c=Ka({type:o,value:t},{implicitKey:s||null===a,indent:null!==a&&a>0?" ".repeat(a):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}});switch(c[0]){case"|":case">":!function(e,t){const n=t.indexOf("\n"),r=t.substring(0,n),s=t.substring(n+1)+"\n";if("block-scalar"===e.type){const t=e.props[0];if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header");t.source=r,e.source=s}else{const{offset:t}=e,n="indent"in e?e.indent:-1,i=[{type:"block-scalar-header",offset:t,indent:n,source:r}];Fl(i,"end"in e?e.end:void 0)||i.push({type:"newline",offset:-1,indent:n,source:"\n"});for(const t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:"block-scalar",indent:n,props:i,source:s})}}(e,c);break;case'"':Ul(e,c,"double-quoted-scalar");break;case"'":Ul(e,c,"single-quoted-scalar");break;default:Ul(e,c,"scalar")}},stringify:e=>"type"in e?Hl(e):Gl(e),visit:zl});function Zl(e){switch(e){case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}const eu="0123456789ABCDEFabcdef".split(""),tu="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""),nu=",[]{}".split(""),ru=" ,[]{}\n\r\t".split(""),su=e=>!e||ru.includes(e);class iu{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){e&&(this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null),this.atEnd=!t;let n=this.next??"stream";for(;n&&(t||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||"\t"===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let n=0;for(;" "===t;)t=this.buffer[++n+e];if("\r"===t){const t=this.buffer[n+e+1];if("\n"===t||!t&&!this.atEnd)return e+n+1}return"\n"===t||n>=this.indentNext||!t&&!this.atEnd?e+n:-1}if("-"===t||"."===t){const t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&Zl(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return("number"!=typeof e||-1!==e&&ethis.indentValue&&!Zl(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&Zl(t)){const e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(su),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=(yield*this.parseBlockScalarHeader()),t+=(yield*this.pushSpaces(!0)),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,n=-1;do{e=yield*this.pushNewline(),e>0?(t=yield*this.pushSpaces(!1),this.indentValue=n=t):t=0,t+=(yield*this.pushSpaces(!0))}while(e+t>0);const r=this.getLine();if(null===r)return this.setNext("flow");if(-1!==n&&n"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break}return yield*this.pushUntil((e=>Zl(e)||"#"===e))}*parseBlockScalar(){let e,t=this.pos-1,n=0;e:for(let r=this.pos;e=this.buffer[r];++r)switch(e){case" ":n+=1;break;case"\n":t=r,n=0;break;case"\r":{const e=this.buffer[r+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=n:this.indentNext+=this.blockScalarIndent;do{const e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}if(!this.blockScalarKeep)for(;;){let e=t-1,r=this.buffer[e];"\r"===r&&(r=this.buffer[--e]);const s=e;for(;" "===r||"\t"===r;)r=this.buffer[--e];if(!("\n"===r&&e>=this.pos&&e+1+n>s))break;t=e}return yield Wl,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const e=this.flowLevel>0;let t,n=this.pos-1,r=this.pos-1;for(;t=this.buffer[++r];)if(":"===t){const t=this.buffer[r+1];if(Zl(t)||e&&","===t)break;n=r}else if(Zl(t)){let s=this.buffer[r+1];if("\r"===t&&("\n"===s?(r+=1,t="\n",s=this.buffer[r+1]):n=r),"#"===s||e&&nu.includes(s))break;if("\n"===t){const e=this.continueScalar(r+1);if(-1===e)break;r=Math.max(r,e-2)}}else{if(e&&nu.includes(t))break;n=r}return t||this.atEnd?(yield Wl,yield*this.pushToIndex(n+1,!0),e?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){const n=this.buffer.slice(this.pos,e);return n?(yield n,this.pos+=n.length,n.length):(t&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(su))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const e=this.flowLevel>0,t=this.charAt(1);if(Zl(t)||e&&nu.includes(t))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!Zl(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(tu.includes(t))t=this.buffer[++e];else{if("%"!==t||!eu.includes(this.buffer[e+1])||!eu.includes(this.buffer[e+2]))break;t=this.buffer[e+=3]}return yield*this.pushToIndex(e,!1)}}*pushNewline(){const e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,n=this.pos-1;do{t=this.buffer[++n]}while(" "===t||e&&"\t"===t);const r=n-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=n),r}*pushUntil(e){let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}class ou{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,n=this.lineStarts.length;for(;t>1;this.lineStarts[r]=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;"space"===e[++t]?.type;);return e.splice(t,e.length)}function pu(e){if("flow-seq-start"===e.start.type)for(const t of e.items)!t.sep||t.value||au(t.start,"explicit-key-ind")||au(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,lu(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}class fu{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new iu,this.onNewLine=e}*parse(e,t=!1){this.onNewLine&&0===this.offset&&this.onNewLine(0);for(const n of this.lexer.lex(e,t))yield*this.next(n);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar)return this.atScalar=!1,yield*this.step(),void(this.offset+=e.length);const t=Xl(e);if(t)if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{const t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const e=this.peek(1);if("doc-end"!==this.type||e&&"doc-end"===e.type){if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}else{for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source})}}peek(e){return this.stack[this.stack.length-e]}*pop(e){const t=e??this.stack.pop();if(t)if(0===this.stack.length)yield t;else{const e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&pu(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{const n=e.items[e.items.length-1];if(n.value)return e.items.push({start:[],key:t,sep:[]}),void(this.onKeyLine=!0);if(!n.sep)return Object.assign(n,{key:t,sep:[]}),void(this.onKeyLine=!au(n.start,"explicit-key-ind"));n.value=t;break}case"block-seq":{const n=e.items[e.items.length-1];n.value?e.items.push({start:[],value:t}):n.value=t;break}case"flow-collection":{const n=e.items[e.items.length-1];return void(!n||n.value?e.items.push({start:[],key:t,sep:[]}):n.sep?n.value=t:Object.assign(n,{key:t,sep:[]}))}default:yield*this.pop(),yield*this.pop(t)}if(!("document"!==e.type&&"block-map"!==e.type&&"block-seq"!==e.type||"block-map"!==t.type&&"block-seq"!==t.type)){const n=t.items[t.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&-1===cu(n.start)&&(0===t.indent||n.start.every((e=>"comment"!==e.type||e.indent=e.indent){const n=!this.onKeyLine&&this.indent===e.indent&&t.sep;let r=[];if(n&&t.sep&&!t.value){const n=[];for(let r=0;re.indent&&(n.length=0);break;default:n.length=0}}n.length>=2&&(r=t.sep.splice(n[1]))}switch(this.type){case"anchor":case"tag":return void(n||t.value?(r.push(this.sourceToken),e.items.push({start:r}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"explicit-key-ind":return t.sep||au(t.start,"explicit-key-ind")?n||t.value?(r.push(this.sourceToken),e.items.push({start:r})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]}):t.start.push(this.sourceToken),void(this.onKeyLine=!0);case"map-value-ind":if(au(t.start,"explicit-key-ind"))if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(au(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]});else if(lu(t.key)&&!au(t.sep,"newline")){const e=hu(t.start),n=t.key,r=t.sep;r.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:n,sep:r}]})}else r.length>0?t.sep=t.sep.concat(r,this.sourceToken):t.sep.push(this.sourceToken);else if(au(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{const e=hu(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||n?e.items.push({start:r,key:null,sep:[this.sourceToken]}):au(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return void(this.onKeyLine=!0);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const s=this.flowScalar(this.type);return void(n||t.value?(e.items.push({start:r,key:s,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(s):(Object.assign(t,{key:s,sep:[]}),this.onKeyLine=!0))}default:{const s=this.startBlockValue(e);if(s)return n&&"block-seq"!==s.type&&au(t.start,"explicit-key-ind")&&e.items.push({start:r}),void this.stack.push(s)}}}yield*this.pop(),yield*this.step()}*blockSequence(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){const n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0;"comment"===r?.type?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){const n=e.items[e.items.length-2],r=n?.value?.end;if(Array.isArray(r))return Array.prototype.push.apply(r,t.start),r.push(this.sourceToken),void e.items.pop()}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;return void t.start.push(this.sourceToken);case"seq-item-ind":if(this.indent!==e.indent)break;return void(t.value||au(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken))}if(this.indent>e.indent){const t=this.startBlockValue(e);if(t)return void this.stack.push(t)}yield*this.pop(),yield*this.step()}*flowCollection(e){const t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do{yield*this.pop(),e=this.peek(1)}while(e&&"flow-collection"===e.type)}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":return void(!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken));case"map-value-ind":return void(!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]}));case"space":case"comment":case"newline":case"anchor":case"tag":return void(!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const n=this.flowScalar(this.type);return void(!t||t.value?e.items.push({start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]}))}case"flow-map-end":case"flow-seq-end":return void e.end.push(this.sourceToken)}const n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{const t=this.peek(2);if("block-map"===t.type&&("map-value-ind"===this.type&&t.indent===e.indent||"newline"===this.type&&!t.items[t.items.length-1].sep))yield*this.pop(),yield*this.step();else if("map-value-ind"===this.type&&"flow-collection"!==t.type){const n=hu(uu(t));pu(e);const r=e.end.splice(1,e.end.length);r.push(this.sourceToken);const s={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=s}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const t=hu(uu(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t}]}}case"map-value-ind":{this.onKeyLine=!0;const t=hu(uu(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&(!(this.indent<=t)&&e.every((e=>"newline"===e.type||"space"===e.type)))}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}function du(e){const t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new ou||null,prettyErrors:t}}function mu(e,t={}){const{lineCounter:n,prettyErrors:r}=du(t),s=new fu(n?.addNewLine),i=new Bl(t);let o=null;for(const t of i.compose(s.parse(e),!0,e.length))if(o){if("silent"!==o.options.logLevel){o.errors.push(new pl(t.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else o=t;return r&&n&&(o.errors.forEach(dl(e,n)),o.warnings.forEach(dl(e,n))),o}var Eu=Object.freeze({__proto__:null,CST:Jl,Composer:Bl,Document:ll,Schema:cl,YAMLError:hl,YAMLParseError:pl,YAMLWarning:fl,Alias:ka,isAlias:Wo,isCollection:na,isDocument:Xo,isMap:Jo,isNode:ra,isPair:Zo,isScalar:ea,isSeq:ta,Pair:tc,Scalar:Ca,YAMLMap:ac,YAMLSeq:lc,Lexer:iu,LineCounter:ou,Parser:fu,parse:function(e,t,n){let r;"function"==typeof t?r=t:void 0===n&&t&&"object"==typeof t&&(n=t);const s=mu(e,n);if(!s)return null;if(s.warnings.forEach((e=>Wa(s.options.logLevel,e))),s.errors.length>0){if("silent"!==s.options.logLevel)throw s.errors[0];s.errors=[]}return s.toJS(Object.assign({reviver:r},n))},parseAllDocuments:function(e,t={}){const{lineCounter:n,prettyErrors:r}=du(t),s=new fu(n?.addNewLine),i=new Bl(t),o=Array.from(i.compose(s.parse(e)));if(r&&n)for(const t of o)t.errors.forEach(dl(e,n)),t.warnings.forEach(dl(e,n));return o.length>0?o:Object.assign([],{empty:!0},i.streamInfo())},parseDocument:mu,stringify:function(e,t,n){let r=null;if("function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t),"string"==typeof n&&(n=n.length),"number"==typeof n){const e=Math.round(n);n=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){const{keepUndefined:e}=n??t??{};if(!e)return}return new ll(e,r,n).toString(n)},visit:ca,visitAsync:ua});function gu(e,t){return e&&"run"in e?async function(n,r){const s=Or(n,t);await e.run(s,r)}:function(n){return Or(n,t||e)}}function Tu(e){const t={...this.data("settings"),...e};this.compiler=function(e){return Vs(e,t)}}const Au=/[#.]/g;const _u=new Set(["button","menu","reset","submit"]),yu={}.hasOwnProperty;function bu(e,t,n){const r=n&&function(e){const t={};let n=-1;for(;++n-1&&ee)return{line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e}},toOffset:function(e){const t=e&&e.line,r=e&&e.column;if("number"==typeof t&&"number"==typeof r&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){const e=(n[t-2]||0)+r-1||0;if(e>-1&&e=55296&&e<=57343}function eh(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function th(e){return e>=64976&&e<=65007||ju.has(e)}var nh;!function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"}(nh=nh||(nh={}));class rh{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){const{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.html.charCodeAt(this.pos+1);if(function(e){return e>=56320&&e<=57343}(t))return this.pos++,this._addGap(),1024*(e-55296)+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Vu.EOF;return this._err(nh.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Vu.EOF;const n=this.html.charCodeAt(t);return n===Vu.CARRIAGE_RETURN?Vu.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Vu.EOF;let e=this.html.charCodeAt(this.pos);if(e===Vu.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,Vu.LINE_FEED;if(e===Vu.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,Zu(e)&&(e=this._processSurrogate(e));return null===this.handler.onParseError||e>31&&e<127||e===Vu.LINE_FEED||e===Vu.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){eh(e)?this._err(nh.controlCharacterInInputStream):th(e)&&this._err(nh.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}!function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"}(sh=sh||(sh={}));var oh,ah=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e=>e.charCodeAt(0)))),ch=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));const lh=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),uh=null!==(oh=String.fromCodePoint)&&void 0!==oh?oh:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};var hh;!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(hh||(hh={}));var ph,fh,dh,mh,Eh,gh,Th,Ah;function _h(e){return e>=hh.ZERO&&e<=hh.NINE}function yh(e){return e>=hh.UPPER_A&&e<=hh.UPPER_F||e>=hh.LOWER_A&&e<=hh.LOWER_F}function bh(e){return e===hh.EQUALS||function(e){return e>=hh.UPPER_A&&e<=hh.UPPER_Z||e>=hh.LOWER_A&&e<=hh.LOWER_Z||_h(e)}(e)}!function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(ph||(ph={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(fh||(fh={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(dh||(dh={}));class kh{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=fh.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=dh.Strict}startEntity(e){this.decodeMode=e,this.state=fh.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case fh.EntityStart:return e.charCodeAt(t)===hh.NUM?(this.state=fh.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=fh.NamedEntity,this.stateNamedEntity(e,t));case fh.NumericStart:return this.stateNumericStart(e,t);case fh.NumericDecimal:return this.stateNumericDecimal(e,t);case fh.NumericHex:return this.stateNumericHex(e,t);case fh.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===hh.LOWER_X?(this.state=fh.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=fh.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){const s=n-t;this.result=this.result*Math.pow(r,s)+parseInt(e.substr(t,s),r),this.consumed+=s}}stateNumericHex(e,t){const n=t;for(;t=55296&&e<=57343||e>1114111?65533:null!==(t=lh.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(e!==hh.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this;let r=n[this.treeIndex],s=(r&ph.VALUE_LENGTH)>>14;for(;t>14,0!==s){if(i===hh.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==dh.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this,r=(n[t]&ph.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~ph.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case fh.NamedEntity:return 0===this.result||this.decodeMode===dh.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case fh.NumericDecimal:return this.emitNumericEntity(0,2);case fh.NumericHex:return this.emitNumericEntity(0,3);case fh.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case fh.EntityStart:return 0}}}function Nh(e){let t="";const n=new kh(e,(e=>t+=uh(e)));return function(e,r){let s=0,i=0;for(;(i=e.indexOf("&",i))>=0;){t+=e.slice(s,i),n.startEntity(r);const o=n.write(e,i+1);if(o<0){s=i+n.end();break}s=i+o,i=0===o?s+1:s}const o=t+e.slice(s);return t="",o}}function Sh(e,t,n,r){const s=(t&ph.BRANCH_LENGTH)>>7,i=t&ph.JUMP_TABLE;if(0===s)return 0!==i&&r===i?n:-1;if(i){const t=r-i;return t<0||t>=s?-1:e[n+t]-1}let o=n,a=o+s-1;for(;o<=a;){const t=o+a>>>1,n=e[t];if(nr))return e[t+s];a=t-1}}return-1}Nh(ah),Nh(ch),function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"}(mh=mh||(mh={})),function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"}(Eh=Eh||(Eh={})),function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"}(gh=gh||(gh={})),function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"}(Th=Th||(Th={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SECTION=94]="SECTION",e[e.SELECT=95]="SELECT",e[e.SOURCE=96]="SOURCE",e[e.SMALL=97]="SMALL",e[e.SPAN=98]="SPAN",e[e.STRIKE=99]="STRIKE",e[e.STRONG=100]="STRONG",e[e.STYLE=101]="STYLE",e[e.SUB=102]="SUB",e[e.SUMMARY=103]="SUMMARY",e[e.SUP=104]="SUP",e[e.TABLE=105]="TABLE",e[e.TBODY=106]="TBODY",e[e.TEMPLATE=107]="TEMPLATE",e[e.TEXTAREA=108]="TEXTAREA",e[e.TFOOT=109]="TFOOT",e[e.TD=110]="TD",e[e.TH=111]="TH",e[e.THEAD=112]="THEAD",e[e.TITLE=113]="TITLE",e[e.TR=114]="TR",e[e.TRACK=115]="TRACK",e[e.TT=116]="TT",e[e.U=117]="U",e[e.UL=118]="UL",e[e.SVG=119]="SVG",e[e.VAR=120]="VAR",e[e.WBR=121]="WBR",e[e.XMP=122]="XMP"}(Ah=Ah||(Ah={}));const Ch=new Map([[Th.A,Ah.A],[Th.ADDRESS,Ah.ADDRESS],[Th.ANNOTATION_XML,Ah.ANNOTATION_XML],[Th.APPLET,Ah.APPLET],[Th.AREA,Ah.AREA],[Th.ARTICLE,Ah.ARTICLE],[Th.ASIDE,Ah.ASIDE],[Th.B,Ah.B],[Th.BASE,Ah.BASE],[Th.BASEFONT,Ah.BASEFONT],[Th.BGSOUND,Ah.BGSOUND],[Th.BIG,Ah.BIG],[Th.BLOCKQUOTE,Ah.BLOCKQUOTE],[Th.BODY,Ah.BODY],[Th.BR,Ah.BR],[Th.BUTTON,Ah.BUTTON],[Th.CAPTION,Ah.CAPTION],[Th.CENTER,Ah.CENTER],[Th.CODE,Ah.CODE],[Th.COL,Ah.COL],[Th.COLGROUP,Ah.COLGROUP],[Th.DD,Ah.DD],[Th.DESC,Ah.DESC],[Th.DETAILS,Ah.DETAILS],[Th.DIALOG,Ah.DIALOG],[Th.DIR,Ah.DIR],[Th.DIV,Ah.DIV],[Th.DL,Ah.DL],[Th.DT,Ah.DT],[Th.EM,Ah.EM],[Th.EMBED,Ah.EMBED],[Th.FIELDSET,Ah.FIELDSET],[Th.FIGCAPTION,Ah.FIGCAPTION],[Th.FIGURE,Ah.FIGURE],[Th.FONT,Ah.FONT],[Th.FOOTER,Ah.FOOTER],[Th.FOREIGN_OBJECT,Ah.FOREIGN_OBJECT],[Th.FORM,Ah.FORM],[Th.FRAME,Ah.FRAME],[Th.FRAMESET,Ah.FRAMESET],[Th.H1,Ah.H1],[Th.H2,Ah.H2],[Th.H3,Ah.H3],[Th.H4,Ah.H4],[Th.H5,Ah.H5],[Th.H6,Ah.H6],[Th.HEAD,Ah.HEAD],[Th.HEADER,Ah.HEADER],[Th.HGROUP,Ah.HGROUP],[Th.HR,Ah.HR],[Th.HTML,Ah.HTML],[Th.I,Ah.I],[Th.IMG,Ah.IMG],[Th.IMAGE,Ah.IMAGE],[Th.INPUT,Ah.INPUT],[Th.IFRAME,Ah.IFRAME],[Th.KEYGEN,Ah.KEYGEN],[Th.LABEL,Ah.LABEL],[Th.LI,Ah.LI],[Th.LINK,Ah.LINK],[Th.LISTING,Ah.LISTING],[Th.MAIN,Ah.MAIN],[Th.MALIGNMARK,Ah.MALIGNMARK],[Th.MARQUEE,Ah.MARQUEE],[Th.MATH,Ah.MATH],[Th.MENU,Ah.MENU],[Th.META,Ah.META],[Th.MGLYPH,Ah.MGLYPH],[Th.MI,Ah.MI],[Th.MO,Ah.MO],[Th.MN,Ah.MN],[Th.MS,Ah.MS],[Th.MTEXT,Ah.MTEXT],[Th.NAV,Ah.NAV],[Th.NOBR,Ah.NOBR],[Th.NOFRAMES,Ah.NOFRAMES],[Th.NOEMBED,Ah.NOEMBED],[Th.NOSCRIPT,Ah.NOSCRIPT],[Th.OBJECT,Ah.OBJECT],[Th.OL,Ah.OL],[Th.OPTGROUP,Ah.OPTGROUP],[Th.OPTION,Ah.OPTION],[Th.P,Ah.P],[Th.PARAM,Ah.PARAM],[Th.PLAINTEXT,Ah.PLAINTEXT],[Th.PRE,Ah.PRE],[Th.RB,Ah.RB],[Th.RP,Ah.RP],[Th.RT,Ah.RT],[Th.RTC,Ah.RTC],[Th.RUBY,Ah.RUBY],[Th.S,Ah.S],[Th.SCRIPT,Ah.SCRIPT],[Th.SECTION,Ah.SECTION],[Th.SELECT,Ah.SELECT],[Th.SOURCE,Ah.SOURCE],[Th.SMALL,Ah.SMALL],[Th.SPAN,Ah.SPAN],[Th.STRIKE,Ah.STRIKE],[Th.STRONG,Ah.STRONG],[Th.STYLE,Ah.STYLE],[Th.SUB,Ah.SUB],[Th.SUMMARY,Ah.SUMMARY],[Th.SUP,Ah.SUP],[Th.TABLE,Ah.TABLE],[Th.TBODY,Ah.TBODY],[Th.TEMPLATE,Ah.TEMPLATE],[Th.TEXTAREA,Ah.TEXTAREA],[Th.TFOOT,Ah.TFOOT],[Th.TD,Ah.TD],[Th.TH,Ah.TH],[Th.THEAD,Ah.THEAD],[Th.TITLE,Ah.TITLE],[Th.TR,Ah.TR],[Th.TRACK,Ah.TRACK],[Th.TT,Ah.TT],[Th.U,Ah.U],[Th.UL,Ah.UL],[Th.SVG,Ah.SVG],[Th.VAR,Ah.VAR],[Th.WBR,Ah.WBR],[Th.XMP,Ah.XMP]]);function Ih(e){var t;return null!==(t=Ch.get(e))&&void 0!==t?t:Ah.UNKNOWN}const Oh=Ah,Dh={[mh.HTML]:new Set([Oh.ADDRESS,Oh.APPLET,Oh.AREA,Oh.ARTICLE,Oh.ASIDE,Oh.BASE,Oh.BASEFONT,Oh.BGSOUND,Oh.BLOCKQUOTE,Oh.BODY,Oh.BR,Oh.BUTTON,Oh.CAPTION,Oh.CENTER,Oh.COL,Oh.COLGROUP,Oh.DD,Oh.DETAILS,Oh.DIR,Oh.DIV,Oh.DL,Oh.DT,Oh.EMBED,Oh.FIELDSET,Oh.FIGCAPTION,Oh.FIGURE,Oh.FOOTER,Oh.FORM,Oh.FRAME,Oh.FRAMESET,Oh.H1,Oh.H2,Oh.H3,Oh.H4,Oh.H5,Oh.H6,Oh.HEAD,Oh.HEADER,Oh.HGROUP,Oh.HR,Oh.HTML,Oh.IFRAME,Oh.IMG,Oh.INPUT,Oh.LI,Oh.LINK,Oh.LISTING,Oh.MAIN,Oh.MARQUEE,Oh.MENU,Oh.META,Oh.NAV,Oh.NOEMBED,Oh.NOFRAMES,Oh.NOSCRIPT,Oh.OBJECT,Oh.OL,Oh.P,Oh.PARAM,Oh.PLAINTEXT,Oh.PRE,Oh.SCRIPT,Oh.SECTION,Oh.SELECT,Oh.SOURCE,Oh.STYLE,Oh.SUMMARY,Oh.TABLE,Oh.TBODY,Oh.TD,Oh.TEMPLATE,Oh.TEXTAREA,Oh.TFOOT,Oh.TH,Oh.THEAD,Oh.TITLE,Oh.TR,Oh.TRACK,Oh.UL,Oh.WBR,Oh.XMP]),[mh.MATHML]:new Set([Oh.MI,Oh.MO,Oh.MN,Oh.MS,Oh.MTEXT,Oh.ANNOTATION_XML]),[mh.SVG]:new Set([Oh.TITLE,Oh.FOREIGN_OBJECT,Oh.DESC]),[mh.XLINK]:new Set,[mh.XML]:new Set,[mh.XMLNS]:new Set};function Lh(e){return e===Oh.H1||e===Oh.H2||e===Oh.H3||e===Oh.H4||e===Oh.H5||e===Oh.H6}new Set([Th.STYLE,Th.SCRIPT,Th.XMP,Th.IFRAME,Th.NOEMBED,Th.NOFRAMES,Th.PLAINTEXT]);const Rh=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);var vh;!function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",e[e.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",e[e.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",e[e.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",e[e.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",e[e.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"}(vh||(vh={}));const wh={DATA:vh.DATA,RCDATA:vh.RCDATA,RAWTEXT:vh.RAWTEXT,SCRIPT_DATA:vh.SCRIPT_DATA,PLAINTEXT:vh.PLAINTEXT,CDATA_SECTION:vh.CDATA_SECTION};function Mh(e){return e>=Vu.DIGIT_0&&e<=Vu.DIGIT_9}function Ph(e){return e>=Vu.LATIN_CAPITAL_A&&e<=Vu.LATIN_CAPITAL_Z}function xh(e){return function(e){return e>=Vu.LATIN_SMALL_A&&e<=Vu.LATIN_SMALL_Z}(e)||Ph(e)}function Bh(e){return xh(e)||Mh(e)}function Fh(e){return e>=Vu.LATIN_CAPITAL_A&&e<=Vu.LATIN_CAPITAL_F}function Uh(e){return e>=Vu.LATIN_SMALL_A&&e<=Vu.LATIN_SMALL_F}function Hh(e){return e+32}function Gh(e){return e===Vu.SPACE||e===Vu.LINE_FEED||e===Vu.TABULATION||e===Vu.FORM_FEED}function qh(e){return Gh(e)||e===Vu.SOLIDUS||e===Vu.GREATER_THAN_SIGN}class Yh{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=vh.DATA,this.returnState=vh.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new rh(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(nh.endTagWithAttributes),e.selfClosing&&this._err(nh.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case sh.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case sh.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case sh.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:sh.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type===e)return void(this.currentCharacterToken.chars+=t);this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk()}this._createCharacterToken(e,t)}_emitCodePoint(e){const t=Gh(e)?sh.WHITESPACE_CHARACTER:e===Vu.NULL?sh.NULL_CHARACTER:sh.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(sh.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=ah[0];i>=0&&(i=Sh(ah,o,i+1,e),!(i<0));e=this._consume()){n+=1,o=ah[i];const a=o&ph.VALUE_LENGTH;if(a){const o=(a>>14)-1;if(e!==Vu.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((s=this.preprocessor.peek(1))===Vu.EQUALS_SIGN||Bh(s))?(t=[Vu.AMPERSAND],i+=o):(t=0===o?[ah[i]&~ph.VALUE_LENGTH]:1===o?[ah[++i]]:[ah[++i],ah[++i]],n=0,r=e!==Vu.SEMICOLON),0===o){this._consume();break}}}var s;return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(nh.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===vh.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===vh.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===vh.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case vh.DATA:this._stateData(e);break;case vh.RCDATA:this._stateRcdata(e);break;case vh.RAWTEXT:this._stateRawtext(e);break;case vh.SCRIPT_DATA:this._stateScriptData(e);break;case vh.PLAINTEXT:this._statePlaintext(e);break;case vh.TAG_OPEN:this._stateTagOpen(e);break;case vh.END_TAG_OPEN:this._stateEndTagOpen(e);break;case vh.TAG_NAME:this._stateTagName(e);break;case vh.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case vh.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case vh.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case vh.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case vh.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case vh.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case vh.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case vh.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case vh.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case vh.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case vh.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case vh.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case vh.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case vh.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case vh.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case vh.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case vh.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case vh.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case vh.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case vh.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case vh.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case vh.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case vh.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case vh.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case vh.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case vh.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case vh.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case vh.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case vh.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case vh.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case vh.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case vh.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case vh.BOGUS_COMMENT:this._stateBogusComment(e);break;case vh.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case vh.COMMENT_START:this._stateCommentStart(e);break;case vh.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case vh.COMMENT:this._stateComment(e);break;case vh.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case vh.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case vh.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case vh.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case vh.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case vh.COMMENT_END:this._stateCommentEnd(e);break;case vh.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case vh.DOCTYPE:this._stateDoctype(e);break;case vh.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case vh.DOCTYPE_NAME:this._stateDoctypeName(e);break;case vh.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case vh.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case vh.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case vh.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case vh.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case vh.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case vh.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case vh.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case vh.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case vh.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case vh.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case vh.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case vh.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case vh.CDATA_SECTION:this._stateCdataSection(e);break;case vh.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case vh.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case vh.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case vh.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case vh.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case vh.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case vh.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case vh.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case vh.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case vh.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw new Error("Unknown state")}}_stateData(e){switch(e){case Vu.LESS_THAN_SIGN:this.state=vh.TAG_OPEN;break;case Vu.AMPERSAND:this.returnState=vh.DATA,this.state=vh.CHARACTER_REFERENCE;break;case Vu.NULL:this._err(nh.unexpectedNullCharacter),this._emitCodePoint(e);break;case Vu.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case Vu.AMPERSAND:this.returnState=vh.RCDATA,this.state=vh.CHARACTER_REFERENCE;break;case Vu.LESS_THAN_SIGN:this.state=vh.RCDATA_LESS_THAN_SIGN;break;case Vu.NULL:this._err(nh.unexpectedNullCharacter),this._emitChars(zu);break;case Vu.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case Vu.LESS_THAN_SIGN:this.state=vh.RAWTEXT_LESS_THAN_SIGN;break;case Vu.NULL:this._err(nh.unexpectedNullCharacter),this._emitChars(zu);break;case Vu.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case Vu.LESS_THAN_SIGN:this.state=vh.SCRIPT_DATA_LESS_THAN_SIGN;break;case Vu.NULL:this._err(nh.unexpectedNullCharacter),this._emitChars(zu);break;case Vu.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case Vu.NULL:this._err(nh.unexpectedNullCharacter),this._emitChars(zu);break;case Vu.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(xh(e))this._createStartTagToken(),this.state=vh.TAG_NAME,this._stateTagName(e);else switch(e){case Vu.EXCLAMATION_MARK:this.state=vh.MARKUP_DECLARATION_OPEN;break;case Vu.SOLIDUS:this.state=vh.END_TAG_OPEN;break;case Vu.QUESTION_MARK:this._err(nh.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=vh.BOGUS_COMMENT,this._stateBogusComment(e);break;case Vu.EOF:this._err(nh.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(nh.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=vh.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(xh(e))this._createEndTagToken(),this.state=vh.TAG_NAME,this._stateTagName(e);else switch(e){case Vu.GREATER_THAN_SIGN:this._err(nh.missingEndTagName),this.state=vh.DATA;break;case Vu.EOF:this._err(nh.eofBeforeTagName),this._emitChars("");break;case Vu.NULL:this._err(nh.unexpectedNullCharacter),this.state=vh.SCRIPT_DATA_ESCAPED,this._emitChars(zu);break;case Vu.EOF:this._err(nh.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=vh.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===Vu.SOLIDUS?this.state=vh.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:xh(e)?(this._emitChars("<"),this.state=vh.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=vh.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){xh(e)?(this.state=vh.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case Vu.NULL:this._err(nh.unexpectedNullCharacter),this.state=vh.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(zu);break;case Vu.EOF:this._err(nh.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=vh.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===Vu.SOLIDUS?(this.state=vh.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=vh.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(Wu,!1)&&qh(this.preprocessor.peek(Wu.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(nh.characterReferenceOutsideUnicodeRange),this.charRefCode=Vu.REPLACEMENT_CHARACTER;else if(Zu(this.charRefCode))this._err(nh.surrogateCharacterReference),this.charRefCode=Vu.REPLACEMENT_CHARACTER;else if(th(this.charRefCode))this._err(nh.noncharacterCharacterReference);else if(eh(this.charRefCode)||this.charRefCode===Vu.CARRIAGE_RETURN){this._err(nh.controlCharacterReference);const e=Rh.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}const jh=new Set([Ah.DD,Ah.DT,Ah.LI,Ah.OPTGROUP,Ah.OPTION,Ah.P,Ah.RB,Ah.RP,Ah.RT,Ah.RTC]),zh=new Set([...jh,Ah.CAPTION,Ah.COLGROUP,Ah.TBODY,Ah.TD,Ah.TFOOT,Ah.TH,Ah.THEAD,Ah.TR]),Vh=new Map([[Ah.APPLET,mh.HTML],[Ah.CAPTION,mh.HTML],[Ah.HTML,mh.HTML],[Ah.MARQUEE,mh.HTML],[Ah.OBJECT,mh.HTML],[Ah.TABLE,mh.HTML],[Ah.TD,mh.HTML],[Ah.TEMPLATE,mh.HTML],[Ah.TH,mh.HTML],[Ah.ANNOTATION_XML,mh.MATHML],[Ah.MI,mh.MATHML],[Ah.MN,mh.MATHML],[Ah.MO,mh.MATHML],[Ah.MS,mh.MATHML],[Ah.MTEXT,mh.MATHML],[Ah.DESC,mh.SVG],[Ah.FOREIGN_OBJECT,mh.SVG],[Ah.TITLE,mh.SVG]]),Kh=[Ah.H1,Ah.H2,Ah.H3,Ah.H4,Ah.H5,Ah.H6],$h=[Ah.TR,Ah.TEMPLATE,Ah.HTML],Qh=[Ah.TBODY,Ah.TFOOT,Ah.THEAD,Ah.TEMPLATE,Ah.HTML],Wh=[Ah.TABLE,Ah.TEMPLATE,Ah.HTML],Xh=[Ah.TD,Ah.TH];class Jh{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=Ah.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===Ah.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===mh.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){const r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do{t=this.tagIDs.lastIndexOf(e,t-1)}while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==mh.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return-1}clearBackTo(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(Wh,mh.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Qh,mh.HTML)}clearBackToTableRowContext(){this.clearBackTo($h,mh.HTML)}remove(e){const t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===Ah.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===Ah.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===mh.HTML)return!0;if(Vh.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(Lh(t)&&n===mh.HTML)return!0;if(Vh.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===mh.HTML)return!0;if((n===Ah.UL||n===Ah.OL)&&r===mh.HTML||Vh.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===mh.HTML)return!0;if(n===Ah.BUTTON&&r===mh.HTML||Vh.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===mh.HTML){if(n===e)return!0;if(n===Ah.TABLE||n===Ah.TEMPLATE||n===Ah.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];if(this.treeAdapter.getNamespaceURI(this.items[e])===mh.HTML){if(t===Ah.TBODY||t===Ah.THEAD||t===Ah.TFOOT)return!0;if(t===Ah.TABLE||t===Ah.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===mh.HTML){if(n===e)return!0;if(n!==Ah.OPTION&&n!==Ah.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;jh.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;zh.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&zh.has(this.currentTagId);)this.pop()}}var Zh;!function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"}(Zh=Zh||(Zh={}));const ep={type:Zh.Marker};class tp{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){const n=[],r=t.length,s=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])));let s=0;for(let e=0;er.get(e.name)===e.value))&&(s+=1,s>=3&&this.entries.splice(t.idx,1))}}insertMarker(){this.entries.unshift(ep)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:Zh.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:Zh.Element,element:e,token:t})}removeEntry(e){const t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){const e=this.entries.indexOf(ep);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){const t=this.entries.find((t=>t.type===Zh.Marker||this.treeAdapter.getTagName(t.element)===e));return t&&t.type===Zh.Element?t:null}getElementEntry(e){return this.entries.find((t=>t.type===Zh.Element&&t.element===e))}}function np(e){return{nodeName:"#text",value:e,parentNode:null}}const rp={createDocument:()=>({nodeName:"#document",mode:gh.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){const s=e.childNodes.find((e=>"#documentType"===e.nodeName));if(s)s.name=t,s.publicId=n,s.systemId=r;else{const s={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};rp.appendChild(e,s)}},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(rp.isTextNode(n))return void(n.value+=t)}rp.appendChild(e,np(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&rp.isTextNode(r)?r.value+=t:rp.insertBefore(e,np(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map((e=>e.name)));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},sp="html",ip="about:legacy-compat",op="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",ap=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],cp=[...ap,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],lp=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),up=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],hp=[...up,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function pp(e,t){return t.some((t=>e.startsWith(t)))}const fp={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},dp="definitionurl",mp="definitionURL",Ep=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((e=>[e.toLowerCase(),e]))),gp=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:mh.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:mh.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:mh.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:mh.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:mh.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:mh.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:mh.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:mh.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:mh.XML}],["xml:space",{prefix:"xml",name:"space",namespace:mh.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:mh.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:mh.XMLNS}]]),Tp=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((e=>[e.toLowerCase(),e]))),Ap=new Set([Ah.B,Ah.BIG,Ah.BLOCKQUOTE,Ah.BODY,Ah.BR,Ah.CENTER,Ah.CODE,Ah.DD,Ah.DIV,Ah.DL,Ah.DT,Ah.EM,Ah.EMBED,Ah.H1,Ah.H2,Ah.H3,Ah.H4,Ah.H5,Ah.H6,Ah.HEAD,Ah.HR,Ah.I,Ah.IMG,Ah.LI,Ah.LISTING,Ah.MENU,Ah.META,Ah.NOBR,Ah.OL,Ah.P,Ah.PRE,Ah.RUBY,Ah.S,Ah.SMALL,Ah.SPAN,Ah.STRONG,Ah.STRIKE,Ah.SUB,Ah.SUP,Ah.TABLE,Ah.TT,Ah.U,Ah.UL,Ah.VAR]);function _p(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):({current:e,currentTagId:t}=this.openElements),this._setContextModes(e,t)}}_setContextModes(e,t){const n=e===this.document||this.treeAdapter.getNamespaceURI(e)===mh.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,mh.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=Ip.TEXT}switchToPlaintextParsing(){this.insertionMode=Ip.TEXT,this.originalInsertionMode=Ip.IN_BODY,this.tokenizer.state=wh.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===Th.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===mh.HTML)switch(this.fragmentContextID){case Ah.TITLE:case Ah.TEXTAREA:this.tokenizer.state=wh.RCDATA;break;case Ah.STYLE:case Ah.XMP:case Ah.IFRAME:case Ah.NOEMBED:case Ah.NOFRAMES:case Ah.NOSCRIPT:this.tokenizer.state=wh.RAWTEXT;break;case Ah.SCRIPT:this.tokenizer.state=wh.SCRIPT_DATA;break;case Ah.PLAINTEXT:this.tokenizer.state=wh.PLAINTEXT}}_setDocumentType(e){const t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){const t=this.treeAdapter.getChildNodes(this.document).find((e=>this.treeAdapter.isDocumentTypeNode(e)));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){const n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){const n=this.treeAdapter.createElement(e,mh.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,mh.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(Th.HTML,mh.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,Ah.HTML)}_appendCommentNode(e,t){const n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?(({parent:t,beforeElement:n}=this._findFosterParentingLocation()),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;const r=this.treeAdapter.getChildNodes(t),s=n?r.lastIndexOf(n):r.length,i=r[s-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){const{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const n=t.location,r=this.treeAdapter.getTagName(e),s=t.type===sh.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,s)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,n;return 0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):({current:t,currentTagId:n}=this.openElements),(e.tagID!==Ah.SVG||this.treeAdapter.getTagName(t)!==Th.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==mh.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===Ah.MGLYPH||e.tagID===Ah.MALIGNMARK)&&!this._isIntegrationPoint(n,t,mh.HTML))}_processToken(e){switch(e.type){case sh.CHARACTER:this.onCharacter(e);break;case sh.NULL_CHARACTER:this.onNullCharacter(e);break;case sh.COMMENT:this.onComment(e);break;case sh.DOCTYPE:this.onDoctype(e);break;case sh.START_TAG:this._processStartTag(e);break;case sh.END_TAG:this.onEndTag(e);break;case sh.EOF:this.onEof(e);break;case sh.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){return kp(e,this.treeAdapter.getNamespaceURI(t),this.treeAdapter.getAttrList(t),n)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.entries.length;if(e){const t=this.activeFormattingElements.entries.findIndex((e=>e.type===Zh.Marker||this.openElements.contains(e.element)));for(let n=t<0?e-1:t-1;n>=0;n--){const e=this.activeFormattingElements.entries[n];this._insertElement(e.token,this.treeAdapter.getNamespaceURI(e.element)),e.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Ip.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(Ah.P),this.openElements.popUntilTagNamePopped(Ah.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case Ah.TR:return void(this.insertionMode=Ip.IN_ROW);case Ah.TBODY:case Ah.THEAD:case Ah.TFOOT:return void(this.insertionMode=Ip.IN_TABLE_BODY);case Ah.CAPTION:return void(this.insertionMode=Ip.IN_CAPTION);case Ah.COLGROUP:return void(this.insertionMode=Ip.IN_COLUMN_GROUP);case Ah.TABLE:return void(this.insertionMode=Ip.IN_TABLE);case Ah.BODY:return void(this.insertionMode=Ip.IN_BODY);case Ah.FRAMESET:return void(this.insertionMode=Ip.IN_FRAMESET);case Ah.SELECT:return void this._resetInsertionModeForSelect(e);case Ah.TEMPLATE:return void(this.insertionMode=this.tmplInsertionModeStack[0]);case Ah.HTML:return void(this.insertionMode=this.headElement?Ip.AFTER_HEAD:Ip.BEFORE_HEAD);case Ah.TD:case Ah.TH:if(e>0)return void(this.insertionMode=Ip.IN_CELL);break;case Ah.HEAD:if(e>0)return void(this.insertionMode=Ip.IN_HEAD)}this.insertionMode=Ip.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.tagIDs[t];if(e===Ah.TEMPLATE)break;if(e===Ah.TABLE)return void(this.insertionMode=Ip.IN_SELECT_IN_TABLE)}this.insertionMode=Ip.IN_SELECT}_isElementCausesFosterParenting(e){return Dp.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case Ah.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===mh.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case Ah.TABLE:{const n=this.treeAdapter.getParentNode(t);return n?{parent:n,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){const n=this.treeAdapter.getNamespaceURI(e);return Dh[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e);else switch(this.insertionMode){case Ip.INITIAL:Gp(this,e);break;case Ip.BEFORE_HTML:qp(this,e);break;case Ip.BEFORE_HEAD:Yp(this,e);break;case Ip.IN_HEAD:Vp(this,e);break;case Ip.IN_HEAD_NO_SCRIPT:Kp(this,e);break;case Ip.AFTER_HEAD:$p(this,e);break;case Ip.IN_BODY:case Ip.IN_CAPTION:case Ip.IN_CELL:case Ip.IN_TEMPLATE:Xp(this,e);break;case Ip.TEXT:case Ip.IN_SELECT:case Ip.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case Ip.IN_TABLE:case Ip.IN_TABLE_BODY:case Ip.IN_ROW:af(this,e);break;case Ip.IN_TABLE_TEXT:pf(this,e);break;case Ip.IN_COLUMN_GROUP:Ef(this,e);break;case Ip.AFTER_BODY:Sf(this,e);break;case Ip.AFTER_AFTER_BODY:Cf(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){t.chars=zu,e._insertCharacters(t)}(this,e);else switch(this.insertionMode){case Ip.INITIAL:Gp(this,e);break;case Ip.BEFORE_HTML:qp(this,e);break;case Ip.BEFORE_HEAD:Yp(this,e);break;case Ip.IN_HEAD:Vp(this,e);break;case Ip.IN_HEAD_NO_SCRIPT:Kp(this,e);break;case Ip.AFTER_HEAD:$p(this,e);break;case Ip.TEXT:this._insertCharacters(e);break;case Ip.IN_TABLE:case Ip.IN_TABLE_BODY:case Ip.IN_ROW:af(this,e);break;case Ip.IN_COLUMN_GROUP:Ef(this,e);break;case Ip.AFTER_BODY:Sf(this,e);break;case Ip.AFTER_AFTER_BODY:Cf(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML)Up(this,e);else switch(this.insertionMode){case Ip.INITIAL:case Ip.BEFORE_HTML:case Ip.BEFORE_HEAD:case Ip.IN_HEAD:case Ip.IN_HEAD_NO_SCRIPT:case Ip.AFTER_HEAD:case Ip.IN_BODY:case Ip.IN_TABLE:case Ip.IN_CAPTION:case Ip.IN_COLUMN_GROUP:case Ip.IN_TABLE_BODY:case Ip.IN_ROW:case Ip.IN_CELL:case Ip.IN_SELECT:case Ip.IN_SELECT_IN_TABLE:case Ip.IN_TEMPLATE:case Ip.IN_FRAMESET:case Ip.AFTER_FRAMESET:Up(this,e);break;case Ip.IN_TABLE_TEXT:ff(this,e);break;case Ip.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case Ip.AFTER_AFTER_BODY:case Ip.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case Ip.INITIAL:!function(e,t){e._setDocumentType(t);const n=t.forceQuirks?gh.QUIRKS:function(e){if(e.name!==sp)return gh.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===op)return gh.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),lp.has(n))return gh.QUIRKS;let e=null===t?cp:ap;if(pp(n,e))return gh.QUIRKS;if(e=null===t?up:hp,pp(n,e))return gh.LIMITED_QUIRKS}return gh.NO_QUIRKS}(t);(function(e){return e.name===sp&&null===e.publicId&&(null===e.systemId||e.systemId===ip)})(t)||e._err(t,nh.nonConformingDoctype);e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=Ip.BEFORE_HTML}(this,e);break;case Ip.BEFORE_HEAD:case Ip.IN_HEAD:case Ip.IN_HEAD_NO_SCRIPT:case Ip.AFTER_HEAD:this._err(e,nh.misplacedDoctype);break;case Ip.IN_TABLE_TEXT:ff(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,nh.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){const t=e.tagID;return t===Ah.FONT&&e.attrs.some((({name:e})=>e===Eh.COLOR||e===Eh.SIZE||e===Eh.FACE))||Ap.has(t)}(t))If(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===mh.MATHML?_p(t):r===mh.SVG&&(!function(e){const t=Tp.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=Ih(e.tagName))}(t),yp(t)),bp(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case Ip.INITIAL:Gp(this,e);break;case Ip.BEFORE_HTML:!function(e,t){t.tagID===Ah.HTML?(e._insertElement(t,mh.HTML),e.insertionMode=Ip.BEFORE_HEAD):qp(e,t)}(this,e);break;case Ip.BEFORE_HEAD:!function(e,t){switch(t.tagID){case Ah.HTML:nf(e,t);break;case Ah.HEAD:e._insertElement(t,mh.HTML),e.headElement=e.openElements.current,e.insertionMode=Ip.IN_HEAD;break;default:Yp(e,t)}}(this,e);break;case Ip.IN_HEAD:jp(this,e);break;case Ip.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case Ah.HTML:nf(e,t);break;case Ah.BASEFONT:case Ah.BGSOUND:case Ah.HEAD:case Ah.LINK:case Ah.META:case Ah.NOFRAMES:case Ah.STYLE:jp(e,t);break;case Ah.NOSCRIPT:e._err(t,nh.nestedNoscriptInHead);break;default:Kp(e,t)}}(this,e);break;case Ip.AFTER_HEAD:!function(e,t){switch(t.tagID){case Ah.HTML:nf(e,t);break;case Ah.BODY:e._insertElement(t,mh.HTML),e.framesetOk=!1,e.insertionMode=Ip.IN_BODY;break;case Ah.FRAMESET:e._insertElement(t,mh.HTML),e.insertionMode=Ip.IN_FRAMESET;break;case Ah.BASE:case Ah.BASEFONT:case Ah.BGSOUND:case Ah.LINK:case Ah.META:case Ah.NOFRAMES:case Ah.SCRIPT:case Ah.STYLE:case Ah.TEMPLATE:case Ah.TITLE:e._err(t,nh.abandonedHeadElementChild),e.openElements.push(e.headElement,Ah.HEAD),jp(e,t),e.openElements.remove(e.headElement);break;case Ah.HEAD:e._err(t,nh.misplacedStartTagForHeadElement);break;default:$p(e,t)}}(this,e);break;case Ip.IN_BODY:nf(this,e);break;case Ip.IN_TABLE:cf(this,e);break;case Ip.IN_TABLE_TEXT:ff(this,e);break;case Ip.IN_CAPTION:!function(e,t){const n=t.tagID;df.has(n)?e.openElements.hasInTableScope(Ah.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Ah.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Ip.IN_TABLE,cf(e,t)):nf(e,t)}(this,e);break;case Ip.IN_COLUMN_GROUP:mf(this,e);break;case Ip.IN_TABLE_BODY:gf(this,e);break;case Ip.IN_ROW:Af(this,e);break;case Ip.IN_CELL:!function(e,t){const n=t.tagID;df.has(n)?(e.openElements.hasInTableScope(Ah.TD)||e.openElements.hasInTableScope(Ah.TH))&&(e._closeTableCell(),Af(e,t)):nf(e,t)}(this,e);break;case Ip.IN_SELECT:yf(this,e);break;case Ip.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===Ah.CAPTION||n===Ah.TABLE||n===Ah.TBODY||n===Ah.TFOOT||n===Ah.THEAD||n===Ah.TR||n===Ah.TD||n===Ah.TH?(e.openElements.popUntilTagNamePopped(Ah.SELECT),e._resetInsertionMode(),e._processStartTag(t)):yf(e,t)}(this,e);break;case Ip.IN_TEMPLATE:!function(e,t){switch(t.tagID){case Ah.BASE:case Ah.BASEFONT:case Ah.BGSOUND:case Ah.LINK:case Ah.META:case Ah.NOFRAMES:case Ah.SCRIPT:case Ah.STYLE:case Ah.TEMPLATE:case Ah.TITLE:jp(e,t);break;case Ah.CAPTION:case Ah.COLGROUP:case Ah.TBODY:case Ah.TFOOT:case Ah.THEAD:e.tmplInsertionModeStack[0]=Ip.IN_TABLE,e.insertionMode=Ip.IN_TABLE,cf(e,t);break;case Ah.COL:e.tmplInsertionModeStack[0]=Ip.IN_COLUMN_GROUP,e.insertionMode=Ip.IN_COLUMN_GROUP,mf(e,t);break;case Ah.TR:e.tmplInsertionModeStack[0]=Ip.IN_TABLE_BODY,e.insertionMode=Ip.IN_TABLE_BODY,gf(e,t);break;case Ah.TD:case Ah.TH:e.tmplInsertionModeStack[0]=Ip.IN_ROW,e.insertionMode=Ip.IN_ROW,Af(e,t);break;default:e.tmplInsertionModeStack[0]=Ip.IN_BODY,e.insertionMode=Ip.IN_BODY,nf(e,t)}}(this,e);break;case Ip.AFTER_BODY:!function(e,t){t.tagID===Ah.HTML?nf(e,t):Sf(e,t)}(this,e);break;case Ip.IN_FRAMESET:!function(e,t){switch(t.tagID){case Ah.HTML:nf(e,t);break;case Ah.FRAMESET:e._insertElement(t,mh.HTML);break;case Ah.FRAME:e._appendElement(t,mh.HTML),t.ackSelfClosing=!0;break;case Ah.NOFRAMES:jp(e,t)}}(this,e);break;case Ip.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case Ah.HTML:nf(e,t);break;case Ah.NOFRAMES:jp(e,t)}}(this,e);break;case Ip.AFTER_AFTER_BODY:!function(e,t){t.tagID===Ah.HTML?nf(e,t):Cf(e,t)}(this,e);break;case Ip.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case Ah.HTML:nf(e,t);break;case Ah.NOFRAMES:jp(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===Ah.P||t.tagID===Ah.BR)return If(e),void e._endTagOutsideForeignContent(t);for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===mh.HTML){e._endTagOutsideForeignContent(t);break}const s=e.treeAdapter.getTagName(r);if(s.toLowerCase()===t.tagName){t.tagName=s,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case Ip.INITIAL:Gp(this,e);break;case Ip.BEFORE_HTML:!function(e,t){const n=t.tagID;n!==Ah.HTML&&n!==Ah.HEAD&&n!==Ah.BODY&&n!==Ah.BR||qp(e,t)}(this,e);break;case Ip.BEFORE_HEAD:!function(e,t){const n=t.tagID;n===Ah.HEAD||n===Ah.BODY||n===Ah.HTML||n===Ah.BR?Yp(e,t):e._err(t,nh.endTagWithoutMatchingOpenElement)}(this,e);break;case Ip.IN_HEAD:!function(e,t){switch(t.tagID){case Ah.HEAD:e.openElements.pop(),e.insertionMode=Ip.AFTER_HEAD;break;case Ah.BODY:case Ah.BR:case Ah.HTML:Vp(e,t);break;case Ah.TEMPLATE:zp(e,t);break;default:e._err(t,nh.endTagWithoutMatchingOpenElement)}}(this,e);break;case Ip.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case Ah.NOSCRIPT:e.openElements.pop(),e.insertionMode=Ip.IN_HEAD;break;case Ah.BR:Kp(e,t);break;default:e._err(t,nh.endTagWithoutMatchingOpenElement)}}(this,e);break;case Ip.AFTER_HEAD:!function(e,t){switch(t.tagID){case Ah.BODY:case Ah.HTML:case Ah.BR:$p(e,t);break;case Ah.TEMPLATE:zp(e,t);break;default:e._err(t,nh.endTagWithoutMatchingOpenElement)}}(this,e);break;case Ip.IN_BODY:sf(this,e);break;case Ip.TEXT:!function(e,t){var n;t.tagID===Ah.SCRIPT&&(null===(n=e.scriptHandler)||void 0===n||n.call(e,e.openElements.current));e.openElements.pop(),e.insertionMode=e.originalInsertionMode}(this,e);break;case Ip.IN_TABLE:lf(this,e);break;case Ip.IN_TABLE_TEXT:ff(this,e);break;case Ip.IN_CAPTION:!function(e,t){const n=t.tagID;switch(n){case Ah.CAPTION:case Ah.TABLE:e.openElements.hasInTableScope(Ah.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Ah.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Ip.IN_TABLE,n===Ah.TABLE&&lf(e,t));break;case Ah.BODY:case Ah.COL:case Ah.COLGROUP:case Ah.HTML:case Ah.TBODY:case Ah.TD:case Ah.TFOOT:case Ah.TH:case Ah.THEAD:case Ah.TR:break;default:sf(e,t)}}(this,e);break;case Ip.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case Ah.COLGROUP:e.openElements.currentTagId===Ah.COLGROUP&&(e.openElements.pop(),e.insertionMode=Ip.IN_TABLE);break;case Ah.TEMPLATE:zp(e,t);break;case Ah.COL:break;default:Ef(e,t)}}(this,e);break;case Ip.IN_TABLE_BODY:Tf(this,e);break;case Ip.IN_ROW:_f(this,e);break;case Ip.IN_CELL:!function(e,t){const n=t.tagID;switch(n){case Ah.TD:case Ah.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Ip.IN_ROW);break;case Ah.TABLE:case Ah.TBODY:case Ah.TFOOT:case Ah.THEAD:case Ah.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),_f(e,t));break;case Ah.BODY:case Ah.CAPTION:case Ah.COL:case Ah.COLGROUP:case Ah.HTML:break;default:sf(e,t)}}(this,e);break;case Ip.IN_SELECT:bf(this,e);break;case Ip.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===Ah.CAPTION||n===Ah.TABLE||n===Ah.TBODY||n===Ah.TFOOT||n===Ah.THEAD||n===Ah.TR||n===Ah.TD||n===Ah.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(Ah.SELECT),e._resetInsertionMode(),e.onEndTag(t)):bf(e,t)}(this,e);break;case Ip.IN_TEMPLATE:!function(e,t){t.tagID===Ah.TEMPLATE&&zp(e,t)}(this,e);break;case Ip.AFTER_BODY:Nf(this,e);break;case Ip.IN_FRAMESET:!function(e,t){t.tagID!==Ah.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagId===Ah.FRAMESET||(e.insertionMode=Ip.AFTER_FRAMESET))}(this,e);break;case Ip.AFTER_FRAMESET:!function(e,t){t.tagID===Ah.HTML&&(e.insertionMode=Ip.AFTER_AFTER_FRAMESET)}(this,e);break;case Ip.AFTER_AFTER_BODY:Cf(this,e)}}onEof(e){switch(this.insertionMode){case Ip.INITIAL:Gp(this,e);break;case Ip.BEFORE_HTML:qp(this,e);break;case Ip.BEFORE_HEAD:Yp(this,e);break;case Ip.IN_HEAD:Vp(this,e);break;case Ip.IN_HEAD_NO_SCRIPT:Kp(this,e);break;case Ip.AFTER_HEAD:$p(this,e);break;case Ip.IN_BODY:case Ip.IN_TABLE:case Ip.IN_CAPTION:case Ip.IN_COLUMN_GROUP:case Ip.IN_TABLE_BODY:case Ip.IN_ROW:case Ip.IN_CELL:case Ip.IN_SELECT:case Ip.IN_SELECT_IN_TABLE:of(this,e);break;case Ip.TEXT:!function(e,t){e._err(t,nh.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}(this,e);break;case Ip.IN_TABLE_TEXT:ff(this,e);break;case Ip.IN_TEMPLATE:kf(this,e);break;case Ip.AFTER_BODY:case Ip.IN_FRAMESET:case Ip.AFTER_FRAMESET:case Ip.AFTER_AFTER_BODY:case Ip.AFTER_AFTER_FRAMESET:Hp(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===Vu.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)this._insertCharacters(e);else switch(this.insertionMode){case Ip.IN_HEAD:case Ip.IN_HEAD_NO_SCRIPT:case Ip.AFTER_HEAD:case Ip.TEXT:case Ip.IN_COLUMN_GROUP:case Ip.IN_SELECT:case Ip.IN_SELECT_IN_TABLE:case Ip.IN_FRAMESET:case Ip.AFTER_FRAMESET:this._insertCharacters(e);break;case Ip.IN_BODY:case Ip.IN_CAPTION:case Ip.IN_CELL:case Ip.IN_TEMPLATE:case Ip.AFTER_BODY:case Ip.AFTER_AFTER_BODY:case Ip.AFTER_AFTER_FRAMESET:Wp(this,e);break;case Ip.IN_TABLE:case Ip.IN_TABLE_BODY:case Ip.IN_ROW:af(this,e);break;case Ip.IN_TABLE_TEXT:hf(this,e)}}}function vp(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):rf(e,t),n}function wp(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const s=e.openElements.items[r];if(s===t.element)break;e._isSpecialElement(s,e.openElements.tagIDs[r])&&(n=s)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}function Mp(e,t,n){let r=t,s=e.openElements.getCommonAncestor(t);for(let i=0,o=s;o!==n;i++,o=s){s=e.openElements.getCommonAncestor(o);const n=e.activeFormattingElements.getElementEntry(o),a=n&&i>=Cp;!n||a?(a&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=Pp(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function Pp(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function xp(e,t,n){const r=Ih(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{const s=e.treeAdapter.getNamespaceURI(t);r===Ah.TEMPLATE&&s===mh.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function Bp(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:s}=n,i=e.treeAdapter.createElement(s.tagName,r,s.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,s),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,s.tagID)}function Fp(e,t){for(let n=0;n=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){const n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function Gp(e,t){e._err(t,nh.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,gh.QUIRKS),e.insertionMode=Ip.BEFORE_HTML,e._processToken(t)}function qp(e,t){e._insertFakeRootElement(),e.insertionMode=Ip.BEFORE_HEAD,e._processToken(t)}function Yp(e,t){e._insertFakeElement(Th.HEAD,Ah.HEAD),e.headElement=e.openElements.current,e.insertionMode=Ip.IN_HEAD,e._processToken(t)}function jp(e,t){switch(t.tagID){case Ah.HTML:nf(e,t);break;case Ah.BASE:case Ah.BASEFONT:case Ah.BGSOUND:case Ah.LINK:case Ah.META:e._appendElement(t,mh.HTML),t.ackSelfClosing=!0;break;case Ah.TITLE:e._switchToTextParsing(t,wh.RCDATA);break;case Ah.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,wh.RAWTEXT):(e._insertElement(t,mh.HTML),e.insertionMode=Ip.IN_HEAD_NO_SCRIPT);break;case Ah.NOFRAMES:case Ah.STYLE:e._switchToTextParsing(t,wh.RAWTEXT);break;case Ah.SCRIPT:e._switchToTextParsing(t,wh.SCRIPT_DATA);break;case Ah.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=Ip.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(Ip.IN_TEMPLATE);break;case Ah.HEAD:e._err(t,nh.misplacedStartTagForHeadElement);break;default:Vp(e,t)}}function zp(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==Ah.TEMPLATE&&e._err(t,nh.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(Ah.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,nh.endTagWithoutMatchingOpenElement)}function Vp(e,t){e.openElements.pop(),e.insertionMode=Ip.AFTER_HEAD,e._processToken(t)}function Kp(e,t){const n=t.type===sh.EOF?nh.openElementsLeftAfterEof:nh.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=Ip.IN_HEAD,e._processToken(t)}function $p(e,t){e._insertFakeElement(Th.BODY,Ah.BODY),e.insertionMode=Ip.IN_BODY,Qp(e,t)}function Qp(e,t){switch(t.type){case sh.CHARACTER:Xp(e,t);break;case sh.WHITESPACE_CHARACTER:Wp(e,t);break;case sh.COMMENT:Up(e,t);break;case sh.START_TAG:nf(e,t);break;case sh.END_TAG:sf(e,t);break;case sh.EOF:of(e,t)}}function Wp(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Xp(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Jp(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,mh.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Zp(e){const t=ih(e,Eh.TYPE);return null!=t&&t.toLowerCase()===Np}function ef(e,t){e._switchToTextParsing(t,wh.RAWTEXT)}function tf(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,mh.HTML)}function nf(e,t){switch(t.tagID){case Ah.I:case Ah.S:case Ah.B:case Ah.U:case Ah.EM:case Ah.TT:case Ah.BIG:case Ah.CODE:case Ah.FONT:case Ah.SMALL:case Ah.STRIKE:case Ah.STRONG:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,mh.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case Ah.A:!function(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(Th.A);n&&(Fp(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,mh.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case Ah.H1:case Ah.H2:case Ah.H3:case Ah.H4:case Ah.H5:case Ah.H6:!function(e,t){e.openElements.hasInButtonScope(Ah.P)&&e._closePElement(),Lh(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,mh.HTML)}(e,t);break;case Ah.P:case Ah.DL:case Ah.OL:case Ah.UL:case Ah.DIV:case Ah.DIR:case Ah.NAV:case Ah.MAIN:case Ah.MENU:case Ah.ASIDE:case Ah.CENTER:case Ah.FIGURE:case Ah.FOOTER:case Ah.HEADER:case Ah.HGROUP:case Ah.DIALOG:case Ah.DETAILS:case Ah.ADDRESS:case Ah.ARTICLE:case Ah.SECTION:case Ah.SUMMARY:case Ah.FIELDSET:case Ah.BLOCKQUOTE:case Ah.FIGCAPTION:!function(e,t){e.openElements.hasInButtonScope(Ah.P)&&e._closePElement(),e._insertElement(t,mh.HTML)}(e,t);break;case Ah.LI:case Ah.DD:case Ah.DT:!function(e,t){e.framesetOk=!1;const n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){const r=e.openElements.tagIDs[t];if(n===Ah.LI&&r===Ah.LI||(n===Ah.DD||n===Ah.DT)&&(r===Ah.DD||r===Ah.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==Ah.ADDRESS&&r!==Ah.DIV&&r!==Ah.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(Ah.P)&&e._closePElement(),e._insertElement(t,mh.HTML)}(e,t);break;case Ah.BR:case Ah.IMG:case Ah.WBR:case Ah.AREA:case Ah.EMBED:case Ah.KEYGEN:Jp(e,t);break;case Ah.HR:!function(e,t){e.openElements.hasInButtonScope(Ah.P)&&e._closePElement(),e._appendElement(t,mh.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t);break;case Ah.RB:case Ah.RTC:!function(e,t){e.openElements.hasInScope(Ah.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,mh.HTML)}(e,t);break;case Ah.RT:case Ah.RP:!function(e,t){e.openElements.hasInScope(Ah.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(Ah.RTC),e._insertElement(t,mh.HTML)}(e,t);break;case Ah.PRE:case Ah.LISTING:!function(e,t){e.openElements.hasInButtonScope(Ah.P)&&e._closePElement(),e._insertElement(t,mh.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}(e,t);break;case Ah.XMP:!function(e,t){e.openElements.hasInButtonScope(Ah.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,wh.RAWTEXT)}(e,t);break;case Ah.SVG:!function(e,t){e._reconstructActiveFormattingElements(),yp(t),bp(t),t.selfClosing?e._appendElement(t,mh.SVG):e._insertElement(t,mh.SVG),t.ackSelfClosing=!0}(e,t);break;case Ah.HTML:!function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t);break;case Ah.BASE:case Ah.LINK:case Ah.META:case Ah.STYLE:case Ah.TITLE:case Ah.SCRIPT:case Ah.BGSOUND:case Ah.BASEFONT:case Ah.TEMPLATE:jp(e,t);break;case Ah.BODY:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case Ah.FORM:!function(e,t){const n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(Ah.P)&&e._closePElement(),e._insertElement(t,mh.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case Ah.NOBR:!function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(Ah.NOBR)&&(Fp(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,mh.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case Ah.MATH:!function(e,t){e._reconstructActiveFormattingElements(),_p(t),bp(t),t.selfClosing?e._appendElement(t,mh.MATHML):e._insertElement(t,mh.MATHML),t.ackSelfClosing=!0}(e,t);break;case Ah.TABLE:!function(e,t){e.treeAdapter.getDocumentMode(e.document)!==gh.QUIRKS&&e.openElements.hasInButtonScope(Ah.P)&&e._closePElement(),e._insertElement(t,mh.HTML),e.framesetOk=!1,e.insertionMode=Ip.IN_TABLE}(e,t);break;case Ah.INPUT:!function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,mh.HTML),Zp(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t);break;case Ah.PARAM:case Ah.TRACK:case Ah.SOURCE:!function(e,t){e._appendElement(t,mh.HTML),t.ackSelfClosing=!0}(e,t);break;case Ah.IMAGE:!function(e,t){t.tagName=Th.IMG,t.tagID=Ah.IMG,Jp(e,t)}(e,t);break;case Ah.BUTTON:!function(e,t){e.openElements.hasInScope(Ah.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Ah.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,mh.HTML),e.framesetOk=!1}(e,t);break;case Ah.APPLET:case Ah.OBJECT:case Ah.MARQUEE:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,mh.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}(e,t);break;case Ah.IFRAME:!function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,wh.RAWTEXT)}(e,t);break;case Ah.SELECT:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,mh.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===Ip.IN_TABLE||e.insertionMode===Ip.IN_CAPTION||e.insertionMode===Ip.IN_TABLE_BODY||e.insertionMode===Ip.IN_ROW||e.insertionMode===Ip.IN_CELL?Ip.IN_SELECT_IN_TABLE:Ip.IN_SELECT}(e,t);break;case Ah.OPTION:case Ah.OPTGROUP:!function(e,t){e.openElements.currentTagId===Ah.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,mh.HTML)}(e,t);break;case Ah.NOEMBED:ef(e,t);break;case Ah.FRAMESET:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,mh.HTML),e.insertionMode=Ip.IN_FRAMESET)}(e,t);break;case Ah.TEXTAREA:!function(e,t){e._insertElement(t,mh.HTML),e.skipNextNewLine=!0,e.tokenizer.state=wh.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=Ip.TEXT}(e,t);break;case Ah.NOSCRIPT:e.options.scriptingEnabled?ef(e,t):tf(e,t);break;case Ah.PLAINTEXT:!function(e,t){e.openElements.hasInButtonScope(Ah.P)&&e._closePElement(),e._insertElement(t,mh.HTML),e.tokenizer.state=wh.PLAINTEXT}(e,t);break;case Ah.COL:case Ah.TH:case Ah.TD:case Ah.TR:case Ah.HEAD:case Ah.FRAME:case Ah.TBODY:case Ah.TFOOT:case Ah.THEAD:case Ah.CAPTION:case Ah.COLGROUP:break;default:tf(e,t)}}function rf(e,t){const n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){const s=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==Ah.UNKNOWN||e.treeAdapter.getTagName(s)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(s,i))break}}function sf(e,t){switch(t.tagID){case Ah.A:case Ah.B:case Ah.I:case Ah.S:case Ah.U:case Ah.EM:case Ah.TT:case Ah.BIG:case Ah.CODE:case Ah.FONT:case Ah.NOBR:case Ah.SMALL:case Ah.STRIKE:case Ah.STRONG:Fp(e,t);break;case Ah.P:!function(e){e.openElements.hasInButtonScope(Ah.P)||e._insertFakeElement(Th.P,Ah.P),e._closePElement()}(e);break;case Ah.DL:case Ah.UL:case Ah.OL:case Ah.DIR:case Ah.DIV:case Ah.NAV:case Ah.PRE:case Ah.MAIN:case Ah.MENU:case Ah.ASIDE:case Ah.BUTTON:case Ah.CENTER:case Ah.FIGURE:case Ah.FOOTER:case Ah.HEADER:case Ah.HGROUP:case Ah.DIALOG:case Ah.ADDRESS:case Ah.ARTICLE:case Ah.DETAILS:case Ah.SECTION:case Ah.SUMMARY:case Ah.LISTING:case Ah.FIELDSET:case Ah.BLOCKQUOTE:case Ah.FIGCAPTION:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case Ah.LI:!function(e){e.openElements.hasInListItemScope(Ah.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(Ah.LI),e.openElements.popUntilTagNamePopped(Ah.LI))}(e);break;case Ah.DD:case Ah.DT:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case Ah.H1:case Ah.H2:case Ah.H3:case Ah.H4:case Ah.H5:case Ah.H6:!function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e);break;case Ah.BR:!function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(Th.BR,Ah.BR),e.openElements.pop(),e.framesetOk=!1}(e);break;case Ah.BODY:!function(e,t){if(e.openElements.hasInScope(Ah.BODY)&&(e.insertionMode=Ip.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case Ah.HTML:!function(e,t){e.openElements.hasInScope(Ah.BODY)&&(e.insertionMode=Ip.AFTER_BODY,Nf(e,t))}(e,t);break;case Ah.FORM:!function(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(Ah.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(Ah.FORM):n&&e.openElements.remove(n))}(e);break;case Ah.APPLET:case Ah.OBJECT:case Ah.MARQUEE:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case Ah.TEMPLATE:zp(e,t);break;default:rf(e,t)}}function of(e,t){e.tmplInsertionModeStack.length>0?kf(e,t):Hp(e,t)}function af(e,t){if(Dp.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=Ip.IN_TABLE_TEXT,t.type){case sh.CHARACTER:pf(e,t);break;case sh.WHITESPACE_CHARACTER:hf(e,t)}else uf(e,t)}function cf(e,t){switch(t.tagID){case Ah.TD:case Ah.TH:case Ah.TR:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(Th.TBODY,Ah.TBODY),e.insertionMode=Ip.IN_TABLE_BODY,gf(e,t)}(e,t);break;case Ah.STYLE:case Ah.SCRIPT:case Ah.TEMPLATE:jp(e,t);break;case Ah.COL:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(Th.COLGROUP,Ah.COLGROUP),e.insertionMode=Ip.IN_COLUMN_GROUP,mf(e,t)}(e,t);break;case Ah.FORM:!function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,mh.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t);break;case Ah.TABLE:!function(e,t){e.openElements.hasInTableScope(Ah.TABLE)&&(e.openElements.popUntilTagNamePopped(Ah.TABLE),e._resetInsertionMode(),e._processStartTag(t))}(e,t);break;case Ah.TBODY:case Ah.TFOOT:case Ah.THEAD:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,mh.HTML),e.insertionMode=Ip.IN_TABLE_BODY}(e,t);break;case Ah.INPUT:!function(e,t){Zp(t)?e._appendElement(t,mh.HTML):uf(e,t),t.ackSelfClosing=!0}(e,t);break;case Ah.CAPTION:!function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,mh.HTML),e.insertionMode=Ip.IN_CAPTION}(e,t);break;case Ah.COLGROUP:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,mh.HTML),e.insertionMode=Ip.IN_COLUMN_GROUP}(e,t);break;default:uf(e,t)}}function lf(e,t){switch(t.tagID){case Ah.TABLE:e.openElements.hasInTableScope(Ah.TABLE)&&(e.openElements.popUntilTagNamePopped(Ah.TABLE),e._resetInsertionMode());break;case Ah.TEMPLATE:zp(e,t);break;case Ah.BODY:case Ah.CAPTION:case Ah.COL:case Ah.COLGROUP:case Ah.HTML:case Ah.TBODY:case Ah.TD:case Ah.TFOOT:case Ah.TH:case Ah.THEAD:case Ah.TR:break;default:uf(e,t)}}function uf(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Qp(e,t),e.fosterParentingEnabled=n}function hf(e,t){e.pendingCharacterTokens.push(t)}function pf(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function ff(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===Ah.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===Ah.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===Ah.OPTGROUP&&e.openElements.pop();break;case Ah.OPTION:e.openElements.currentTagId===Ah.OPTION&&e.openElements.pop();break;case Ah.SELECT:e.openElements.hasInSelectScope(Ah.SELECT)&&(e.openElements.popUntilTagNamePopped(Ah.SELECT),e._resetInsertionMode());break;case Ah.TEMPLATE:zp(e,t)}}function kf(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(Ah.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Hp(e,t)}function Nf(e,t){var n;if(t.tagID===Ah.HTML){if(e.fragmentContext||(e.insertionMode=Ip.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===Ah.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)&&e._setEndLocation(r,t)}}else Sf(e,t)}function Sf(e,t){e.insertionMode=Ip.IN_BODY,Qp(e,t)}function Cf(e,t){e.insertionMode=Ip.IN_BODY,Qp(e,t)}function If(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==mh.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}new Set([Th.AREA,Th.BASE,Th.BASEFONT,Th.BGSOUND,Th.BR,Th.COL,Th.EMBED,Th.FRAME,Th.HR,Th.IMG,Th.INPUT,Th.KEYGEN,Th.LINK,Th.META,Th.PARAM,Th.SOURCE,Th.TRACK,Th.WBR]);const Of=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Df={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Lf(e,t){const n=function(e){const t="root"===e.type?e.children[0]:e;return Boolean(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName))}(e),r=lt("type",{handlers:{root:vf,element:wf,text:Mf,comment:Bf,doctype:Pf,raw:Ff},unknown:Uf}),s={parser:n?new Rp(Df):Rp.getFragmentParser(void 0,Df),handle(e){r(e,s)},stitches:!1,options:t||{}};r(e,s),Hf(s,Zn());const i=function(e,t){const n=t||{};return vu({file:n.file||void 0,location:!1,schema:"svg"===n.space?us:ls,verbose:n.verbose||!1},e)}(n?s.parser.document:s.parser.getFragment(),{file:s.options.file});return s.stitches&&Lt(i,"comment",(function(e,t,n){const r=e;if(r.value.stitch&&n&&void 0!==t){return n.children[t]=r.value.stitch,t}})),"root"===i.type&&1===i.children.length&&i.children[0].type===e.type?i.children[0]:i}function Rf(e,t){let n=-1;if(e)for(;++n{jf(e,t,n)}))}function zf(){return e=>{jf(e,"element",(e=>{if("p"===e.tagName&&e.children.length>=2){const t=e.children[0],n=e.children[1];if("text"===t.type&&"!embed"===t.value.trim()&&"element"===n.type&&"a"===n.tagName){const t=n.properties.href,r=function(e){return e.includes("gist.github.com")?"script":e.includes("youtube.com/watch?v=")?"youtube":e.includes("vimeo.com")?"iframe":"default"}(t);switch(r){case"script":const n=`${t}.pibb`;e.type="raw",e.value=`
`;break;case"youtube":const r=function(e){return`https://www.youtube.com/embed/${new URL(e).searchParams.get("v")}`}(t);e.type="raw",e.value=``;break;case"iframe":e.type="raw",e.value=``}}}}))}}exports.addHeadingIds=t,exports.addTableOfContents=i,exports.calculateReadingTime=a,exports.processMarkdown=async function(e,n={}){if(!e)throw new Error("No markdown content provided");const s={img:"epic-remark-image",table:"epic-remark-table",...n.wrapConfig||{}};let o={},c=null,l=null;const u=qn().use(qo,["yaml"]).use((()=>e=>{const t=e.children.find((e=>"yaml"===e.type));t&&(o=Eu.parse(t.value))})).use(Ws).use(yo).use(gu,{allowDangerousHtml:!0}).use(r,s);n.addHeadingIds&&u.use(t),n.addTableOfContents&&u.use((()=>async e=>{const t=i(e,n.insertTocDirectly);t&&(c=await qn().use((()=>()=>t)).use(Tu).process("").then((e=>e.toString())))})),n.calculateReadingTime&&(l=a(n.readingTimeOptions)(qn().parse(e))),n.renderEmbeds&&u.use(zf).use(Yf);const h=await u.use(Tu).process(e),p=(f=h.toString(),d="markdown",f?`
${f}
`:"");var f,d;return{frontMatter:o,contentHtml:p,toc:c,readingTime:l}},exports.wrapElements=r; +"use strict";function e(t,n,r){t.type===n&&r(t),t.children&&t.children.forEach((t=>{e(t,n,r)}))}function t(){return t=>{e(t,"element",(e=>{if("h1"===e.tagName||"h2"===e.tagName||"h3"===e.tagName||"h4"===e.tagName||"h5"===e.tagName||"h6"===e.tagName){const t=function(e){return e.toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"")}(n(e));e.properties=e.properties||{},e.properties.id=t}}))}}function n(e){return"text"===e.type?e.value:e.children?e.children.map(n).join(""):""}function r(e){return t=>{s(t,e)}}function s(e,t){e.children&&e.children.forEach(((n,r)=>{if("element"===n.type&&t[n.tagName]){const s={type:"element",tagName:"div",properties:{className:t[n.tagName]},children:[n]};e.children[r]=s}s(n,t)}))}function i(t,n=!1){const r=[];e(t,"element",(e=>{if(function(e){return/^h[1-6]$/.test(e.tagName)}(e)){const n=(t=e.tagName,parseInt(t.charAt(1),10)),s=o(e),i=e.properties?.id||function(e){return e.toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"")}(s);r.push({level:n,text:s,id:i})}var t}));const s=function(e){const t={type:"element",tagName:"ul",properties:{className:"toc markdown"},children:[]};return e.forEach((e=>{t.children.push({type:"element",tagName:"li",properties:{},children:[{type:"element",tagName:"a",properties:{href:`#${e.id}`},children:[{type:"text",value:e.text}]}]})})),t}(r);if(n){const e={type:"element",tagName:"br",properties:{},children:[]},n={type:"element",tagName:"br",properties:{},children:[]};return t.children.unshift(n),t.children.unshift(e),t.children.unshift(s),null}return s}function o(e){return"text"===e.type?e.value:e.children?e.children.map(o).join(""):""}function a(t={}){const n=t.wordsPerMinute||250;return t=>{let r=0;return e(t,"text",(e=>{r+=e.value.split(/\s+/).length})),Math.ceil(r/n)}}function c(e,t,n){e.type===t&&n(e),e.children&&e.children.forEach((e=>{c(e,t,n)}))}function l(){return e=>{c(e,"element",(e=>{if("p"===e.tagName&&e.children.length>=2){const t=e.children[0],n=e.children[1];if("text"===t.type&&"!embed"===t.value.trim()&&"element"===n.type&&"a"===n.tagName){const t=n.properties.href,r=function(e){return e.includes("gist.github.com")?"script":e.includes("youtube.com/watch?v=")?"youtube":e.includes("vimeo.com")?"iframe":"default"}(t);switch(r){case"script":const n=`${t}.pibb`;e.type="raw",e.value=`
`;break;case"youtube":const r=function(e){return`https://www.youtube.com/embed/${new URL(e).searchParams.get("v")}`}(t);e.type="raw",e.value=``;break;case"iframe":e.type="raw",e.value=``}}}}))}}Object.defineProperty(exports,"__esModule",{value:!0});const u={};function h(e,t){const n=t||u;return p(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function p(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return f(e.children,t,n)}return Array.isArray(e)?f(e,t,n):""}function f(e,t,n){const r=[];let s=-1;for(;++s",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"​",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"â",acute:"´",acy:"а",aelig:"æ",af:"⁡",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacute:"í",ic:"⁣",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacute:"ó",oast:"⊛",ocir:"⊚",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslash:"ø",osol:"⊘",otilde:"õ",otimes:"⊗",otimesas:"⨶",ouml:"ö",ovbar:"⌽",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thorn:"þ",tilde:"˜",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},m={}.hasOwnProperty;function E(e){return!!m.call(d,e)&&d[e]}function g(e,t,n,r){const s=e.length;let i,o=0;if(t=t<0?-t>s?0:s+t:t>s?s:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);o0?(g(e,e.length,0,t),e):t}const A={}.hasOwnProperty;function _(e){const t={};let n=-1;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"�":String.fromCodePoint(n)}function N(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const S=F(/\p{P}/u),C=F(/[A-Za-z]/),I=F(/[\dA-Za-z]/),O=F(/[#-'*+\--9=?A-Z^-~]/);function D(e){return null!==e&&(e<32||127===e)}const L=F(/\d/),R=F(/[\dA-Fa-f]/),v=F(/[!-/:-@[-`{-~]/);function w(e){return null!==e&&e<-2}function M(e){return null!==e&&(e<0||32===e)}function P(e){return-2===e||-1===e||32===e}function x(e){return v(e)||S(e)}const B=F(/\s/);function F(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function U(e){const t=[];let n=-1,r=0,s=0;for(;++n55295&&i<57344){const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(o=String.fromCharCode(i,t),s=1):o="�"}else o=String.fromCharCode(i);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+s+1,o=""),s&&(n+=s,s=0)}return t.join("")+e.slice(r)}function H(e,t,n,r){const s=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){if(P(r))return e.enter(n),o(r);return t(r)};function o(r){return P(r)&&i++i))return;const n=t.events.length;let s,a,c=n;for(;c--;)if("exit"===t.events[c][0]&&"chunkFlow"===t.events[c][1].type){if(s){a=t.events[c][1].end;break}s=!0}for(T(o),e=n;er;){const r=n[s];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function A(){r.write([null]),s=void 0,r=void 0,t.containerState._closeFlow=void 0}}},Y={tokenize:function(e,t,n){return H(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};function j(e){return null===e||M(e)||B(e)?1:x(e)?2:void 0}function z(e,t,n){const r=[];let s=-1;for(;++s1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const h=Object.assign({},e[n][1].end),p=Object.assign({},e[u][1].start);K(h,-a),K(p,a),i={type:a>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},e[n][1].end)},o={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:p},s={type:a>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[u][1].start)},r={type:a>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},o.end)},e[n][1].end=Object.assign({},i.start),e[u][1].start=Object.assign({},o.end),c=[],e[n][1].end.offset-e[n][1].start.offset&&(c=T(c,[["enter",e[n][1],t],["exit",e[n][1],t]])),c=T(c,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",s,t]]),c=T(c,z(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),c=T(c,[["exit",s,t],["enter",o,t],["exit",o,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(l=2,c=T(c,[["enter",e[u][1],t],["exit",e[u][1],t]])):l=0,g(e,n-1,u-n+3,c),u=n+c.length-l-2;break}u=-1;for(;++u=a?(e.exit("codeFencedFenceSequence"),P(t)?H(e,h,"whitespace")(t):h(t)):n(t)}function h(r){return null===r||w(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let i,o=0,a=0;return function(t){return function(t){const n=r.events[r.events.length-1];return o=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,i=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(t)}(t)};function c(t){return t===i?(a++,e.consume(t),c):a<3?n(t):(e.exit("codeFencedFenceSequence"),P(t)?H(e,l,"whitespace")(t):l(t))}function l(n){return null===n||w(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Z,f,T)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){return null===t||w(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(t)):P(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),H(e,h,"whitespace")(t)):96===t&&t===i?n(t):(e.consume(t),u)}function h(t){return null===t||w(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(t))}function p(t){return null===t||w(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(t)):96===t&&t===i?n(t):(e.consume(t),p)}function f(t){return e.attempt(s,T,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return o>0&&P(t)?H(e,E,"linePrefix",o+1)(t):E(t)}function E(t){return null===t||w(t)?e.check(Z,f,T)(t):(e.enter("codeFlowValue"),g(t))}function g(t){return null===t||w(t)?(e.exit("codeFlowValue"),E(t)):(e.consume(t),g)}function T(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const te={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),H(e,s,"linePrefix",5)(t)};function s(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?i(e):n(e)}function i(t){return null===t?a(t):w(t)?e.attempt(ne,i,a)(t):(e.enter("codeFlowValue"),o(t))}function o(t){return null===t||w(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),o)}function a(n){return e.exit("codeIndented"),t(n)}}},ne={tokenize:function(e,t,n){const r=this;return s;function s(t){return r.parser.lazy[r.now().line]?n(t):w(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):H(e,i,"linePrefix",5)(t)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):w(e)?s(e):n(e)}},partial:!0};const re={name:"codeText",tokenize:function(e,t,n){let r,s,i=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),o(t)};function o(t){return 96===t?(e.consume(t),i++,o):(e.exit("codeTextSequence"),a(t))}function a(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),a):96===t?(s=e.enter("codeTextSequence"),r=0,l(t)):w(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(e.enter("codeTextData"),c(t))}function c(t){return null===t||32===t||96===t||w(t)?(e.exit("codeTextData"),a(t)):(e.consume(t),c)}function l(n){return 96===n?(e.consume(n),r++,l):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(s.type="codeTextData",c(n))}},resolve:function(e){let t,n,r=e.length-4,s=3;if(!("lineEnding"!==e[s][1].type&&"space"!==e[s][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=s;++t=4?t(s):e.interrupt(r.parser.constructs.flow,n,t)(s)}},partial:!0};function ce(e,t,n,r,s,i,o,a,c){const l=c||Number.POSITIVE_INFINITY;let u=0;return function(t){if(60===t)return e.enter(r),e.enter(s),e.enter(i),e.consume(t),e.exit(i),h;if(null===t||32===t||41===t||D(t))return n(t);return e.enter(r),e.enter(o),e.enter(a),e.enter("chunkString",{contentType:"string"}),d(t)};function h(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(s),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(a),h(t)):null===t||60===t||w(t)?n(t):(e.consume(t),92===t?f:p)}function f(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function d(s){return u||null!==s&&41!==s&&!M(s)?u999||null===h||91===h||93===h&&!a||94===h&&!c&&"_hiddenFootnoteSupport"in o.parser.constructs?n(h):93===h?(e.exit(i),e.enter(s),e.consume(h),e.exit(s),e.exit(r),t):w(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),l):(e.enter("chunkString",{contentType:"string"}),u(h))}function u(t){return null===t||91===t||93===t||w(t)||c++>999?(e.exit("chunkString"),l(t)):(e.consume(t),a||(a=!P(t)),92===t?h:u)}function h(t){return 91===t||92===t||93===t?(e.consume(t),c++,u):u(t)}}function ue(e,t,n,r,s,i){let o;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(s),e.consume(t),e.exit(s),o=40===t?41:t,a;return n(t)};function a(n){return n===o?(e.enter(s),e.consume(n),e.exit(s),e.exit(r),t):(e.enter(i),c(n))}function c(t){return t===o?(e.exit(i),a(o)):null===t?n(t):w(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),H(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),l(t))}function l(t){return t===o||null===t||w(t)?(e.exit("chunkString"),c(t)):(e.consume(t),92===t?u:l)}function u(t){return t===o||92===t?(e.consume(t),l):l(t)}}function he(e,t){let n;return function r(s){if(w(s))return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),n=!0,r;if(P(s))return H(e,r,n?"linePrefix":"lineSuffix")(s);return t(s)}}const pe={name:"definition",tokenize:function(e,t,n){const r=this;let s;return function(t){return e.enter("definition"),function(t){return le.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function i(t){return s=N(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o):n(t)}function o(t){return M(t)?he(e,a)(t):a(t)}function a(t){return ce(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function c(t){return e.attempt(fe,l,l)(t)}function l(t){return P(t)?H(e,u,"whitespace")(t):u(t)}function u(i){return null===i||w(i)?(e.exit("definition"),r.parser.defined.push(s),t(i)):n(i)}}},fe={tokenize:function(e,t,n){return function(t){return M(t)?he(e,r)(t):n(t)};function r(t){return ue(e,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function s(t){return P(t)?H(e,i,"whitespace")(t):i(t)}function i(e){return null===e||w(e)?t(e):n(e)}},partial:!0};const de={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return w(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}};const me={name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),s(t)}(t)};function s(t){return 35===t&&r++<6?(e.consume(t),s):null===t||M(t)?(e.exit("atxHeadingSequence"),i(t)):n(t)}function i(n){return 35===n?(e.enter("atxHeadingSequence"),o(n)):null===n||w(n)?(e.exit("atxHeading"),t(n)):P(n)?H(e,i,"whitespace")(n):(e.enter("atxHeadingText"),a(n))}function o(t){return 35===t?(e.consume(t),o):(e.exit("atxHeadingSequence"),i(t))}function a(t){return null===t||35===t||M(t)?(e.exit("atxHeadingText"),i(t)):(e.consume(t),a)}},resolve:function(e,t){let n,r,s=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);s-2>i&&"whitespace"===e[s][1].type&&(s-=2);"atxHeadingSequence"===e[s][1].type&&(i===s-1||s-4>i&&"whitespace"===e[s-2][1].type)&&(s-=i+1===s?2:4);s>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[s][1].end},r={type:"chunkText",start:e[i][1].start,end:e[s][1].end,contentType:"text"},g(e,i,s-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const Ee=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ge=["pre","script","style","textarea"],Te={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let s,i,o,a,c;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),l}(t)};function l(a){return 33===a?(e.consume(a),u):47===a?(e.consume(a),i=!0,f):63===a?(e.consume(a),s=3,r.interrupt?t:U):C(a)?(e.consume(a),o=String.fromCharCode(a),d):n(a)}function u(i){return 45===i?(e.consume(i),s=2,h):91===i?(e.consume(i),s=5,a=0,p):C(i)?(e.consume(i),s=4,r.interrupt?t:U):n(i)}function h(s){return 45===s?(e.consume(s),r.interrupt?t:U):n(s)}function p(s){const i="CDATA[";return s===i.charCodeAt(a++)?(e.consume(s),6===a?r.interrupt?t:O:p):n(s)}function f(t){return C(t)?(e.consume(t),o=String.fromCharCode(t),d):n(t)}function d(a){if(null===a||47===a||62===a||M(a)){const c=47===a,l=o.toLowerCase();return c||i||!ge.includes(l)?Ee.includes(o.toLowerCase())?(s=6,c?(e.consume(a),m):r.interrupt?t(a):O(a)):(s=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(a):i?E(a):g(a)):(s=1,r.interrupt?t(a):O(a))}return 45===a||I(a)?(e.consume(a),o+=String.fromCharCode(a),d):n(a)}function m(s){return 62===s?(e.consume(s),r.interrupt?t:O):n(s)}function E(t){return P(t)?(e.consume(t),E):N(t)}function g(t){return 47===t?(e.consume(t),N):58===t||95===t||C(t)?(e.consume(t),T):P(t)?(e.consume(t),g):N(t)}function T(t){return 45===t||46===t||58===t||95===t||I(t)?(e.consume(t),T):A(t)}function A(t){return 61===t?(e.consume(t),_):P(t)?(e.consume(t),A):g(t)}function _(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),c=t,y):P(t)?(e.consume(t),_):b(t)}function y(t){return t===c?(e.consume(t),c=null,k):null===t||w(t)?n(t):(e.consume(t),y)}function b(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||M(t)?A(t):(e.consume(t),b)}function k(e){return 47===e||62===e||P(e)?g(e):n(e)}function N(t){return 62===t?(e.consume(t),S):n(t)}function S(t){return null===t||w(t)?O(t):P(t)?(e.consume(t),S):n(t)}function O(t){return 45===t&&2===s?(e.consume(t),v):60===t&&1===s?(e.consume(t),x):62===t&&4===s?(e.consume(t),H):63===t&&3===s?(e.consume(t),U):93===t&&5===s?(e.consume(t),F):!w(t)||6!==s&&7!==s?null===t||w(t)?(e.exit("htmlFlowData"),D(t)):(e.consume(t),O):(e.exit("htmlFlowData"),e.check(Ae,G,D)(t))}function D(t){return e.check(_e,L,G)(t)}function L(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),R}function R(t){return null===t||w(t)?D(t):(e.enter("htmlFlowData"),O(t))}function v(t){return 45===t?(e.consume(t),U):O(t)}function x(t){return 47===t?(e.consume(t),o="",B):O(t)}function B(t){if(62===t){const n=o.toLowerCase();return ge.includes(n)?(e.consume(t),H):O(t)}return C(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),B):O(t)}function F(t){return 93===t?(e.consume(t),U):O(t)}function U(t){return 62===t?(e.consume(t),H):45===t&&2===s?(e.consume(t),U):O(t)}function H(t){return null===t||w(t)?(e.exit("htmlFlowData"),G(t)):(e.consume(t),H)}function G(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},Ae={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(Q,t,n)}},partial:!0},_e={tokenize:function(e,t,n){const r=this;return function(t){if(w(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s;return n(t)};function s(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0};const ye={name:"htmlText",tokenize:function(e,t,n){const r=this;let s,i,o;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),a};function a(t){return 33===t?(e.consume(t),c):47===t?(e.consume(t),_):63===t?(e.consume(t),T):C(t)?(e.consume(t),k):n(t)}function c(t){return 45===t?(e.consume(t),l):91===t?(e.consume(t),i=0,f):C(t)?(e.consume(t),g):n(t)}function l(t){return 45===t?(e.consume(t),p):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),h):w(t)?(o=u,B(t)):(e.consume(t),u)}function h(t){return 45===t?(e.consume(t),p):u(t)}function p(e){return 62===e?x(e):45===e?h(e):u(e)}function f(t){const r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),6===i?d:f):n(t)}function d(t){return null===t?n(t):93===t?(e.consume(t),m):w(t)?(o=d,B(t)):(e.consume(t),d)}function m(t){return 93===t?(e.consume(t),E):d(t)}function E(t){return 62===t?x(t):93===t?(e.consume(t),E):d(t)}function g(t){return null===t||62===t?x(t):w(t)?(o=g,B(t)):(e.consume(t),g)}function T(t){return null===t?n(t):63===t?(e.consume(t),A):w(t)?(o=T,B(t)):(e.consume(t),T)}function A(e){return 62===e?x(e):T(e)}function _(t){return C(t)?(e.consume(t),y):n(t)}function y(t){return 45===t||I(t)?(e.consume(t),y):b(t)}function b(t){return w(t)?(o=b,B(t)):P(t)?(e.consume(t),b):x(t)}function k(t){return 45===t||I(t)?(e.consume(t),k):47===t||62===t||M(t)?N(t):n(t)}function N(t){return 47===t?(e.consume(t),x):58===t||95===t||C(t)?(e.consume(t),S):w(t)?(o=N,B(t)):P(t)?(e.consume(t),N):x(t)}function S(t){return 45===t||46===t||58===t||95===t||I(t)?(e.consume(t),S):O(t)}function O(t){return 61===t?(e.consume(t),D):w(t)?(o=O,B(t)):P(t)?(e.consume(t),O):N(t)}function D(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,L):w(t)?(o=D,B(t)):P(t)?(e.consume(t),D):(e.consume(t),R)}function L(t){return t===s?(e.consume(t),s=void 0,v):null===t?n(t):w(t)?(o=L,B(t)):(e.consume(t),L)}function R(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||M(t)?N(t):(e.consume(t),R)}function v(e){return 47===e||62===e||M(e)?N(e):n(e)}function x(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function B(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),F}function F(t){return P(t)?H(e,U,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):U(t)}function U(t){return e.enter("htmlTextData"),o(t)}}};const be={name:"labelEnd",tokenize:function(e,t,n){const r=this;let s,i,o=r.events.length;for(;o--;)if(("labelImage"===r.events[o][1].type||"labelLink"===r.events[o][1].type)&&!r.events[o][1]._balanced){s=r.events[o][1];break}return function(t){if(!s)return n(t);if(s._inactive)return u(t);return i=r.parser.defined.includes(N(r.sliceSerialize({start:s.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),a};function a(t){return 40===t?e.attempt(ke,l,i?l:u)(t):91===t?e.attempt(Ne,l,i?c:u)(t):i?l(t):u(t)}function c(t){return e.attempt(Se,l,u)(t)}function l(e){return t(e)}function u(e){return s._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,s,i,o=e.length,a=0;for(;o--;)if(n=e[o][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[o][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(s){if("enter"===e[o][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=o,"labelLink"!==n.type)){a=2;break}}else"labelEnd"===n.type&&(s=o);const c={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},l={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[s][1].end)},u={type:"labelText",start:Object.assign({},e[r+a+2][1].end),end:Object.assign({},e[s-2][1].start)};return i=[["enter",c,t],["enter",l,t]],i=T(i,e.slice(r+1,r+a+3)),i=T(i,[["enter",u,t]]),i=T(i,z(t.parser.constructs.insideSpan.null,e.slice(r+a+4,s-3),t)),i=T(i,[["exit",u,t],e[s-2],e[s-1],["exit",l,t]]),i=T(i,e.slice(s+1)),i=T(i,[["exit",c,t]]),g(e,r,e.length,i),e},resolveAll:function(e){let t=-1;for(;++t=3&&(null===i||w(i))?(e.exit("thematicBreak"),t(i)):n(i)}function o(t){return t===r?(e.consume(t),s++,o):(e.exit("thematicBreakSequence"),P(t)?H(e,i,"whitespace")(t):i(t))}}};const Le={name:"list",tokenize:function(e,t,n){const r=this,s=r.events[r.events.length-1];let i=s&&"linePrefix"===s[1].type?s[2].sliceSerialize(s[1],!0).length:0,o=0;return function(t){const s=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===s?!r.containerState.marker||t===r.containerState.marker:L(t)){if(r.containerState.type||(r.containerState.type=s,e.enter(s,{_container:!0})),"listUnordered"===s)return e.enter("listItemPrefix"),42===t||45===t?e.check(De,n,c)(t):c(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(t)}return n(t)};function a(t){return L(t)&&++o<10?(e.consume(t),a):(!r.interrupt||o<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),c(t)):n(t)}function c(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(Q,r.interrupt?n:l,e.attempt(Re,h,u))}function l(e){return r.containerState.initialBlankLine=!0,i++,h(e)}function u(t){return P(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),h):n(t)}function h(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Q,s,i);function s(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,H(e,t,"listItemIndent",r.containerState.size+1)(n)}function i(n){return r.containerState.furtherBlankLines||!P(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(ve,t,o)(n))}function o(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,H(e,e.attempt(Le,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}},exit:function(e){e.exit(this.containerState.type)}},Re={tokenize:function(e,t,n){const r=this;return H(e,(function(e){const s=r.events[r.events.length-1];return!P(e)&&s&&"listItemPrefixWhitespace"===s[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},ve={tokenize:function(e,t,n){const r=this;return H(e,(function(e){const s=r.events[r.events.length-1];return s&&"listItemIndent"===s[1].type&&s[2].sliceSerialize(s[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};const we={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let s;return function(t){let o,a=r.events.length;for(;a--;)if("lineEnding"!==r.events[a][1].type&&"linePrefix"!==r.events[a][1].type&&"content"!==r.events[a][1].type){o="paragraph"===r.events[a][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||o))return e.enter("setextHeadingLine"),s=t,function(t){return e.enter("setextHeadingLineSequence"),i(t)}(t);return n(t)};function i(t){return t===s?(e.consume(t),i):(e.exit("setextHeadingLineSequence"),P(t)?H(e,o,"lineSuffix")(t):o(t))}function o(r){return null===r||w(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,s,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),s||"definition"!==e[i][1].type||(s=i);const o={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",s?(e.splice(r,0,["enter",o,t]),e.splice(s+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[s][1].end)):e[n][1]=o;return e.push(["exit",o,t]),e}};const Me={tokenize:function(e){const t=this,n=e.attempt(Q,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,H(e,e.attempt(this.parser.constructs.flow,r,e.attempt(oe,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const Pe={resolveAll:Ue()},xe=Fe("string"),Be=Fe("text");function Fe(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],s=t.attempt(r,i,o);return i;function i(e){return c(e)?s(e):o(e)}function o(e){if(null!==e)return t.enter("data"),t.consume(e),a;t.consume(e)}function a(e){return c(e)?(t.exit("data"),s(e)):(t.consume(e),a)}function c(e){if(null===e)return!0;const t=r[e];let s=-1;if(t)for(;++s-1){const e=o[0];"string"==typeof e?o[0]=e.slice(r):o.shift()}i>0&&o.push(e[s].slice(0,i))}return o}(o,e)}function p(){const{line:e,column:t,offset:n,_index:s,_bufferIndex:i}=r;return{line:e,column:t,offset:n,_index:s,_bufferIndex:i}}function f(){let e;for(;r._index0){const e=i.tokenStack[i.tokenStack.length-1];(e[1]||lt).call(i,void 0,e[0])}for(r.position={start:ot(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:ot(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},h=-1;++h"+(n?"":" ")+e}function gt(e,t){return Tt(e,t.inConstruct,!0)&&!Tt(e,t.notInConstruct,!1)}function Tt(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r":"")+")"})}return u;function u(){let l,u,h,p=It;if((!t||i(s,a,c[c.length-1]||void 0))&&(p=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[Ot,e];return null==e?It:[e]}(n(s,c)),p[0]===Dt))return p;if("children"in s&&s.children){const t=s;if(t.children&&p[0]!==Lt)for(u=(r?t.children.length:-1)+o,h=c.concat(t);u>-1&&u",...c.current()})),l+=c.move(">")):(a=n.enter("destinationRaw"),l+=c.move(n.safe(e.url,{before:l,after:e.title?" ":")",...c.current()}))),a(),e.title&&(a=n.enter(`title${i}`),l+=c.move(" "+s),l+=c.move(n.safe(e.title,{before:l,after:s,...c.current()})),l+=c.move(s),a()),l+=c.move(")"),o(),l}function xt(e,t,n,r){const s=e.referenceType,i=n.enter("imageReference");let o=n.enter("label");const a=n.createTracker(r);let c=a.move("![");const l=n.safe(e.alt,{before:c,after:"]",...a.current()});c+=a.move(l+"]["),o();const u=n.stack;n.stack=[],o=n.enter("reference");const h=n.safe(n.associationId(e),{before:c,after:"]",...a.current()});return o(),n.stack=u,i(),"full"!==s&&l&&l===h?"shortcut"===s?c=c.slice(0,-1):c+=a.move("]"):c+=a.move(h+"]"),c}function Bt(e,t,n){let r=e.value||"",s="`",i=-1;for(;new RegExp("(^|[^`])"+s+"([^`]|$)").test(r);)s+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function Ut(e,t,n,r){const s=bt(n),i='"'===s?"Quote":"Apostrophe",o=n.createTracker(r);let a,c;if(Ft(e,n)){const t=n.stack;n.stack=[],a=n.enter("autolink");let r=o.move("<");return r+=o.move(n.containerPhrasing(e,{before:r,after:">",...o.current()})),r+=o.move(">"),a(),n.stack=t,r}a=n.enter("link"),c=n.enter("label");let l=o.move("[");return l+=o.move(n.containerPhrasing(e,{before:l,after:"](",...o.current()})),l+=o.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),l+=o.move("<"),l+=o.move(n.safe(e.url,{before:l,after:">",...o.current()})),l+=o.move(">")):(c=n.enter("destinationRaw"),l+=o.move(n.safe(e.url,{before:l,after:e.title?" ":")",...o.current()}))),c(),e.title&&(c=n.enter(`title${i}`),l+=o.move(" "+s),l+=o.move(n.safe(e.title,{before:l,after:s,...o.current()})),l+=o.move(s),c()),l+=o.move(")"),a(),l}function Ht(e,t,n,r){const s=e.referenceType,i=n.enter("linkReference");let o=n.enter("label");const a=n.createTracker(r);let c=a.move("[");const l=n.containerPhrasing(e,{before:c,after:"]",...a.current()});c+=a.move(l+"]["),o();const u=n.stack;n.stack=[],o=n.enter("reference");const h=n.safe(n.associationId(e),{before:c,after:"]",...a.current()});return o(),n.stack=u,i(),"full"!==s&&l&&l===h?"shortcut"===s?c=c.slice(0,-1):c+=a.move("]"):c+=a.move(h+"]"),c}function Gt(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function qt(e){const t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}Mt.peek=function(){return"<"},Pt.peek=function(){return"!"},xt.peek=function(){return"!"},Bt.peek=function(){return"`"},Ut.peek=function(e,t,n){return Ft(e,n)?"<":"["},Ht.peek=function(){return"["};const Yt=Nt(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);function jt(e,t,n,r){const s=function(e){const t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r);let a=o.move(s+s);return a+=o.move(n.containerPhrasing(e,{before:a,after:s,...o.current()})),a+=o.move(s+s),i(),a}jt.peek=function(e,t,n){return n.options.strong||"*"};const zt={blockquote:function(e,t,n,r){const s=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);const o=n.indentLines(n.containerFlow(e,i.current()),Et);return s(),o},break:At,code:function(e,t,n,r){const s=function(e){const t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===s?"GraveAccent":"Tilde";if(_t(e,n)){const e=n.enter("codeIndented"),t=n.indentLines(i,yt);return e(),t}const a=n.createTracker(r),c=s.repeat(Math.max(function(e,t){const n=String(e);let r=n.indexOf(t),s=r,i=0,o=0;if("string"!=typeof t)throw new TypeError("Expected substring");for(;-1!==r;)r===s?++i>o&&(o=i):i=1,s=r+t.length,r=n.indexOf(t,s);return o}(i,s)+1,3)),l=n.enter("codeFenced");let u=a.move(c);if(e.lang){const t=n.enter(`codeFencedLang${o}`);u+=a.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...a.current()})),t()}if(e.lang&&e.meta){const t=n.enter(`codeFencedMeta${o}`);u+=a.move(" "),u+=a.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...a.current()})),t()}return u+=a.move("\n"),i&&(u+=a.move(i+"\n")),u+=a.move(c),l(),u},definition:function(e,t,n,r){const s=bt(n),i='"'===s?"Quote":"Apostrophe",o=n.enter("definition");let a=n.enter("label");const c=n.createTracker(r);let l=c.move("[");return l+=c.move(n.safe(n.associationId(e),{before:l,after:"]",...c.current()})),l+=c.move("]: "),a(),!e.url||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),l+=c.move("<"),l+=c.move(n.safe(e.url,{before:l,after:">",...c.current()})),l+=c.move(">")):(a=n.enter("destinationRaw"),l+=c.move(n.safe(e.url,{before:l,after:e.title?" ":"\n",...c.current()}))),a(),e.title&&(a=n.enter(`title${i}`),l+=c.move(" "+s),l+=c.move(n.safe(e.title,{before:l,after:s,...c.current()})),l+=c.move(s),a()),o(),l},emphasis:kt,hardBreak:At,heading:function(e,t,n,r){const s=Math.max(Math.min(6,e.depth||1),1),i=n.createTracker(r);if(wt(e,n)){const t=n.enter("headingSetext"),r=n.enter("phrasing"),o=n.containerPhrasing(e,{...i.current(),before:"\n",after:"\n"});return r(),t(),o+"\n"+(1===s?"=":"-").repeat(o.length-(Math.max(o.lastIndexOf("\r"),o.lastIndexOf("\n"))+1))}const o="#".repeat(s),a=n.enter("headingAtx"),c=n.enter("phrasing");i.move(o+" ");let l=n.containerPhrasing(e,{before:"# ",after:"\n",...i.current()});return/^[\t ]/.test(l)&&(l="&#x"+l.charCodeAt(0).toString(16).toUpperCase()+";"+l.slice(1)),l=l?o+" "+l:o,n.options.closeAtx&&(l+=" "+o),c(),a(),l},html:Mt,image:Pt,imageReference:xt,inlineCode:Bt,link:Ut,linkReference:Ht,list:function(e,t,n,r){const s=n.enter("list"),i=n.bulletCurrent;let o=e.ordered?function(e){const t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):Gt(n);const a=e.ordered?"."===o?")":".":function(e){const t=Gt(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n);let c=!(!t||!n.bulletLastUsed)&&o===n.bulletLastUsed;if(!e.ordered){const t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(c=!0),qt(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===s||"mixed"===s&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));const a=n.createTracker(r);a.move(i+" ".repeat(o-i.length)),a.shift(o);const c=n.enter("listItem"),l=n.indentLines(n.containerFlow(e,a.current()),(function(e,t,n){if(t)return(n?"":" ".repeat(o))+e;return(n?i:i+" ".repeat(o-i.length))+e}));return c(),l},paragraph:function(e,t,n,r){const s=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),s(),o},root:function(e,t,n,r){return(e.children.some((function(e){return Yt(e)}))?n.containerPhrasing:n.containerFlow).call(n,e,r)},strong:jt,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){const r=(qt(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}},Vt=[function(e,t,n,r){if("code"===t.type&&_t(t,r)&&("list"===e.type||e.type===t.type&&_t(e,r)))return!1;if("spread"in n&&"boolean"==typeof n.spread){if("paragraph"===e.type&&(e.type===t.type||"definition"===t.type||"heading"===t.type&&wt(t,r)))return;return n.spread?1:0}}];const Kt=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],$t=[{character:"\t",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",before:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\n",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:Kt},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:Kt},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:"(?:[ \t\r\n*])"},{character:"*",inConstruct:"phrasing",notInConstruct:Kt},{atBreak:!0,character:"+",after:"(?:[ \t\r\n])"},{atBreak:!0,character:"-",after:"(?:[ \t\r\n-])"},{atBreak:!0,before:"\\d+",character:".",after:"(?:[ \t\r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:Kt},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:Kt},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:Kt},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:Kt},{atBreak:!0,character:"~"}];function Qt(e){return e.label||!e.identifier?e.label||"":Je(e.identifier)}function Wt(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function Xt(e,t,n,r){let s=r.join.length;for(;s--;){const i=r.join[s](e,t,n,r);if(!0===i||1===i)break;if("number"==typeof i)return"\n".repeat(1+i);if(!1===i)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}const Jt=/\r?\n|\r/g;function Zt(e,t){const n=[];let r,s=0,i=0;for(;r=Jt.exec(e);)o(e.slice(s,r.index)),n.push(r[0]),s=r.index+r[0].length,i++;return o(e.slice(s)),n.join("");function o(e){n.push(t(e,i,!e))}}function en(e,t){return e-t}function tn(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],s=[],i=e+t;let o,a=-1,c=0;for(;o=n.exec(i);)r.push(o.index);for(;++a0&&("\r"===a||"\n"===a)&&"html"===l.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),a=" ",c=t.createTracker(n),c.move(i.join(""))),i.push(c.move(t.handle(l,e,t,{...c.current(),before:a,after:u}))),a=i[i.length-1].slice(-1)}return r.pop(),i.join("")}(e,this,t)}function ln(e,t){return function(e,t,n){const r=t.indexStack,s=e.children||[],i=t.createTracker(n),o=[];let a=-1;for(r.push(-1);++a=l||e+1t.length;let o;r&&t.push(s);try{o=e.apply(this,t)}catch(e){if(r&&n)throw e;return s(e)}r||(o instanceof Promise?o.then(i,s):o instanceof Error?s(o):i(o))}function s(e,...r){n||(n=!0,t(e,...r))}function i(e){s(null,e)}}(a,s)(...o):r(null,...o)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}class Nn extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",s={},i=!1;if(t&&(s="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!s.cause&&e&&(i=!0,r=e.message,s.cause=e),!s.ruleId&&!s.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?s.ruleId=n:(s.source=n.slice(0,e),s.ruleId=n.slice(e+1))}if(!s.place&&s.ancestors&&s.ancestors){const e=s.ancestors[s.ancestors.length-1];e&&(s.place=e.position)}const o=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=o?o.line:void 0,this.name=et(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=i&&s.cause&&"string"==typeof s.cause.stack?s.cause.stack:"",this.actual,this.expected,this.note,this.url}}Nn.prototype.file="",Nn.prototype.name="",Nn.prototype.reason="",Nn.prototype.message="",Nn.prototype.stack="",Nn.prototype.column=void 0,Nn.prototype.line=void 0,Nn.prototype.ancestors=void 0,Nn.prototype.cause=void 0,Nn.prototype.fatal=void 0,Nn.prototype.place=void 0,Nn.prototype.ruleId=void 0,Nn.prototype.source=void 0;const Sn={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');Cn(e);let n,r=0,s=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else s<0&&(n=!0,s=i+1);return s<0?"":e.slice(r,s)}if(t===e)return"";let o=-1,a=t.length-1;for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(s=i):(a=-1,s=o));r===s?s=o:s<0&&(s=e.length);return e.slice(r,s)},dirname:function(e){if(Cn(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){Cn(e);let t,n=e.length,r=-1,s=0,i=-1,o=0;for(;n--;){const a=e.codePointAt(n);if(47!==a)r<0&&(t=!0,r=n+1),46===a?i<0?i=n:1!==o&&(o=1):i>-1&&(o=-1);else if(t){s=n+1;break}}if(i<0||r<0||0===o||1===o&&i===r-1&&i===s+1)return"";return e.slice(i,r)},join:function(...e){let t,n=-1;for(;++n2){if(r=s.lastIndexOf("/"),r!==s.length-1){r<0?(s="",i=0):(s=s.slice(0,r),i=s.length-1-s.lastIndexOf("/")),o=c,a=0;continue}}else if(s.length>0){s="",i=0,o=c,a=0;continue}t&&(s=s.length>0?s+"/..":"..",i=2)}else s.length>0?s+="/"+e.slice(o+1,c):s=e.slice(o+1,c),i=c-o-1;o=c,a=0}else 46===n&&a>-1?a++:a=-1}return s}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/");return t?"/"+n:n}(t)},sep:"/"};function Cn(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const In={cwd:function(){return"/"}};function On(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function Dn(e){if("string"==typeof e)e=new URL(e);else if(!On(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n0){let[r,...i]=t;const o=n[s][1];bn(o)&&bn(r)&&(r=yn(!0,o,r)),n[s]=[e,r,...i]}}}}function Fn(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function Un(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function Hn(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Gn(e){if(!bn(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function qn(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Yn(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new Rn(e)}const jn=(new Bn).freeze()().use((function(e){const t=this;t.parser=function(n){return it(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}})).use((function(e){const t=this;t.compiler=function(n){return rn(n,{...t.data("settings"),...e,extensions:t.data("toMarkdownExtensions")||[]})}})).freeze(),zn="object"==typeof self?self:globalThis,Vn=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=s=>{if(e.has(s))return e.get(s);const[i,o]=t[s];switch(i){case 0:case-1:return n(o,s);case 1:{const e=n([],s);for(const t of o)e.push(r(t));return e}case 2:{const e=n({},s);for(const[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),s);case 4:{const{source:e,flags:t}=o;return n(new RegExp(e,t),s)}case 5:{const e=n(new Map,s);for(const[t,n]of o)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,s);for(const t of o)e.add(r(t));return e}case 7:{const{name:e,message:t}=o;return n(new zn[e](t),s)}case 8:return n(BigInt(o),s);case"BigInt":return n(Object(BigInt(o)),s)}return n(new zn[i](o),s)};return r})(new Map,e)(0),Kn="",{toString:$n}={},{keys:Qn}=Object,Wn=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=$n.call(e).slice(8,-1);switch(n){case"Array":return[1,Kn];case"Object":return[2,Kn];case"Date":return[3,Kn];case"RegExp":return[4,Kn];case"Map":return[5,Kn];case"Set":return[6,Kn]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},Xn=([e,t])=>0===e&&("function"===t||"symbol"===t),Jn=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const s=(e,t)=>{const s=r.push(e)-1;return n.set(t,s),s},i=r=>{if(n.has(r))return n.get(r);let[o,a]=Wn(r);switch(o){case 0:{let t=r;switch(a){case"bigint":o=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+a);t=null;break;case"undefined":return s([-1],r)}return s([o,t],r)}case 1:{if(a)return s([a,[...r]],r);const e=[],t=s([o,e],r);for(const t of r)e.push(i(t));return t}case 2:{if(a)switch(a){case"BigInt":return s([a,r.toString()],r);case"Boolean":case"Number":case"String":return s([a,r.valueOf()],r)}if(t&&"toJSON"in r)return i(r.toJSON());const n=[],c=s([o,n],r);for(const t of Qn(r))!e&&Xn(Wn(r[t]))||n.push([i(t),i(r[t])]);return c}case 3:return s([o,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return s([o,{source:e,flags:t}],r)}case 5:{const t=[],n=s([o,t],r);for(const[n,s]of r)(e||!Xn(Wn(n))&&!Xn(Wn(s)))&&t.push([i(n),i(s)]);return n}case 6:{const t=[],n=s([o,t],r);for(const n of r)!e&&Xn(Wn(n))||t.push(i(n));return n}}const{message:c}=r;return s([o,{name:a,message:c}],r)};return i})(!(t||n),!!t,new Map,r)(e),r};var Zn="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?Vn(Jn(e,t)):structuredClone(e):(e,t)=>Vn(Jn(e,t));const er=nr("end"),tr=nr("start");function nr(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function rr(e){const t=tr(e),n=er(e);if(t&&n)return{start:t,end:n}}const sr=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],ir={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...sr,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...sr],h2:[["className","sr-only"]],img:[...sr,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...sr,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...sr],table:[...sr],ul:[...sr,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]},or={}.hasOwnProperty;function ar(e,t){if(t&&"object"==typeof t){const n=t;switch("string"==typeof n.type?n.type:""){case"comment":return function(e,t){if(e.schema.allowComments){const e="string"==typeof t.value?t.value:"",n=e.indexOf("--\x3e"),r={type:"comment",value:n<0?e:e.slice(0,n)};return hr(r,t),r}}(e,n);case"doctype":return function(e,t){if(e.schema.allowDoctypes){const e={type:"doctype"};return hr(e,t),e}}(e,n);case"element":return function(e,t){const n="string"==typeof t.tagName?t.tagName:"";e.stack.push(n);const r=cr(e,t.children),s=function(e,t){const n=e.stack[e.stack.length-1],r=e.schema.attributes,s=e.schema.required,i=r&&or.call(r,n)?r[n]:void 0,o=r&&or.call(r,"*")?r["*"]:void 0,a=t&&"object"==typeof t?t:{},c={};let l;for(l in a)if(or.call(a,l)){const t=a[l];let n=lr(e,pr(i,l),l,t);null==n&&(n=lr(e,pr(o,l),l,t)),null!=n&&(c[l]=n)}if(s&&or.call(s,n)){const e=s[n];for(l in e)or.call(e,l)&&!or.call(c,l)&&(c[l]=e[l])}return c}(e,t.properties);e.stack.pop();let i=!1;if(n&&"*"!==n&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(i=!0,e.schema.ancestors&&or.call(e.schema.ancestors,n))){const t=e.schema.ancestors[n];let r=-1;for(i=!1;++r-1&&i>c||o>-1&&i>o||a>-1&&i>a)return!0;let l=-1;for(;++l1){let e=!1,n=0;for(;++n4&&"data"===t.slice(0,4).toLowerCase())return n}function fr(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];const s=e.all(t),i=s[0];i&&"text"===i.type?i.value="["+i.value:s.unshift({type:"text",value:"["});const o=s[s.length-1];return o&&"text"===o.type?o.value+=r:s.push({type:"text",value:r}),s}function dr(e){const t=e.spread;return null==t?e.children.length>1:t}const mr=9,Er=32;function gr(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),s=0;const i=[];for(;r;)i.push(Tr(t.slice(s,r.index),s>0,!0),r[0]),s=r.index+r[0].length,r=n.exec(t);return i.push(Tr(t.slice(s),s>0,!1)),i.join("")}function Tr(e,t,n){let r=0,s=e.length;if(t){let t=e.codePointAt(r);for(;t===mr||t===Er;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(s-1);for(;t===mr||t===Er;)s--,t=e.codePointAt(s-1)}return s>r?e.slice(r,s):""}const Ar={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let s={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(s.data={meta:t.meta}),e.patch(t,s),s=e.applyData(t,s),s={type:"element",tagName:"pre",properties:{},children:[s]},e.patch(t,s),s},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),s=U(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let o,a=e.footnoteCounts.get(r);void 0===a?(a=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=i+1,a+=1,e.footnoteCounts.set(r,a);const c={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+s,id:n+"fnref-"+s+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,c);const l={type:"element",tagName:"sup",properties:{},children:[c]};return e.patch(t,l),e.applyData(t,l)},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return fr(e,t);const s={src:U(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(s.title=r.title);const i={type:"element",tagName:"img",properties:s,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const n={src:U(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return fr(e,t);const s={href:U(r.url||"")};null!==r.title&&void 0!==r.title&&(s.title=r.title);const i={type:"element",tagName:"a",properties:s,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const n={href:U(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),s=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let a=-1;for(;++a0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=tr(t.children[1]),o=er(t.children[t.children.length-1]);i&&o&&(r.position={start:i,end:o}),s.push(r)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(s,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,s=0===(r?r.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,o=i?i.length:t.children.length;let a=-1;const c=[];for(;++a1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function br(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const kr={}.hasOwnProperty,Nr={};function Sr(e,t){e.position&&(t.position=rr(e))}function Cr(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,s=e.data.hProperties;if("string"==typeof t)if("element"===n.type)n.tagName=t;else{n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}}"element"===n.type&&s&&Object.assign(n.properties,Zn(s)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function Ir(e,t){const n=t.data||{},r=!("value"in t)||kr.call(n,"hProperties")||kr.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}function Or(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:"\n"});++r0&&n.push({type:"text",value:"\n"}),n}function Dr(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function Lr(e,t){const n=function(e,t){const n=t||Nr,r=new Map,s=new Map,i=new Map,o={...Ar,...n.handlers},a={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r0&&h.push({type:"text",value:" "});let e="string"==typeof n?n:n(c,u);"string"==typeof e&&(e={type:"text",value:e}),h.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+l+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(c,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const f=i[i.length-1];if(f&&"element"===f.type&&"p"===f.tagName){const e=f.children[f.children.length-1];e&&"text"===e.type?e.value+=" ":f.children.push({type:"text",value:" "}),f.children.push(...h)}else i.push(...h);const d={type:"element",tagName:"li",properties:{id:t+"fn-"+l},children:e.wrap(i,!0)};e.patch(s,d),a.push(d)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Zn(o),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:"\n"}]}}(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return s&&i.children.push({type:"text",value:"\n"},s),i}const Rr=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class vr{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function wr(e,t){const n={},r={};let s=-1;for(;++s"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Jr=Wr({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Zr(e,t){return t in e?e[t]:t}function es(e,t){return Zr(e,t.toLowerCase())}const ts=Wr({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:es,properties:{xmlns:null,xmlnsXLink:null}}),ns=Wr({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:Fr,ariaAutoComplete:null,ariaBusy:Fr,ariaChecked:Fr,ariaColCount:Hr,ariaColIndex:Hr,ariaColSpan:Hr,ariaControls:Gr,ariaCurrent:null,ariaDescribedBy:Gr,ariaDetails:null,ariaDisabled:Fr,ariaDropEffect:Gr,ariaErrorMessage:null,ariaExpanded:Fr,ariaFlowTo:Gr,ariaGrabbed:Fr,ariaHasPopup:null,ariaHidden:Fr,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Gr,ariaLevel:Hr,ariaLive:null,ariaModal:Fr,ariaMultiLine:Fr,ariaMultiSelectable:Fr,ariaOrientation:null,ariaOwns:Gr,ariaPlaceholder:null,ariaPosInSet:Hr,ariaPressed:Fr,ariaReadOnly:Fr,ariaRelevant:null,ariaRequired:Fr,ariaRoleDescription:Gr,ariaRowCount:Hr,ariaRowIndex:Hr,ariaRowSpan:Hr,ariaSelected:Fr,ariaSetSize:Hr,ariaSort:null,ariaValueMax:Hr,ariaValueMin:Hr,ariaValueNow:Hr,ariaValueText:null,role:null}}),rs=Wr({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:es,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:qr,acceptCharset:Gr,accessKey:Gr,action:null,allow:null,allowFullScreen:Br,allowPaymentRequest:Br,allowUserMedia:Br,alt:null,as:null,async:Br,autoCapitalize:null,autoComplete:Gr,autoFocus:Br,autoPlay:Br,blocking:Gr,capture:Br,charSet:null,checked:Br,cite:null,className:Gr,cols:Hr,colSpan:null,content:null,contentEditable:Fr,controls:Br,controlsList:Gr,coords:Hr|qr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Br,defer:Br,dir:null,dirName:null,disabled:Br,download:Ur,draggable:Fr,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Br,formTarget:null,headers:Gr,height:Hr,hidden:Br,high:Hr,href:null,hrefLang:null,htmlFor:Gr,httpEquiv:Gr,id:null,imageSizes:null,imageSrcSet:null,inert:Br,inputMode:null,integrity:null,is:null,isMap:Br,itemId:null,itemProp:Gr,itemRef:Gr,itemScope:Br,itemType:Gr,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Br,low:Hr,manifest:null,max:null,maxLength:Hr,media:null,method:null,min:null,minLength:Hr,multiple:Br,muted:Br,name:null,nonce:null,noModule:Br,noValidate:Br,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:Br,optimum:Hr,pattern:null,ping:Gr,placeholder:null,playsInline:Br,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Br,referrerPolicy:null,rel:Gr,required:Br,reversed:Br,rows:Hr,rowSpan:Hr,sandbox:Gr,scope:null,scoped:Br,seamless:Br,selected:Br,shadowRootDelegatesFocus:Br,shadowRootMode:null,shape:null,size:Hr,sizes:null,slot:null,span:Hr,spellCheck:Fr,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Hr,step:null,style:null,tabIndex:Hr,target:null,title:null,translate:null,type:null,typeMustMatch:Br,useMap:null,value:Fr,width:Hr,wrap:null,align:null,aLink:null,archive:Gr,axis:null,background:null,bgColor:null,border:Hr,borderColor:null,bottomMargin:Hr,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Br,declare:Br,event:null,face:null,frame:null,frameBorder:null,hSpace:Hr,leftMargin:Hr,link:null,longDesc:null,lowSrc:null,marginHeight:Hr,marginWidth:Hr,noResize:Br,noHref:Br,noShade:Br,noWrap:Br,object:null,profile:null,prompt:null,rev:null,rightMargin:Hr,rules:null,scheme:null,scrolling:Fr,standby:null,summary:null,text:null,topMargin:Hr,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Hr,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Br,disableRemotePlayback:Br,prefix:null,property:null,results:Hr,security:null,unselectable:null}}),ss=Wr({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:Zr,properties:{about:Yr,accentHeight:Hr,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Hr,amplitude:Hr,arabicForm:null,ascent:Hr,attributeName:null,attributeType:null,azimuth:Hr,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Hr,by:null,calcMode:null,capHeight:Hr,className:Gr,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:Hr,diffuseConstant:Hr,direction:null,display:null,dur:null,divisor:Hr,dominantBaseline:null,download:Br,dx:null,dy:null,edgeMode:null,editable:null,elevation:Hr,enableBackground:null,end:null,event:null,exponent:Hr,externalResourcesRequired:null,fill:null,fillOpacity:Hr,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:qr,g2:qr,glyphName:qr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Hr,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Hr,horizOriginX:Hr,horizOriginY:Hr,id:null,ideographic:Hr,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Hr,k:Hr,k1:Hr,k2:Hr,k3:Hr,k4:Hr,kernelMatrix:Yr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Hr,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:Hr,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:Hr,overlineThickness:Hr,paintOrder:null,panose1:null,path:null,pathLength:Hr,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Gr,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Hr,pointsAtY:Hr,pointsAtZ:Hr,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Yr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Yr,rev:Yr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Yr,requiredFeatures:Yr,requiredFonts:Yr,requiredFormats:Yr,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:Hr,specularExponent:Hr,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Hr,strikethroughThickness:Hr,string:null,stroke:null,strokeDashArray:Yr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Hr,strokeOpacity:Hr,strokeWidth:null,style:null,surfaceScale:Hr,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Yr,tabIndex:Hr,tableValues:null,target:null,targetX:Hr,targetY:Hr,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Yr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Hr,underlineThickness:Hr,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Hr,values:null,vAlphabetic:Hr,vMathematical:Hr,vectorEffect:null,vHanging:Hr,vIdeographic:Hr,version:null,vertAdvY:Hr,vertOriginX:Hr,vertOriginY:Hr,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Hr,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),is=/^data[-\w.:]+$/i,os=/-[a-z]/g,as=/[A-Z]/g;function cs(e,t){const n=Mr(t);let r=t,s=Pr;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&is.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(os,us);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!os.test(e)){let n=e.replace(as,ls);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}s=Kr}return new s(r,t)}function ls(e){return"-"+e.toLowerCase()}function us(e){return e.charAt(1).toUpperCase()}const hs=wr([Jr,Xr,ts,ns,rs],"html"),ps=wr([Jr,Xr,ts,ns,ss],"svg");function fs(e,t){return e=e.replace(t.subset?function(e){const t=[];let n=-1;for(;++n`]/g,n),t.subset||t.escapeOnly?e:e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,(function(e,n,r){return t.format(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)})).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,n);function n(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}const ds=["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"],ms={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},Es=["cent","copy","divide","gt","lt","not","para","times"],gs={}.hasOwnProperty,Ts={};let As;for(As in ms)gs.call(ms,As)&&(Ts[ms[As]]=As);function _s(e,t,n){let r,s=function(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);if((n.useNamedReferences||n.useShortestReferences)&&(r=function(e,t,n,r){const s=String.fromCharCode(e);if(gs.call(Ts,s)){const e=Ts[s],i="&"+e;return n&&ds.includes(e)&&!Es.includes(e)&&(!r||t&&61!==t&&/[^\da-z]/i.test(String.fromCharCode(t)))?i:i+";"}return""}(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!r)&&n.useShortestReferences){const r=function(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);r.length0},html:function(e){const t=Ls(e,-1);return!t||"comment"!==t.type},tbody:function(e,t,n){const r=Rs(n,t),s=Ls(e,-1);if(n&&r&&"element"===r.type&&("thead"===r.tagName||"tbody"===r.tagName)&&xs(r,n.children.indexOf(r),n))return!1;return Boolean(s&&"element"===s.type&&"tr"===s.tagName)}});const Gs={name:[["\t\n\f\r &/=>".split(""),"\t\n\f\r \"&'/=>`".split("")],["\0\t\n\f\r \"&'/<=>".split(""),"\0\t\n\f\r \"&'/<=>`".split("")]],unquoted:[["\t\n\f\r &>".split(""),"\0\t\n\f\r \"&'<=>`".split("")],["\0\t\n\f\r \"&'<=>`".split(""),"\0\t\n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function qs(e,t,n){const r=cs(e.schema,t),s=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,i=e.settings.allowDangerousCharacters?0:1;let o,a=e.quote;if(!r.overloadedBoolean||n!==r.attribute&&""!==n?(r.boolean||r.overloadedBoolean&&"string"!=typeof n)&&(n=Boolean(n)):n=!0,null==n||!1===n||"number"==typeof n&&Number.isNaN(n))return"";const c=ys(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Gs.name[s][i]}));return!0===n?c:(n=Array.isArray(n)?(r.commaSeparated?Ns:Cs)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n?c:(e.settings.preferUnquoted&&(o=ys(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Gs.unquoted[s][i]}))),o!==n&&(e.settings.quoteSmart&&bs(n,a)>bs(n,e.alternative)&&(a=e.alternative),o=a+ys(n,Object.assign({},e.settings.characterReferences,{subset:("'"===a?Gs.single:Gs.double)[s][i],attribute:!0}))+a),c+(o?"="+o:o)))}function Ys(e,t,n,r){return!n||"element"!==n.type||"script"!==n.tagName&&"style"!==n.tagName?ys(e.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]})):e.value}const js=ht("type",{invalid:function(e){throw new Error("Expected node, not `"+e+"`")},unknown:function(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")},handlers:{comment:function(e,t,n,r){return r.settings.bogusComments?""]}))+">":"\x3c!--"+e.value.replace(/^>|^->||--!>|"]}))}))+"--\x3e"},doctype:function(e,t,n,r){return""},element:function(e,t,n,r){const s=r.schema,i="svg"!==s.space&&r.settings.omitOptionalTags;let o="svg"===s.space?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const a=[];let c;"html"===s.space&&"svg"===e.tagName&&(r.schema=ps);const l=function(e,t){const n=[];let r,s=-1;if(t)for(r in t)if(null!==t[r]&&void 0!==t[r]){const s=qs(e,r,t[r]);s&&n.push(s)}for(;++s")),a.push(u),o||i&&xs(e,t,n)||a.push(""),a.join("")},raw:function(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Ys(e,0,n,r)},root:function(e,t,n,r){return r.all(e)},text:Ys}});const zs={},Vs={},Ks=[];function $s(e,t){const n=t||zs,r=n.quote||'"',s='"'===r?"'":'"';if('"'!==r&&"'"!==r)throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:Qs,all:Ws,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||Rr,characterReferences:n.characterReferences||Vs,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:"svg"===n.space?ps:hs,quote:r,alternative:s}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function Qs(e,t,n){return js(e,t,n,this)}function Ws(e){const t=[],n=e&&e.children||Ks;let r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(a!==n&&h.push({type:"text",value:e.value.slice(a,n)}),Array.isArray(i)?h.push(...i):i&&h.push(i),a=n+p[0].length,u=!0),!r.global)break;p=r.exec(e.value)}u?(a?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const s=bs(e,"(");let i=bs(e,")");for(;-1!==r&&s>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}(n+r);if(!o[0])return!1;const a={type:"link",title:null,url:i+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[a,{type:"text",value:o[1]}]:a}function pi(e,t,n,r){return!(!fi(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function fi(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||B(n)||x(n))&&(!t||47!==n)}function di(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function mi(){this.buffer()}function Ei(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=N(this.sliceSerialize(e)).toLowerCase()}function gi(e){this.exit(e)}function Ti(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Ai(){this.buffer()}function _i(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=N(this.sliceSerialize(e)).toLowerCase()}function yi(e){this.exit(e)}function bi(e,t,n,r){const s=n.createTracker(r);let i=s.move("[^");const o=n.enter("footnoteReference"),a=n.enter("reference");return i+=s.move(n.safe(n.associationId(e),{...s.current(),before:i,after:"]"})),a(),o(),i+=s.move("]"),i}function ki(e,t,n,r){const s=n.createTracker(r);let i=s.move("[^");const o=n.enter("footnoteDefinition"),a=n.enter("label");return i+=s.move(n.safe(n.associationId(e),{...s.current(),before:i,after:"]"})),a(),i+=s.move("]:"+(e.children&&e.children.length>0?" ":"")),s.shift(4),i+=s.move(n.indentLines(n.containerFlow(e,s.current()),Ni)),o(),i}function Ni(e,t,n){return 0===t?e:(n?"":" ")+e}bi.peek=function(){return"["};const Si=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function Ci(e){this.enter({type:"delete",children:[]},e)}function Ii(e){this.exit(e)}function Oi(e,t,n,r){const s=n.createTracker(r),i=n.enter("strikethrough");let o=s.move("~~");return o+=n.containerPhrasing(e,{...s.current(),before:o,after:"~"}),o+=s.move("~~"),i(),o}function Di(e){return null==e?"":String(e)}function Li(e){return e.length}function Ri(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function vi(e){const t=e._align;this.enter({type:"table",align:t.map((function(e){return"none"===e?null:e})),children:[]},e),this.data.inTable=!0}function wi(e){this.exit(e),this.data.inTable=void 0}function Mi(e){this.enter({type:"tableRow",children:[]},e)}function Pi(e){this.exit(e)}function xi(e){this.enter({type:"tableCell",children:[]},e)}function Bi(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Fi));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Fi(e,t){return"|"===t?t:e}function Ui(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,s=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=zt.inlineCode(e,t,n);n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&"));return r},table:function(e,t,n,r){return a(function(e,t,n){const r=e.children;let s=-1;const i=[],o=t.enter("table");for(;++sc&&(c=e[l].length);++ua[u])&&(a[u]=e)}n.push(i)}i[l]=n,o[l]=s}let u=-1;if("object"==typeof n&&"length"in n)for(;++ua[u]&&(a[u]=i),p[u]=i),h[u]=o}i.splice(1,0,h),o.splice(1,0,p),l=-1;const f=[];for(;++l0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}Xi[43]=Wi,Xi[45]=Wi,Xi[46]=Wi,Xi[95]=Wi,Xi[72]=[Wi,Qi],Xi[104]=[Wi,Qi],Xi[87]=[Wi,$i],Xi[119]=[Wi,$i];const so={tokenize:function(e,t,n){const r=this;return H(e,(function(e){const s=r.events[r.events.length-1];return s&&"gfmFootnoteDefinitionIndent"===s[1].type&&4===s[2].sliceSerialize(s[1],!0).length?t(e):n(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function io(e,t,n){const r=this;let s=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;s--;){const e=r.events[s][1];if("labelImage"===e.type){o=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(s){if(!o||!o._balanced)return n(s);const a=N(r.sliceSerialize({start:o.end,end:r.now()}));if(94!==a.codePointAt(0)||!i.includes(a.slice(1)))return n(s);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),t(s)}}function oo(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},a=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",s,t],["exit",s,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...a),e}function ao(e,t,n){const r=this,s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,o=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),a};function a(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(a){if(o>999||93===a&&!i||null===a||91===a||M(a))return n(a);if(93===a){e.exit("chunkString");const i=e.exit("gfmFootnoteCallString");return s.includes(N(r.sliceSerialize(i)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(a)}return M(a)||(i=!0),o++,e.consume(a),92===a?l:c}function l(t){return 91===t||92===t||93===t?(e.consume(t),o++,c):c(t)}}function co(e,t,n){const r=this,s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,o,a=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",l):n(t)}function l(t){if(a>999||93===t&&!o||null===t||91===t||M(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return i=N(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return M(t)||(o=!0),a++,e.consume(t),92===t?u:l}function u(t){return 91===t||92===t||93===t?(e.consume(t),a++,l):l(t)}function h(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(i)||s.push(i),H(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}function p(e){return t(e)}}function lo(e,t,n){return e.check(Q,t,e.attempt(so,t,n))}function uo(e){e.exit("gfmFootnoteDefinition")}function ho(e){let t=(e||{}).singleTilde;const n={tokenize:function(e,n,r){const s=this.previous,i=this.events;let o=0;return function(t){if(126===s&&"characterEscape"!==i[i.length-1][1].type)return r(t);return e.enter("strikethroughSequenceTemporary"),a(t)};function a(i){const c=j(s);if(126===i)return o>1?r(i):(e.consume(i),o++,a);if(o<2&&!t)return r(i);const l=e.exit("strikethroughSequenceTemporary"),u=j(i);return l._open=!u||2===u&&Boolean(c),l._close=!c||2===c&&Boolean(u),n(i)}},resolveAll:function(e,t){let n=-1;for(;++n0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function fo(e,t){let n=!1;const r=[];for(;t-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const s=t>-1?r.events[t][1].type:null,i="tableHead"===s||"tableRow"===s?_:a;if(i===_&&r.parser.lazy[r.now().line])return n(e);return i(e)};function a(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){if(124===e)return c(e);return s=!0,o+=1,c(e)}(t)}function c(t){return null===t?n(t):w(t)?o>1?(o=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),h):n(t):P(t)?H(e,c,"whitespace")(t):(o+=1,s&&(s=!1,i+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),s=!0,c):(e.enter("data"),l(t)))}function l(t){return null===t||124===t||M(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?u:l)}function u(t){return 92===t||124===t?(e.consume(t),l):l(t)}function h(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),s=!1,P(t)?H(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))}function p(t){return 45===t||58===t?d(t):124===t?(s=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):A(t)}function f(t){return P(t)?H(e,d,"whitespace")(t):d(t)}function d(t){return 58===t?(o+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(o+=1,m(t)):null===t||w(t)?T(t):A(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),E(t)):A(t)}function E(t){return 45===t?(e.consume(t),E):58===t?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):(e.exit("tableDelimiterFiller"),g(t))}function g(t){return P(t)?H(e,T,"whitespace")(t):T(t)}function T(n){return 124===n?p(n):(null===n||w(n))&&s&&i===o?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):A(n)}function A(e){return n(e)}function _(t){return e.enter("tableRow"),y(t)}function y(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),y):null===n||w(n)?(e.exit("tableRow"),t(n)):P(n)?H(e,y,"whitespace")(n):(e.enter("data"),b(n))}function b(t){return null===t||124===t||M(t)?(e.exit("data"),y(t)):(e.consume(t),92===t?k:b)}function k(t){return 92===t||124===t?(e.consume(t),b):b(t)}}function Eo(e,t){let n,r,s,i=-1,o=!0,a=0,c=[0,0,0,0],l=[0,0,0,0],u=!1,h=0;const p=new po;for(;++in[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==s&&(i.end=Object.assign({},Ao(t.events,s)),e.add(s,0,[["exit",i,t]]),i=void 0),i}function To(e,t,n,r,s){const i=[],o=Ao(t.events,n);s&&(s.end=Object.assign({},o),i.push(["exit",s,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function Ao(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const _o={tokenize:function(e,t,n){const r=this;return function(t){if(null!==r.previous||!r._gfmTasklistFirstContentOfListItem)return n(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),s};function s(t){return M(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),i):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),i):n(t)}function i(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(t)}function o(r){return w(r)?t(r):P(r)?e.check({tokenize:yo},t,n)(r):n(r)}}};function yo(e,t,n){return H(e,(function(e){return null===e?n(e):t(e)}),"whitespace")}const bo={};function ko(e){const t=e||bo,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),s=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(e){return _([{text:Xi},{document:{91:{tokenize:co,continuation:{tokenize:lo},exit:uo}},text:{91:{tokenize:ao},93:{add:"after",tokenize:io,resolveTo:oo}}},ho(e),{flow:{null:{tokenize:mo,resolveAll:Eo}}},{text:{91:_o}}])}(t)),s.push([{transforms:[ui],enter:{literalAutolink:si,literalAutolinkEmail:ii,literalAutolinkHttp:ii,literalAutolinkWww:ii},exit:{literalAutolink:li,literalAutolinkEmail:ci,literalAutolinkHttp:oi,literalAutolinkWww:ai}},{enter:{gfmFootnoteDefinition:di,gfmFootnoteDefinitionLabelString:mi,gfmFootnoteCall:Ti,gfmFootnoteCallString:Ai},exit:{gfmFootnoteDefinition:gi,gfmFootnoteDefinitionLabelString:Ei,gfmFootnoteCall:yi,gfmFootnoteCallString:_i}},{canContainEols:["delete"],enter:{strikethrough:Ci},exit:{strikethrough:Ii}},{enter:{table:vi,tableData:xi,tableHeader:xi,tableRow:Mi},exit:{codeText:Bi,table:wi,tableData:Pi,tableHeader:Pi,tableRow:Pi}},{exit:{taskListCheckValueChecked:Hi,taskListCheckValueUnchecked:Hi,paragraph:Gi}}]),i.push(function(e){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:ni,notInConstruct:ri},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:ni,notInConstruct:ri},{character:":",before:"[ps]",after:"\\/",inConstruct:ni,notInConstruct:ri}]},{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:ki,footnoteReference:bi}},{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Si}],handlers:{delete:Oi}},Ui(e),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:qi}}]}}(t))}var No,So={exports:{}};No=So,function(){var e;function t(e){for(var t,n,r,s,i=1,o=[].slice.call(arguments),a=0,c=e.length,l="",u=!1,h=!1,p=function(){return o[i++]},f=function(){for(var n="";/\d/.test(e[a]);)n+=e[a++],t=e[a];return n.length>0?parseInt(n):null};a!!e&&"object"==typeof e&&e[Xo]===zo,Zo=e=>!!e&&"object"==typeof e&&e[Xo]===Vo,ea=e=>!!e&&"object"==typeof e&&e[Xo]===Ko,ta=e=>!!e&&"object"==typeof e&&e[Xo]===$o,na=e=>!!e&&"object"==typeof e&&e[Xo]===Qo,ra=e=>!!e&&"object"==typeof e&&e[Xo]===Wo;function sa(e){if(e&&"object"==typeof e)switch(e[Xo]){case Ko:case Wo:return!0}return!1}function ia(e){if(e&&"object"==typeof e)switch(e[Xo]){case zo:case Ko:case Qo:case Wo:return!0}return!1}const oa=e=>(na(e)||sa(e))&&!!e.anchor,aa=Symbol("break visit"),ca=Symbol("skip children"),la=Symbol("remove node");function ua(e,t){const n=da(t);if(Zo(e)){ha(null,e.contents,n,Object.freeze([e]))===la&&(e.contents=null)}else ha(null,e,n,Object.freeze([]))}function ha(e,t,n,r){const s=ma(e,t,n,r);if(ia(s)||ta(s))return Ea(e,r,s),ha(e,s,n,r);if("symbol"!=typeof s)if(sa(t)){r=Object.freeze(r.concat(t));for(let e=0;e"!==e[e.length-1]&&t("Verbatim tags must end with a >"),n)}const[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);const s=this.tags[n];if(s)try{return s+decodeURIComponent(r)}catch(e){return t(String(e)),null}return"!"===n?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(const[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+e.substring(n.length).replace(/[!,[\]{}]/g,(e=>ga[e]));return"!"===e[0]?e:`!<${e}>`}toString(e){const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags);let r;if(e&&n.length>0&&ia(e.contents)){const t={};ua(e.contents,((e,n)=>{ia(n)&&n.tag&&(t[n.tag]=!0)})),r=Object.keys(t)}else r=[];for(const[s,i]of n)"!!"===s&&"tag:yaml.org,2002:"===i||e&&!r.some((e=>e.startsWith(i)))||t.push(`%TAG ${s} ${i}`);return t.join("\n")}}function Aa(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const t=JSON.stringify(e);throw new Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0}function _a(e){const t=new Set;return ua(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function ya(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}function ba(e,t,n,r){if(r&&"object"==typeof r)if(Array.isArray(r))for(let t=0,n=r.length;tka(e,String(t),n)));if(e&&"function"==typeof e.toJSON){if(!n||!oa(e))return e.toJSON(t,n);const r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=e=>{r.res=e,delete n.onCreate};const s=e.toJSON(t,n);return n.onCreate&&n.onCreate(s),s}return"bigint"!=typeof e||n?.keep?e:Number(e)}Ta.defaultYaml={explicit:!1,version:"1.2"},Ta.defaultTags={"!!":"tag:yaml.org,2002:"};class Na{constructor(e){Object.defineProperty(this,Xo,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:r,reviver:s}={}){if(!Zo(e))throw new TypeError("A document argument is required");const i={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},o=ka(this,"",i);if("function"==typeof r)for(const{count:e,res:t}of i.anchors.values())r(t,e);return"function"==typeof s?ba(s,{"":o},"",o):o}}class Sa extends Na{constructor(e){super(zo),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e){let t;return ua(e,{Node:(e,n)=>{if(n===this)return ua.BREAK;n.anchor===this.source&&(t=n)}}),t}toJSON(e,t){if(!t)return{source:this.source};const{anchors:n,doc:r,maxAliasCount:s}=t,i=this.resolve(r);if(!i){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(e)}let o=n.get(i);if(o||(ka(i,null,t),o=n.get(i)),!o||void 0===o.res){throw new ReferenceError("This should not happen: Alias anchor was not resolved?")}if(s>=0&&(o.count+=1,0===o.aliasCount&&(o.aliasCount=Ca(r,i,n)),o.count*o.aliasCount>s)){throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack")}return o.res}toString(e,t,n){const r=`*${this.source}`;if(e){if(Aa(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(e)}if(e.implicitKey)return`${r} `}return r}}function Ca(e,t,n){if(Jo(t)){const r=t.resolve(e),s=n&&r&&n.get(r);return s?s.count*s.aliasCount:0}if(sa(t)){let r=0;for(const s of t.items){const t=Ca(e,s,n);t>r&&(r=t)}return r}if(ta(t)){const r=Ca(e,t.key,n),s=Ca(e,t.value,n);return Math.max(r,s)}return 1}const Ia=e=>!e||"function"!=typeof e&&"object"!=typeof e;class Oa extends Na{constructor(e){super(Qo),this.value=e}toJSON(e,t){return t?.keep?this.value:ka(this.value,e,t)}toString(){return String(this.value)}}Oa.BLOCK_FOLDED="BLOCK_FOLDED",Oa.BLOCK_LITERAL="BLOCK_LITERAL",Oa.PLAIN="PLAIN",Oa.QUOTE_DOUBLE="QUOTE_DOUBLE",Oa.QUOTE_SINGLE="QUOTE_SINGLE";const Da="tag:yaml.org,2002:";function La(e,t,n){if(Zo(e)&&(e=e.contents),ia(e))return e;if(ta(e)){const t=n.schema[Ko].createNode?.(n.schema,null,n);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:r,onAnchor:s,onTagObj:i,schema:o,sourceObjects:a}=n;let c;if(r&&e&&"object"==typeof e){if(c=a.get(e),c)return c.anchor||(c.anchor=s(e)),new Sa(c.anchor);c={anchor:null,node:null},a.set(e,c)}t?.startsWith("!!")&&(t=Da+t.slice(2));let l=function(e,t,n){if(t){const e=n.filter((e=>e.tag===t)),r=e.find((e=>!e.format))??e[0];if(!r)throw new Error(`Tag ${t} not found`);return r}return n.find((t=>t.identify?.(e)&&!t.format))}(e,t,o.tags);if(!l){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){const t=new Oa(e);return c&&(c.node=t),t}l=e instanceof Map?o[Ko]:Symbol.iterator in Object(e)?o[Wo]:o[Ko]}i&&(i(l),delete n.onTagObj);const u=l?.createNode?l.createNode(n.schema,e,n):"function"==typeof l?.nodeClass?.from?l.nodeClass.from(n.schema,e,n):new Oa(e);return t?u.tag=t:l.default||(u.tag=l.tag),c&&(c.node=u),u}function Ra(e,t,n){let r=n;for(let e=t.length-1;e>=0;--e){const n=t[e];if("number"==typeof n&&Number.isInteger(n)&&n>=0){const e=[];e[n]=r,r=e}else r=new Map([[n,r]])}return La(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const va=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class wa extends Na{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map((t=>ia(t)||ta(t)?t.clone(e):t)),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(va(e))this.add(t);else{const[n,...r]=e,s=this.get(n,!0);if(sa(s))s.addIn(r,t);else{if(void 0!==s||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,Ra(this.schema,r,t))}}}deleteIn(e){const[t,...n]=e;if(0===n.length)return this.delete(t);const r=this.get(t,!0);if(sa(r))return r.deleteIn(n);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){const[n,...r]=e,s=this.get(n,!0);return 0===r.length?!t&&na(s)?s.value:s:sa(s)?s.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every((t=>{if(!ta(t))return!1;const n=t.value;return null==n||e&&na(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag}))}hasIn(e){const[t,...n]=e;if(0===n.length)return this.has(t);const r=this.get(t,!0);return!!sa(r)&&r.hasIn(n)}setIn(e,t){const[n,...r]=e;if(0===r.length)this.set(n,t);else{const e=this.get(n,!0);if(sa(e))e.setIn(r,t);else{if(void 0!==e||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,Ra(this.schema,r,t))}}}}wa.maxFlowStringSingleLineLength=60;const Ma=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function Pa(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const xa=(e,t,n)=>e.endsWith("\n")?Pa(n,t):n.includes("\n")?"\n"+Pa(n,t):(e.endsWith(" ")?"":" ")+n,Ba="flow",Fa="block",Ua="quoted";function Ha(e,t,n="flow",{indentAtStart:r,lineWidth:s=80,minContentWidth:i=20,onFold:o,onOverflow:a}={}){if(!s||s<0)return e;const c=Math.max(1+i,1+s-t.length);if(e.length<=c)return e;const l=[],u={};let h,p,f=s-t.length;"number"==typeof r&&(r>s-Math.max(2,i)?l.push(0):f=s-r);let d=!1,m=-1,E=-1,g=-1;n===Fa&&(m=Ga(e,m),-1!==m&&(f=m+c));for(let t;t=e[m+=1];){if(n===Ua&&"\\"===t){switch(E=m,e[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}g=m}if("\n"===t)n===Fa&&(m=Ga(e,m)),f=m+c,h=void 0;else{if(" "===t&&p&&" "!==p&&"\n"!==p&&"\t"!==p){const t=e[m+1];t&&" "!==t&&"\n"!==t&&"\t"!==t&&(h=m)}if(m>=f)if(h)l.push(h),f=h+c,h=void 0;else if(n===Ua){for(;" "===p||"\t"===p;)p=t,t=e[m+=1],d=!0;const n=m>g+1?m-2:E-1;if(u[n])return e;l.push(n),u[n]=!0,f=n+c,h=void 0}else d=!0}p=t}if(d&&a&&a(),0===l.length)return e;o&&o();let T=e.slice(0,l[0]);for(let r=0;r({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),Ya=e=>/^(%|---|\.\.\.)/m.test(e);function ja(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,s=t.options.doubleQuotedMinMultiLineLength,i=t.indent||(Ya(e)?" ":"");let o="",a=0;for(let e=0,t=n[e];t;t=n[++e])if(" "===t&&"\\"===n[e+1]&&"n"===n[e+2]&&(o+=n.slice(a,e)+"\\ ",e+=1,a=e,t="\\"),"\\"===t)switch(n[e+1]){case"u":{o+=n.slice(a,e);const t=n.substr(e+2,4);switch(t){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:"00"===t.substr(0,2)?o+="\\x"+t.substr(2):o+=n.substr(e,6)}e+=5,a=e+1}break;case"n":if(r||'"'===n[e+2]||n.lengthr)return!0;if(n=t+1,s-n<=r)return!1}return!0}(n,c,l.length));if(!n)return u?"|\n":">\n";let h,p;for(p=n.length;p>0;--p){const e=n[p-1];if("\n"!==e&&"\t"!==e&&" "!==e)break}let f=n.substring(p);const d=f.indexOf("\n");-1===d?h="-":n===f||d!==f.length-1?(h="+",i&&i()):h="",f&&(n=n.slice(0,-f.length),"\n"===f[f.length-1]&&(f=f.slice(0,-1)),f=f.replace(Ka,`$&${l}`));let m,E=!1,g=-1;for(m=0;m")+(E?l?"2":"1":"")+h;if(e&&(A+=" "+a(e.replace(/ ?[\r\n]+/g," ")),s&&s()),u)return`${A}\n${l}${T}${n=n.replace(/\n+/g,`$&${l}`)}${f}`;return`${A}\n${l}${Ha(`${T}${n=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${l}`)}${f}`,l,Fa,qa(r,!0))}`}function Qa(e,t,n,r){const{implicitKey:s,inFlow:i}=t,o="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)});let{type:a}=e;a!==Oa.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(a=Oa.QUOTE_DOUBLE);const c=e=>{switch(e){case Oa.BLOCK_FOLDED:case Oa.BLOCK_LITERAL:return s||i?Va(o.value,t):$a(o,t,n,r);case Oa.QUOTE_DOUBLE:return ja(o.value,t);case Oa.QUOTE_SINGLE:return za(o.value,t);case Oa.PLAIN:return function(e,t,n,r){const{type:s,value:i}=e,{actualString:o,implicitKey:a,indent:c,indentStep:l,inFlow:u}=t;if(a&&i.includes("\n")||u&&/[[\]{},]/.test(i))return Va(i,t);if(!i||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(i))return a||u||!i.includes("\n")?Va(i,t):$a(e,t,n,r);if(!a&&!u&&s!==Oa.PLAIN&&i.includes("\n"))return $a(e,t,n,r);if(Ya(i)){if(""===c)return t.forceBlockIndent=!0,$a(e,t,n,r);if(a&&c===l)return Va(i,t)}const h=i.replace(/\n+/g,`$&\n${c}`);if(o){const e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(h),{compat:n,tags:r}=t.doc.schema;if(r.some(e)||n?.some(e))return Va(i,t)}return a?h:Ha(h,c,Ba,qa(t,!1))}(o,t,n,r);default:return null}};let l=c(a);if(null===l){const{defaultKeyType:e,defaultStringType:n}=t.options,r=s&&e||n;if(l=c(r),null===l)throw new Error(`Unsupported default string type ${r}`)}return l}function Wa(e,t){const n=Object.assign({blockQuote:!0,commentString:Ma,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof n.indent?" ".repeat(n.indent):" ",inFlow:r,options:n}}function Xa(e,t,n,r){if(ta(e))return e.toString(t,n,r);if(Jo(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let s;const i=ia(e)?e:t.doc.createNode(e,{onTagObj:e=>s=e});s||(s=function(e,t){if(t.tag){const n=e.filter((e=>e.tag===t.tag));if(n.length>0)return n.find((e=>e.format===t.format))??n[0]}let n,r;if(na(t)){r=t.value;const s=e.filter((e=>e.identify?.(r)));n=s.find((e=>e.format===t.format))??s.find((e=>!e.format))}else r=t,n=e.find((e=>e.nodeClass&&r instanceof e.nodeClass));if(!n)throw new Error(`Tag not resolved for ${r?.constructor?.name??typeof r} value`);return n}(t.doc.schema.tags,i));const o=function(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const s=[],i=(na(e)||sa(e))&&e.anchor;i&&Aa(i)&&(n.add(i),s.push(`&${i}`));const o=e.tag?e.tag:t.default?null:t.tag;return o&&s.push(r.directives.tagString(o)),s.join(" ")}(i,s,t);o.length>0&&(t.indentAtStart=(t.indentAtStart??0)+o.length+1);const a="function"==typeof s.stringify?s.stringify(i,t,n,r):na(i)?Qa(i,t,n,r):i.toString(t,n,r);return o?na(i)||"{"===a[0]||"["===a[0]?`${o} ${a}`:`${o}\n${t.indent}${a}`:a}function Ja(e,t){"debug"!==e&&"warn"!==e||("undefined"!=typeof process&&process.emitWarning?process.emitWarning(t):console.warn(t))}function Za(e,t,{key:n,value:r}){if(e?.doc.schema.merge&&ec(n))if(r=Jo(r)?r.resolve(e.doc):r,ra(r))for(const n of r.items)tc(e,t,n);else if(Array.isArray(r))for(const n of r)tc(e,t,n);else tc(e,t,r);else{const s=ka(n,"",e);if(t instanceof Map)t.set(s,ka(r,s,e));else if(t instanceof Set)t.add(s);else{const i=function(e,t,n){if(null===t)return"";if("object"!=typeof t)return String(t);if(ia(e)&&n?.doc){const t=Wa(n.doc,{});t.anchors=new Set;for(const e of n.anchors.keys())t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;const r=e.toString(t);if(!n.mapKeyWarned){let e=JSON.stringify(r);e.length>40&&(e=e.substring(0,36)+'..."'),Ja(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(t)}(n,s,e),o=ka(r,i,e);i in t?Object.defineProperty(t,i,{value:o,writable:!0,enumerable:!0,configurable:!0}):t[i]=o}}return t}const ec=e=>"<<"===e||na(e)&&"<<"===e.value&&(!e.type||e.type===Oa.PLAIN);function tc(e,t,n){const r=e&&Jo(n)?n.resolve(e.doc):n;if(!ea(r))throw new Error("Merge sources must be maps or map aliases");const s=r.toJSON(null,e,Map);for(const[e,n]of s)t instanceof Map?t.has(e)||t.set(e,n):t instanceof Set?t.add(e):Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!0,configurable:!0});return t}function nc(e,t,n){const r=La(e,void 0,n),s=La(t,void 0,n);return new rc(r,s)}class rc{constructor(e,t=null){Object.defineProperty(this,Xo,{value:$o}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this;return ia(t)&&(t=t.clone(e)),ia(n)&&(n=n.clone(e)),new rc(t,n)}toJSON(e,t){return Za(t,t?.mapAsMap?new Map:{},this)}toString(e,t,n){return e?.doc?function({key:e,value:t},n,r,s){const{allNullValues:i,doc:o,indent:a,indentStep:c,options:{commentString:l,indentSeq:u,simpleKeys:h}}=n;let p=ia(e)&&e.comment||null;if(h){if(p)throw new Error("With simple keys, key nodes cannot have comments");if(sa(e))throw new Error("With simple keys, collection cannot be used as a key value")}let f=!h&&(!e||p&&null==t&&!n.inFlow||sa(e)||(na(e)?e.type===Oa.BLOCK_FOLDED||e.type===Oa.BLOCK_LITERAL:"object"==typeof e));n=Object.assign({},n,{allNullValues:!1,implicitKey:!f&&(h||!i),indent:a+c});let d,m,E,g=!1,T=!1,A=Xa(e,n,(()=>g=!0),(()=>T=!0));if(!f&&!n.inFlow&&A.length>1024){if(h)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");f=!0}if(n.inFlow){if(i||null==t)return g&&r&&r(),""===A?"?":f?`? ${A}`:A}else if(i&&!h||null==t&&f)return A=`? ${A}`,p&&!g?A+=xa(A,n.indent,l(p)):T&&s&&s(),A;g&&(p=null),f?(p&&(A+=xa(A,n.indent,l(p))),A=`? ${A}\n${a}:`):(A=`${A}:`,p&&(A+=xa(A,n.indent,l(p)))),ia(t)?(d=!!t.spaceBefore,m=t.commentBefore,E=t.comment):(d=!1,m=null,E=null,t&&"object"==typeof t&&(t=o.createNode(t))),n.implicitKey=!1,f||p||!na(t)||(n.indentAtStart=A.length+1),T=!1,u||!(c.length>=2)||n.inFlow||f||!ra(t)||t.flow||t.tag||t.anchor||(n.indent=n.indent.substring(2));let _=!1;const y=Xa(t,n,(()=>_=!0),(()=>T=!0));let b=" ";if(p||d||m)b=d?"\n":"",m&&(b+=`\n${Pa(l(m),n.indent)}`),""!==y||n.inFlow?b+=`\n${n.indent}`:"\n"===b&&(b="\n\n");else if(!f&&sa(t)){const e=y[0],r=y.indexOf("\n"),s=-1!==r,i=n.inFlow??t.flow??0===t.items.length;if(s||!i){let t=!1;if(s&&("&"===e||"!"===e)){let n=y.indexOf(" ");"&"===e&&-1!==n&&no=null),(()=>h=!0));o&&(a+=xa(a,i,l(o))),h&&o&&(h=!1),p.push(r+a)}let f;if(0===p.length)f=s.start+s.end;else{f=p[0];for(let e=1;ei=null));ep||o.includes("\n"))&&(h=!0),f.push(o),p=f.length}let d;const{start:m,end:E}=r;if(0===f.length)d=m+E;else{if(!h){h=f.reduce(((e,t)=>e+t.length+2),2)>wa.maxFlowStringSingleLineLength}if(h){d=m;for(const e of f)d+=e?`\n${a}${o}${e}`:"\n";d+=`\n${o}${E}`}else d=`${m}${c}${f.join(" ")}${c}${E}`}return e&&(d+=xa(d,o,l(e)),i&&i()),d}function ac({indent:e,options:{commentString:t}},n,r,s){if(r&&s&&(r=r.replace(/^\n+/,"")),r){const s=Pa(t(r),e);n.push(s.trimStart())}}function cc(e,t){const n=na(t)?t.value:t;for(const r of e)if(ta(r)){if(r.key===t||r.key===n)return r;if(na(r.key)&&r.key.value===n)return r}}class lc extends wa{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(Ko,e),this.items=[]}static from(e,t,n){const{keepUndefined:r,replacer:s}=n,i=new this(e),o=(e,o)=>{if("function"==typeof s)o=s.call(t,e,o);else if(Array.isArray(s)&&!s.includes(e))return;(void 0!==o||r)&&i.items.push(nc(e,o,n))};if(t instanceof Map)for(const[e,n]of t)o(e,n);else if(t&&"object"==typeof t)for(const e of Object.keys(t))o(e,t[e]);return"function"==typeof e.sortMapEntries&&i.items.sort(e.sortMapEntries),i}add(e,t){let n;n=ta(e)?e:e&&"object"==typeof e&&"key"in e?new rc(e.key,e.value):new rc(e,e?.value);const r=cc(this.items,n.key),s=this.schema?.sortMapEntries;if(r){if(!t)throw new Error(`Key ${n.key} already set`);na(r.value)&&Ia(n.value)?r.value.value=n.value:r.value=n.value}else if(s){const e=this.items.findIndex((e=>s(n,e)<0));-1===e?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){const t=cc(this.items,e);if(!t)return!1;return this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){const n=cc(this.items,e),r=n?.value;return(!t&&na(r)?r.value:r)??void 0}has(e){return!!cc(this.items,e)}set(e,t){this.add(new rc(e,t),!0)}toJSON(e,t,n){const r=n?new n:t?.mapAsMap?new Map:{};t?.onCreate&&t.onCreate(r);for(const e of this.items)Za(t,r,e);return r}toString(e,t,n){if(!e)return JSON.stringify(this);for(const e of this.items)if(!ta(e))throw new Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),sc(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}const uc={collection:"map",default:!0,nodeClass:lc,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(ea(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,n)=>lc.from(e,t,n)};class hc extends wa{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(Wo,e),this.items=[]}add(e){this.items.push(e)}delete(e){const t=pc(e);if("number"!=typeof t)return!1;return this.items.splice(t,1).length>0}get(e,t){const n=pc(e);if("number"!=typeof n)return;const r=this.items[n];return!t&&na(r)?r.value:r}has(e){const t=pc(e);return"number"==typeof t&&t=0?t:null}const fc={collection:"seq",default:!0,nodeClass:hc,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(ra(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,n)=>hc.from(e,t,n)},dc={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,n,r)=>Qa(e,t=Object.assign({actualString:!0},t),n,r)},mc={identify:e=>null==e,createNode:()=>new Oa(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Oa(null),stringify:({source:e},t)=>"string"==typeof e&&mc.test.test(e)?e:t.options.nullStr},Ec={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new Oa("t"===e[0]||"T"===e[0]),stringify({source:e,value:t},n){if(e&&Ec.test.test(e)){if(t===("t"===e[0]||"T"===e[0]))return e}return t?n.options.trueStr:n.options.falseStr}};function gc({format:e,minFractionDigits:t,tag:n,value:r}){if("bigint"==typeof r)return String(r);const s="number"==typeof r?r:Number(r);if(!isFinite(s))return isNaN(s)?".nan":s<0?"-.inf":".inf";let i=JSON.stringify(r);if(!e&&t&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(i)){let e=i.indexOf(".");e<0&&(e=i.length,i+=".");let n=t-(i.length-e-1);for(;n-- >0;)i+="0"}return i}const Tc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN))$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:gc},Ac={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():gc(e)}},_c={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new Oa(parseFloat(e)),n=e.indexOf(".");return-1!==n&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-n-1),t},stringify:gc},yc=e=>"bigint"==typeof e||Number.isInteger(e),bc=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function kc(e,t,n){const{value:r}=e;return yc(r)&&r>=0?n+r.toString(t):gc(e)}const Nc={identify:e=>yc(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>bc(e,2,8,n),stringify:e=>kc(e,8,"0o")},Sc={identify:yc,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>bc(e,0,10,n),stringify:gc},Cc={identify:e=>yc(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>bc(e,2,16,n),stringify:e=>kc(e,16,"0x")},Ic=[uc,fc,dc,mc,Ec,Nc,Sc,Cc,Tc,Ac,_c];function Oc(e){return"bigint"==typeof e||Number.isInteger(e)}const Dc=({value:e})=>JSON.stringify(e),Lc=[{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:Dc},{identify:e=>null==e,createNode:()=>new Oa(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Dc},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,stringify:Dc},{identify:Oc,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>Oc(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:Dc}],Rc=[uc,fc].concat(Lc,{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),vc={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"==typeof Buffer)return Buffer.from(e,"base64");if("function"==typeof atob){const t=atob(e.replace(/[\n\r]/g,"")),n=new Uint8Array(t.length);for(let e=0;e1&&t("Each pair must have its own sequence indicator");const e=r.items[0]||new rc(new Oa(null));if(r.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${r.commentBefore}\n${e.key.commentBefore}`:r.commentBefore),r.comment){const t=e.value??e.key;t.comment=t.comment?`${r.comment}\n${t.comment}`:r.comment}r=e}e.items[n]=ta(r)?r:new rc(r)}}else t("Expected a sequence for this tag");return e}function Mc(e,t,n){const{replacer:r}=n,s=new hc(e);s.tag="tag:yaml.org,2002:pairs";let i=0;if(t&&Symbol.iterator in Object(t))for(let e of t){let o,a;if("function"==typeof r&&(e=r.call(t,String(i++),e)),Array.isArray(e)){if(2!==e.length)throw new TypeError(`Expected [key, value] tuple: ${e}`);o=e[0],a=e[1]}else if(e&&e instanceof Object){const t=Object.keys(e);if(1!==t.length)throw new TypeError(`Expected tuple with one key, not ${t.length} keys`);o=t[0],a=e[o]}else o=e;s.items.push(nc(o,a,n))}return s}const Pc={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:wc,createNode:Mc};class xc extends hc{constructor(){super(),this.add=lc.prototype.add.bind(this),this.delete=lc.prototype.delete.bind(this),this.get=lc.prototype.get.bind(this),this.has=lc.prototype.has.bind(this),this.set=lc.prototype.set.bind(this),this.tag=xc.tag}toJSON(e,t){if(!t)return super.toJSON(e);const n=new Map;t?.onCreate&&t.onCreate(n);for(const e of this.items){let r,s;if(ta(e)?(r=ka(e.key,"",t),s=ka(e.value,r,t)):r=ka(e,"",t),n.has(r))throw new Error("Ordered maps must not include duplicate keys");n.set(r,s)}return n}static from(e,t,n){const r=Mc(e,t,n),s=new this;return s.items=r.items,s}}xc.tag="tag:yaml.org,2002:omap";const Bc={collection:"seq",identify:e=>e instanceof Map,nodeClass:xc,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=wc(e,t),r=[];for(const{key:e}of n.items)na(e)&&(r.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):r.push(e.value));return Object.assign(new xc,n)},createNode:(e,t,n)=>xc.from(e,t,n)};function Fc({value:e,source:t},n){return t&&(e?Uc:Hc).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const Uc={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new Oa(!0),stringify:Fc},Hc={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>new Oa(!1),stringify:Fc},Gc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:gc},qc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():gc(e)}},Yc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new Oa(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(-1!==n){const r=e.substring(n+1).replace(/_/g,"");"0"===r[r.length-1]&&(t.minFractionDigits=r.length)}return t},stringify:gc},jc=e=>"bigint"==typeof e||Number.isInteger(e);function zc(e,t,n,{intAsBigInt:r}){const s=e[0];if("-"!==s&&"+"!==s||(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}const t=BigInt(e);return"-"===s?BigInt(-1)*t:t}const i=parseInt(e,n);return"-"===s?-1*i:i}function Vc(e,t,n){const{value:r}=e;if(jc(r)){const e=r.toString(t);return r<0?"-"+n+e.substr(1):n+e}return gc(e)}const Kc={identify:jc,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>zc(e,2,2,n),stringify:e=>Vc(e,2,"0b")},$c={identify:jc,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>zc(e,1,8,n),stringify:e=>Vc(e,8,"0")},Qc={identify:jc,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>zc(e,0,10,n),stringify:gc},Wc={identify:jc,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>zc(e,2,16,n),stringify:e=>Vc(e,16,"0x")};class Xc extends lc{constructor(e){super(e),this.tag=Xc.tag}add(e){let t;t=ta(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new rc(e.key,null):new rc(e,null);cc(this.items,t.key)||this.items.push(t)}get(e,t){const n=cc(this.items,e);return!t&&ta(n)?na(n.key)?n.key.value:n.key:n}set(e,t){if("boolean"!=typeof t)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof t);const n=cc(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new rc(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw new Error("Set items must all have null values")}static from(e,t,n){const{replacer:r}=n,s=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)"function"==typeof r&&(e=r.call(t,e,e)),s.items.push(nc(e,null,n));return s}}Xc.tag="tag:yaml.org,2002:set";const Jc={collection:"map",identify:e=>e instanceof Set,nodeClass:Xc,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>Xc.from(e,t,n),resolve(e,t){if(ea(e)){if(e.hasAllNullValues(!0))return Object.assign(new Xc,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function Zc(e,t){const n=e[0],r="-"===n||"+"===n?e.substring(1):e,s=e=>t?BigInt(e):Number(e),i=r.replace(/_/g,"").split(":").reduce(((e,t)=>e*s(60)+s(t)),s(0));return"-"===n?s(-1)*i:i}function el(e){let{value:t}=e,n=e=>e;if("bigint"==typeof t)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return gc(e);let r="";t<0&&(r="-",t*=n(-1));const s=n(60),i=[t%s];return t<60?i.unshift(0):(t=(t-i[0])/s,i.unshift(t%s),t>=60&&(t=(t-i[0])/s,i.unshift(t))),r+i.map((e=>String(e).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}const tl={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>Zc(e,n),stringify:el},nl={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>Zc(e,!1),stringify:el},rl={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(rl.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,s,i,o,a]=t.map(Number),c=t[7]?Number((t[7]+"00").substr(1,3)):0;let l=Date.UTC(n,r-1,s,i||0,o||0,a||0,c);const u=t[8];if(u&&"Z"!==u){let e=Zc(u,!1);Math.abs(e)<30&&(e*=60),l-=6e4*e}return new Date(l)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},sl=[uc,fc,dc,mc,Uc,Hc,Kc,$c,Qc,Wc,Gc,qc,Yc,vc,Bc,Pc,Jc,tl,nl,rl],il=new Map([["core",Ic],["failsafe",[uc,fc,dc]],["json",Rc],["yaml11",sl],["yaml-1.1",sl]]),ol={binary:vc,bool:Ec,float:_c,floatExp:Ac,floatNaN:Tc,floatTime:nl,int:Sc,intHex:Cc,intOct:Nc,intTime:tl,map:uc,null:mc,omap:Bc,pairs:Pc,seq:fc,set:Jc,timestamp:rl},al={"tag:yaml.org,2002:binary":vc,"tag:yaml.org,2002:omap":Bc,"tag:yaml.org,2002:pairs":Pc,"tag:yaml.org,2002:set":Jc,"tag:yaml.org,2002:timestamp":rl};function cl(e,t){let n=il.get(t);if(!n){if(!Array.isArray(e)){const e=Array.from(il.keys()).filter((e=>"yaml11"!==e)).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}n=[]}if(Array.isArray(e))for(const t of e)n=n.concat(t);else"function"==typeof e&&(n=e(n.slice()));return n.map((e=>{if("string"!=typeof e)return e;const t=ol[e];if(t)return t;const n=Object.keys(ol).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag "${e}"; use one of ${n}`)}))}const ll=(e,t)=>e.keyt.key?1:0;class ul{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:r,schema:s,sortMapEntries:i,toStringDefaults:o}){this.compat=Array.isArray(e)?cl(e,"compat"):e?cl(null,e):null,this.merge=!!n,this.name="string"==typeof s&&s||"core",this.knownTags=r?al:{},this.tags=cl(t,this.name),this.toStringOptions=o??null,Object.defineProperty(this,Ko,{value:uc}),Object.defineProperty(this,Qo,{value:dc}),Object.defineProperty(this,Wo,{value:fc}),this.sortMapEntries="function"==typeof i?i:!0===i?ll:null}clone(){const e=Object.create(ul.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}class hl{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Xo,{value:Vo});let r=null;"function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t,t=void 0);const s=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},n);this.options=s;let{version:i}=s;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(i=this.directives.yaml.version)):this.directives=new Ta({version:i}),this.setSchema(i,n),this.contents=void 0===e?null:this.createNode(e,r,n)}clone(){const e=Object.create(hl.prototype,{[Xo]:{value:Vo}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=ia(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){pl(this.contents)&&this.contents.add(e)}addIn(e,t){pl(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){const n=_a(this);e.anchor=!t||n.has(t)?ya(t||"a",n):t}return new Sa(e.anchor)}createNode(e,t,n){let r;if("function"==typeof t)e=t.call({"":e},"",e),r=t;else if(Array.isArray(t)){const e=e=>"number"==typeof e||e instanceof String||e instanceof Number,n=t.filter(e).map(String);n.length>0&&(t=t.concat(n)),r=t}else void 0===n&&t&&(n=t,t=void 0);const{aliasDuplicateObjects:s,anchorPrefix:i,flow:o,keepUndefined:a,onTagObj:c,tag:l}=n??{},{onAnchor:u,setAnchors:h,sourceObjects:p}=function(e,t){const n=[],r=new Map;let s=null;return{onAnchor:r=>{n.push(r),s||(s=_a(e));const i=ya(t,s);return s.add(i),i},setAnchors:()=>{for(const e of n){const t=r.get(e);if("object"!=typeof t||!t.anchor||!na(t.node)&&!sa(t.node)){const t=new Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}t.node.anchor=t.anchor}},sourceObjects:r}}(this,i||"a"),f=La(e,l,{aliasDuplicateObjects:s??!0,keepUndefined:a??!1,onAnchor:u,onTagObj:c,replacer:r,schema:this.schema,sourceObjects:p});return o&&sa(f)&&(f.flow=!0),h(),f}createPair(e,t,n={}){const r=this.createNode(e,null,n),s=this.createNode(t,null,n);return new rc(r,s)}delete(e){return!!pl(this.contents)&&this.contents.delete(e)}deleteIn(e){return va(e)?null!=this.contents&&(this.contents=null,!0):!!pl(this.contents)&&this.contents.deleteIn(e)}get(e,t){return sa(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return va(e)?!t&&na(this.contents)?this.contents.value:this.contents:sa(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!sa(this.contents)&&this.contents.has(e)}hasIn(e){return va(e)?void 0!==this.contents:!!sa(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=Ra(this.schema,[e],t):pl(this.contents)&&this.contents.set(e,t)}setIn(e,t){va(e)?this.contents=t:null==this.contents?this.contents=Ra(this.schema,Array.from(e),t):pl(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let n;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new Ta({version:"1.1"}),n={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new Ta({version:e}),n={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{const t=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else{if(!n)throw new Error("With a null YAML version, the { schema: Schema } option is required");this.schema=new ul(Object.assign(n,t))}}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:s,reviver:i}={}){const o={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===n,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},a=ka(this.contents,t??"",o);if("function"==typeof s)for(const{count:e,res:t}of o.anchors.values())s(t,e);return"function"==typeof i?ba(i,{"":a},"",a):a}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){const t=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${t}`)}return function(e,t){const n=[];let r=!0===t.directives;if(!1!==t.directives&&e.directives){const t=e.directives.toString(e);t?(n.push(t),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");const s=Wa(e,t),{commentString:i}=s.options;if(e.commentBefore){1!==n.length&&n.unshift("");const t=i(e.commentBefore);n.unshift(Pa(t,""))}let o=!1,a=null;if(e.contents){if(ia(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){const t=i(e.contents.commentBefore);n.push(Pa(t,""))}s.forceBlockIndent=!!e.comment,a=e.contents.comment}const t=a?void 0:()=>o=!0;let c=Xa(e.contents,s,(()=>a=null),t);a&&(c+=xa(c,"",i(a))),"|"!==c[0]&&">"!==c[0]||"---"!==n[n.length-1]?n.push(c):n[n.length-1]=`--- ${c}`}else n.push(Xa(e.contents,s));if(e.directives?.docEnd)if(e.comment){const t=i(e.comment);t.includes("\n")?(n.push("..."),n.push(Pa(t,""))):n.push(`... ${t}`)}else n.push("...");else{let t=e.comment;t&&o&&(t=t.replace(/^\n+/,"")),t&&(o&&!a||""===n[n.length-1]||n.push(""),n.push(Pa(i(t),"")))}return n.join("\n")+"\n"}(this,e)}}function pl(e){if(sa(e))return!0;throw new Error("Expected a YAML collection as document contents")}class fl extends Error{constructor(e,t,n,r){super(),this.name=e,this.code=n,this.message=r,this.pos=t}}class dl extends fl{constructor(e,t,n){super("YAMLParseError",e,t,n)}}class ml extends fl{constructor(e,t,n){super("YAMLWarning",e,t,n)}}const El=(e,t)=>n=>{if(-1===n.pos[0])return;n.linePos=n.pos.map((e=>t.linePos(e)));const{line:r,col:s}=n.linePos[0];n.message+=` at line ${r}, column ${s}`;let i=s-1,o=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(i>=60&&o.length>80){const e=Math.min(i-39,o.length-79);o="…"+o.substring(e),i-=e-1}if(o.length>80&&(o=o.substring(0,79)+"…"),r>1&&/^ *$/.test(o.substring(0,i))){let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+"…\n"),o=n+o}if(/[^ ]/.test(o)){let e=1;const t=n.linePos[1];t&&t.line===r&&t.col>s&&(e=Math.max(1,Math.min(t.col-s,80-i)));const a=" ".repeat(i)+"^".repeat(e);n.message+=`:\n\n${o}\n${a}\n`}};function gl(e,{flow:t,indicator:n,next:r,offset:s,onError:i,startOnNewline:o}){let a=!1,c=o,l=o,u="",h="",p=!1,f=!1,d=!1,m=null,E=null,g=null,T=null,A=null;for(const r of e)switch(d&&("space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&i(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),d=!1),r.type){case"space":!t&&c&&"doc-start"!==n&&"\t"===r.source[0]&&i(r,"TAB_AS_INDENT","Tabs are not allowed as indentation"),l=!0;break;case"comment":{l||i(r,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const e=r.source.substring(1)||" ";u?u+=h+e:u=e,h="",c=!1;break}case"newline":c?u?u+=r.source:a=!0:h+=r.source,c=!0,p=!0,(m||E)&&(f=!0),l=!0;break;case"anchor":m&&i(r,"MULTIPLE_ANCHORS","A node can have at most one anchor"),r.source.endsWith(":")&&i(r.offset+r.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),m=r,null===A&&(A=r.offset),c=!1,l=!1,d=!0;break;case"tag":E&&i(r,"MULTIPLE_TAGS","A node can have at most one tag"),E=r,null===A&&(A=r.offset),c=!1,l=!1,d=!0;break;case n:(m||E)&&i(r,"BAD_PROP_ORDER",`Anchors and tags must be after the ${r.source} indicator`),T&&i(r,"UNEXPECTED_TOKEN",`Unexpected ${r.source} in ${t??"collection"}`),T=r,c=!1,l=!1;break;case"comma":if(t){g&&i(r,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),g=r,c=!1,l=!1;break}default:i(r,"UNEXPECTED_TOKEN",`Unexpected ${r.type} token`),c=!1,l=!1}const _=e[e.length-1],y=_?_.offset+_.source.length:s;return d&&r&&"space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&("scalar"!==r.type||""!==r.source)&&i(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),{comma:g,found:T,spaceBefore:a,comment:u,hasNewline:p,hasNewlineAfterProp:f,anchor:m,tag:E,end:y,start:A??y}}function Tl(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end)for(const t of e.end)if("newline"===t.type)return!0;return!1;case"flow-collection":for(const t of e.items){for(const e of t.start)if("newline"===e.type)return!0;if(t.sep)for(const e of t.sep)if("newline"===e.type)return!0;if(Tl(t.key)||Tl(t.value))return!0}return!1;default:return!0}}function Al(e,t,n){if("flow-collection"===t?.type){const r=t.end[0];if(r.indent===e&&("]"===r.source||"}"===r.source)&&Tl(t)){n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}}function _l(e,t,n){const{uniqueKeys:r}=e.options;if(!1===r)return!1;const s="function"==typeof r?r:(t,n)=>t===n||na(t)&&na(n)&&t.value===n.value&&!("<<"===t.value&&e.schema.merge);return t.some((e=>s(e.key,n)))}const yl="All mapping items must start at the same column";function bl(e,t,n,r){let s="";if(e){let i=!1,o="";for(const a of e){const{source:e,type:c}=a;switch(c){case"space":i=!0;break;case"comment":{n&&!i&&r(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const t=e.substring(1)||" ";s?s+=o+t:s=t,o="";break}case"newline":s&&(o+=e),i=!0;break;default:r(a,"UNEXPECTED_TOKEN",`Unexpected ${c} at node end`)}t+=e.length}}return{comment:s,offset:t}}const kl="Block collections are not allowed within flow collections",Nl=e=>e&&("block-map"===e.type||"block-seq"===e.type);function Sl(e,t,n,r,s,i){const o="block-map"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,s,i){const o=new(i?.nodeClass??lc)(n.schema);n.atRoot&&(n.atRoot=!1);let a=r.offset,c=null;for(const i of r.items){const{start:l,key:u,sep:h,value:p}=i,f=gl(l,{indicator:"explicit-key-ind",next:u??h?.[0],offset:a,onError:s,startOnNewline:!0}),d=!f.found;if(d){if(u&&("block-seq"===u.type?s(a,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in u&&u.indent!==r.indent&&s(a,"BAD_INDENT",yl)),!f.anchor&&!f.tag&&!h){c=f.end,f.comment&&(o.comment?o.comment+="\n"+f.comment:o.comment=f.comment);continue}(f.hasNewlineAfterProp||Tl(u))&&s(u??l[l.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else f.found?.indent!==r.indent&&s(a,"BAD_INDENT",yl);const m=f.end,E=u?e(n,u,f,s):t(n,m,l,null,f,s);n.schema.compat&&Al(r.indent,u,s),_l(n,o.items,E)&&s(m,"DUPLICATE_KEY","Map keys must be unique");const g=gl(h??[],{indicator:"map-value-ind",next:p,offset:E.range[2],onError:s,startOnNewline:!u||"block-scalar"===u.type});if(a=g.end,g.found){d&&("block-map"!==p?.type||g.hasNewline||s(a,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&f.start0){const e=bl(f,d,n.options.strict,s);e.comment&&(c.comment?c.comment+="\n"+e.comment:c.comment=e.comment),c.range=[r.offset,d,e.offset]}else c.range=[r.offset,d,d];return c}(e,t,n,r,i),a=o.constructor;return"!"===s||s===a.tagName?(o.tag=a.tagName,o):(s&&(o.tag=s),o)}function Cl(e,t,n){const r=e.offset,s=function({offset:e,props:t},n,r){if("block-scalar-header"!==t[0].type)return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:s}=t[0],i=s[0];let o=0,a="",c=-1;for(let t=1;t=0;--e){const t=o[e][1];if(""!==t&&"\r"!==t)break;a=e}if(0===a){const t="+"===s.chomp&&o.length>0?"\n".repeat(Math.max(1,o.length-1)):"";let n=r+s.length;return e.source&&(n+=e.source.length),{value:t,type:i,comment:s.comment,range:[r,n,n]}}let c=e.indent+s.indent,l=e.offset+s.length,u=0;for(let e=0;ec&&(c=t.length),l+=t.length+r.length+1}for(let e=o.length-1;e>=a;--e)o[e][0].length>c&&(a=e+1);let h="",p="",f=!1;for(let e=0;ec||"\t"===r[0]?(" "===p?p="\n":f||"\n"!==p||(p="\n\n"),h+=p+t.slice(c)+r,p="\n",f=!0):""===r?"\n"===p?h+="\n":p="\n":(h+=p+r,p=" ",f=!1)}switch(s.chomp){case"-":break;case"+":for(let e=a;en(r+e,t,s);switch(s){case"scalar":a=Oa.PLAIN,c=function(e,t){let n="";switch(e[0]){case"\t":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":n=`block scalar indicator ${e[0]}`;break;case"@":case"`":n=`reserved character ${e[0]}`}n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`);return Ol(e)}(i,l);break;case"single-quoted-scalar":a=Oa.QUOTE_SINGLE,c=function(e,t){"'"===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR","Missing closing 'quote");return Ol(e.slice(1,-1)).replace(/''/g,"'")}(i,l);break;case"double-quoted-scalar":a=Oa.QUOTE_DOUBLE,c=function(e,t){let n="";for(let r=1;rt?e.slice(t,r+1):s)}else n+=s}'"'===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR",'Missing closing "quote');return n}(i,l);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${s}`),{value:"",type:null,comment:"",range:[r,r+i.length,r+i.length]}}const u=r+i.length,h=bl(o,u,t,n);return{value:c,type:a,comment:h.comment,range:[r,u,h.offset]}}function Ol(e){let t,n;try{t=new RegExp("(.*?)(?r(n,"TAG_RESOLVE_FAILED",e))):null,l=n&&c?function(e,t,n,r,s){if("!"===n)return e[Qo];const i=[];for(const t of e.tags)if(!t.collection&&t.tag===n){if(!t.default||!t.test)return t;i.push(t)}for(const e of i)if(e.test?.test(t))return e;const o=e.knownTags[n];if(o&&!o.collection)return e.tags.push(Object.assign({},o,{default:!1,test:void 0})),o;return s(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,"tag:yaml.org,2002:str"!==n),e[Qo]}(e.schema,s,c,n,r):"scalar"===t.type?function({directives:e,schema:t},n,r,s){const i=t.tags.find((e=>e.default&&e.test?.test(n)))||t[Qo];if(t.compat){const o=t.compat.find((e=>e.default&&e.test?.test(n)))??t[Qo];if(i.tag!==o.tag){s(r,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${e.tagString(i.tag)} or ${e.tagString(o.tag)}`,!0)}}return i}(e,s,t,r):e.schema[Qo];let u;try{const i=l.resolve(s,(e=>r(n??t,"TAG_RESOLVE_FAILED",e)),e.options);u=na(i)?i:new Oa(i)}catch(e){const i=e instanceof Error?e.message:String(e);r(n??t,"TAG_RESOLVE_FAILED",i),u=new Oa(s)}return u.range=a,u.source=s,i&&(u.type=i),c&&(u.tag=c),l.format&&(u.format=l.format),o&&(u.comment=o),u}function wl(e,t,n){if(t){null===n&&(n=t.length);for(let r=n-1;r>=0;--r){let n=t[r];switch(n.type){case"space":case"comment":case"newline":e-=n.source.length;continue}for(n=t[++r];"space"===n?.type;)e+=n.source.length,n=t[++r];break}}return e}const Ml={composeNode:Pl,composeEmptyNode:xl};function Pl(e,t,n,r){const{spaceBefore:s,comment:i,anchor:o,tag:a}=n;let c,l=!0;switch(t.type){case"alias":c=function({options:e},{offset:t,source:n,end:r},s){const i=new Sa(n.substring(1));""===i.source&&s(t,"BAD_ALIAS","Alias cannot be an empty string");i.source.endsWith(":")&&s(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const o=t+n.length,a=bl(r,o,e.strict,s);i.range=[t,o,a.offset],a.comment&&(i.comment=a.comment);return i}(e,t,r),(o||a)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":c=vl(e,t,a,r),o&&(c.anchor=o.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":c=function(e,t,n,r,s){const i=r?t.directives.tagName(r.source,(e=>s(r,"TAG_RESOLVE_FAILED",e))):null,o="block-map"===n.type?"map":"block-seq"===n.type?"seq":"{"===n.start.source?"map":"seq";if(!r||!i||"!"===i||i===lc.tagName&&"map"===o||i===hc.tagName&&"seq"===o||!o)return Sl(e,t,n,s,i);let a=t.schema.tags.find((e=>e.tag===i&&e.collection===o));if(!a){const c=t.schema.knownTags[i];if(!c||c.collection!==o)return c?.collection?s(r,"BAD_COLLECTION_TYPE",`${c.tag} used for ${o} collection, but expects ${c.collection}`,!0):s(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${i}`,!0),Sl(e,t,n,s,i);t.schema.tags.push(Object.assign({},c,{default:!1})),a=c}const c=Sl(e,t,n,s,i,a),l=a.resolve?.(c,(e=>s(r,"TAG_RESOLVE_FAILED",e)),t.options)??c,u=ia(l)?l:new Oa(l);return u.range=c.range,u.tag=i,a?.format&&(u.format=a.format),u}(Ml,e,t,a,r),o&&(c.anchor=o.source.substring(1));break;default:r(t,"UNEXPECTED_TOKEN","error"===t.type?t.message:`Unsupported token (type: ${t.type})`),c=xl(e,t.offset,void 0,null,n,r),l=!1}return o&&""===c.anchor&&r(o,"BAD_ALIAS","Anchor cannot be an empty string"),s&&(c.spaceBefore=!0),i&&("scalar"===t.type&&""===t.source?c.comment=i:c.commentBefore=i),e.options.keepSourceTokens&&l&&(c.srcToken=t),c}function xl(e,t,n,r,{spaceBefore:s,comment:i,anchor:o,tag:a,end:c},l){const u=vl(e,{type:"scalar",offset:wl(t,n,r),indent:-1,source:""},a,l);return o&&(u.anchor=o.source.substring(1),""===u.anchor&&l(o,"BAD_ALIAS","Anchor cannot be an empty string")),s&&(u.spaceBefore=!0),i&&(u.comment=i,u.range[2]=c),u}function Bl(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+("string"==typeof n?n.length:1)]}function Fl(e){let t="",n=!1,r=!1;for(let s=0;s{const s=Bl(e);r?this.warnings.push(new ml(s,t,n)):this.errors.push(new dl(s,t,n))},this.directives=new Ta({version:e.version||"1.2"}),this.options=e}decorate(e,t){const{comment:n,afterEmptyLine:r}=Fl(this.prelude);if(n){const s=e.contents;if(t)e.comment=e.comment?`${e.comment}\n${n}`:n;else if(r||e.directives.docStart||!s)e.commentBefore=n;else if(sa(s)&&!s.flow&&s.items.length>0){let e=s.items[0];ta(e)&&(e=e.key);const t=e.commentBefore;e.commentBefore=t?`${n}\n${t}`:n}else{const e=s.commentBefore;s.commentBefore=e?`${n}\n${e}`:n}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:Fl(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){for(const t of e)yield*this.next(t);yield*this.end(t,n)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,((t,n,r)=>{const s=Bl(e);s[0]+=t,this.onError(s,"BAD_DIRECTIVE",n,r)})),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{const t=function(e,t,{offset:n,start:r,value:s,end:i},o){const a=Object.assign({_directives:t},e),c=new hl(void 0,a),l={atRoot:!0,directives:c.directives,options:c.options,schema:c.schema},u=gl(r,{indicator:"doc-start",next:s??i?.[0],offset:n,onError:o,startOnNewline:!0});u.found&&(c.directives.docStart=!0,!s||"block-map"!==s.type&&"block-seq"!==s.type||u.hasNewline||o(u.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),c.contents=s?Pl(l,s,u,o):xl(l,u.end,r,null,u,o);const h=c.contents.range[2],p=bl(i,h,!1,o);return p.comment&&(c.comment=p.comment),c.range=[n,h,p.offset],c}(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{const t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new dl(Bl(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){const t="Unexpected doc-end without preceding document";this.errors.push(new dl(Bl(e),"UNEXPECTED_TOKEN",t));break}this.doc.directives.docEnd=!0;const t=bl(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){const e=this.doc.comment;this.doc.comment=e?`${e}\n${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new dl(Bl(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){const e=Object.assign({_directives:this.directives},this.options),n=new hl(void 0,e);this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),n.range=[0,t,t],this.decorate(n,!1),yield n}}}function Hl(e,t){if(t)for(const n of t)switch(n.type){case"space":case"comment":e.push(n);break;case"newline":return e.push(n),!0}return!1}function Gl(e,t,n){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=n,e.source=t;break;case"block-scalar":{const r=e.props.slice(1);let s=t.length;"block-scalar-header"===e.props[0].type&&(s-=e.props[0].source.length);for(const e of r)e.offset+=s;delete e.props,Object.assign(e,{type:n,source:t,end:r});break}case"block-map":case"block-seq":{const r={type:"newline",offset:e.offset+t.length,indent:e.indent,source:"\n"};delete e.items,Object.assign(e,{type:n,source:t,end:[r]});break}default:{const r="indent"in e?e.indent:-1,s="end"in e&&Array.isArray(e.end)?e.end.filter((e=>"space"===e.type||"comment"===e.type||"newline"===e.type)):[];for(const t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:n,indent:r,source:t,end:s})}}}function ql(e){switch(e.type){case"block-scalar":{let t="";for(const n of e.props)t+=ql(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(const n of e.items)t+=Yl(n);return t}case"flow-collection":{let t=e.start.source;for(const n of e.items)t+=Yl(n);for(const n of e.end)t+=n.source;return t}case"document":{let t=Yl(e);if(e.end)for(const n of e.end)t+=n.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(const n of e.end)t+=n.source;return t}}}function Yl({start:e,key:t,sep:n,value:r}){let s="";for(const t of e)s+=t.source;if(t&&(s+=ql(t)),n)for(const e of n)s+=e.source;return r&&(s+=ql(r)),s}const jl=Symbol("break visit"),zl=Symbol("skip children"),Vl=Symbol("remove item");function Kl(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),$l(Object.freeze([]),e,t)}function $l(e,t,n){let r=n(t,e);if("symbol"==typeof r)return r;for(const s of["key","value"]){const i=t[s];if(i&&"items"in i){for(let t=0;t{let n=e;for(const[e,r]of t){const t=n?.[e];if(!t||!("items"in t))return;n=t.items[r]}return n},Kl.parentCollection=(e,t)=>{const n=Kl.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],s=n?.[r];if(s&&"items"in s)return s;throw new Error("Parent collection not found")};const Ql="\ufeff",Wl="",Xl="",Jl="";function Zl(e){switch(e){case Ql:return"byte-order-mark";case Wl:return"doc-mode";case Xl:return"flow-error-end";case Jl:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}var eu=Object.freeze({__proto__:null,BOM:Ql,DOCUMENT:Wl,FLOW_END:Xl,SCALAR:Jl,isCollection:e=>!!e&&"items"in e,isScalar:e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type),prettyToken:function(e){switch(e){case Ql:return"";case Wl:return"";case Xl:return"";case Jl:return"";default:return JSON.stringify(e)}},tokenType:Zl,createScalarToken:function(e,t){const{implicitKey:n=!1,indent:r,inFlow:s=!1,offset:i=-1,type:o="PLAIN"}=t,a=Qa({type:o,value:e},{implicitKey:n,indent:r>0?" ".repeat(r):"",inFlow:s,options:{blockQuote:!0,lineWidth:-1}}),c=t.end??[{type:"newline",offset:-1,indent:r,source:"\n"}];switch(a[0]){case"|":case">":{const e=a.indexOf("\n"),t=a.substring(0,e),n=a.substring(e+1)+"\n",s=[{type:"block-scalar-header",offset:i,indent:r,source:t}];return Hl(s,c)||s.push({type:"newline",offset:-1,indent:r,source:"\n"}),{type:"block-scalar",offset:i,indent:r,props:s,source:n}}case'"':return{type:"double-quoted-scalar",offset:i,indent:r,source:a,end:c};case"'":return{type:"single-quoted-scalar",offset:i,indent:r,source:a,end:c};default:return{type:"scalar",offset:i,indent:r,source:a,end:c}}},resolveAsScalar:function(e,t=!0,n){if(e){const r=(e,t,r)=>{const s="number"==typeof e?e:Array.isArray(e)?e[0]:e.offset;if(!n)throw new dl([s,s+1],t,r);n(s,t,r)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return Il(e,t,r);case"block-scalar":return Cl(e,t,r)}}return null},setScalarValue:function(e,t,n={}){let{afterKey:r=!1,implicitKey:s=!1,inFlow:i=!1,type:o}=n,a="indent"in e?e.indent:null;if(r&&"number"==typeof a&&(a+=2),!o)switch(e.type){case"single-quoted-scalar":o="QUOTE_SINGLE";break;case"double-quoted-scalar":o="QUOTE_DOUBLE";break;case"block-scalar":{const t=e.props[0];if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header");o=">"===t.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:o="PLAIN"}const c=Qa({type:o,value:t},{implicitKey:s||null===a,indent:null!==a&&a>0?" ".repeat(a):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}});switch(c[0]){case"|":case">":!function(e,t){const n=t.indexOf("\n"),r=t.substring(0,n),s=t.substring(n+1)+"\n";if("block-scalar"===e.type){const t=e.props[0];if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header");t.source=r,e.source=s}else{const{offset:t}=e,n="indent"in e?e.indent:-1,i=[{type:"block-scalar-header",offset:t,indent:n,source:r}];Hl(i,"end"in e?e.end:void 0)||i.push({type:"newline",offset:-1,indent:n,source:"\n"});for(const t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:"block-scalar",indent:n,props:i,source:s})}}(e,c);break;case'"':Gl(e,c,"double-quoted-scalar");break;case"'":Gl(e,c,"single-quoted-scalar");break;default:Gl(e,c,"scalar")}},stringify:e=>"type"in e?ql(e):Yl(e),visit:Kl});function tu(e){switch(e){case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}const nu="0123456789ABCDEFabcdef".split(""),ru="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""),su=",[]{}".split(""),iu=" ,[]{}\n\r\t".split(""),ou=e=>!e||iu.includes(e);class au{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){e&&(this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null),this.atEnd=!t;let n=this.next??"stream";for(;n&&(t||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||"\t"===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let n=0;for(;" "===t;)t=this.buffer[++n+e];if("\r"===t){const t=this.buffer[n+e+1];if("\n"===t||!t&&!this.atEnd)return e+n+1}return"\n"===t||n>=this.indentNext||!t&&!this.atEnd?e+n:-1}if("-"===t||"."===t){const t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&tu(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return("number"!=typeof e||-1!==e&&ethis.indentValue&&!tu(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&tu(t)){const e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(ou),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=(yield*this.parseBlockScalarHeader()),t+=(yield*this.pushSpaces(!0)),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,n=-1;do{e=yield*this.pushNewline(),e>0?(t=yield*this.pushSpaces(!1),this.indentValue=n=t):t=0,t+=(yield*this.pushSpaces(!0))}while(e+t>0);const r=this.getLine();if(null===r)return this.setNext("flow");if(-1!==n&&n"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break}return yield*this.pushUntil((e=>tu(e)||"#"===e))}*parseBlockScalar(){let e,t=this.pos-1,n=0;e:for(let r=this.pos;e=this.buffer[r];++r)switch(e){case" ":n+=1;break;case"\n":t=r,n=0;break;case"\r":{const e=this.buffer[r+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=n:this.indentNext+=this.blockScalarIndent;do{const e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}if(!this.blockScalarKeep)for(;;){let e=t-1,r=this.buffer[e];"\r"===r&&(r=this.buffer[--e]);const s=e;for(;" "===r||"\t"===r;)r=this.buffer[--e];if(!("\n"===r&&e>=this.pos&&e+1+n>s))break;t=e}return yield Jl,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const e=this.flowLevel>0;let t,n=this.pos-1,r=this.pos-1;for(;t=this.buffer[++r];)if(":"===t){const t=this.buffer[r+1];if(tu(t)||e&&","===t)break;n=r}else if(tu(t)){let s=this.buffer[r+1];if("\r"===t&&("\n"===s?(r+=1,t="\n",s=this.buffer[r+1]):n=r),"#"===s||e&&su.includes(s))break;if("\n"===t){const e=this.continueScalar(r+1);if(-1===e)break;r=Math.max(r,e-2)}}else{if(e&&su.includes(t))break;n=r}return t||this.atEnd?(yield Jl,yield*this.pushToIndex(n+1,!0),e?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){const n=this.buffer.slice(this.pos,e);return n?(yield n,this.pos+=n.length,n.length):(t&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(ou))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const e=this.flowLevel>0,t=this.charAt(1);if(tu(t)||e&&su.includes(t))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!tu(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(ru.includes(t))t=this.buffer[++e];else{if("%"!==t||!nu.includes(this.buffer[e+1])||!nu.includes(this.buffer[e+2]))break;t=this.buffer[e+=3]}return yield*this.pushToIndex(e,!1)}}*pushNewline(){const e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,n=this.pos-1;do{t=this.buffer[++n]}while(" "===t||e&&"\t"===t);const r=n-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=n),r}*pushUntil(e){let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}class cu{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,n=this.lineStarts.length;for(;t>1;this.lineStarts[r]=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;"space"===e[++t]?.type;);return e.splice(t,e.length)}function du(e){if("flow-seq-start"===e.start.type)for(const t of e.items)!t.sep||t.value||lu(t.start,"explicit-key-ind")||lu(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,hu(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}class mu{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new au,this.onNewLine=e}*parse(e,t=!1){this.onNewLine&&0===this.offset&&this.onNewLine(0);for(const n of this.lexer.lex(e,t))yield*this.next(n);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar)return this.atScalar=!1,yield*this.step(),void(this.offset+=e.length);const t=Zl(e);if(t)if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{const t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const e=this.peek(1);if("doc-end"!==this.type||e&&"doc-end"===e.type){if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}else{for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source})}}peek(e){return this.stack[this.stack.length-e]}*pop(e){const t=e??this.stack.pop();if(t)if(0===this.stack.length)yield t;else{const e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&du(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{const n=e.items[e.items.length-1];if(n.value)return e.items.push({start:[],key:t,sep:[]}),void(this.onKeyLine=!0);if(!n.sep)return Object.assign(n,{key:t,sep:[]}),void(this.onKeyLine=!lu(n.start,"explicit-key-ind"));n.value=t;break}case"block-seq":{const n=e.items[e.items.length-1];n.value?e.items.push({start:[],value:t}):n.value=t;break}case"flow-collection":{const n=e.items[e.items.length-1];return void(!n||n.value?e.items.push({start:[],key:t,sep:[]}):n.sep?n.value=t:Object.assign(n,{key:t,sep:[]}))}default:yield*this.pop(),yield*this.pop(t)}if(!("document"!==e.type&&"block-map"!==e.type&&"block-seq"!==e.type||"block-map"!==t.type&&"block-seq"!==t.type)){const n=t.items[t.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&-1===uu(n.start)&&(0===t.indent||n.start.every((e=>"comment"!==e.type||e.indent=e.indent){const n=!this.onKeyLine&&this.indent===e.indent&&t.sep;let r=[];if(n&&t.sep&&!t.value){const n=[];for(let r=0;re.indent&&(n.length=0);break;default:n.length=0}}n.length>=2&&(r=t.sep.splice(n[1]))}switch(this.type){case"anchor":case"tag":return void(n||t.value?(r.push(this.sourceToken),e.items.push({start:r}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"explicit-key-ind":return t.sep||lu(t.start,"explicit-key-ind")?n||t.value?(r.push(this.sourceToken),e.items.push({start:r})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]}):t.start.push(this.sourceToken),void(this.onKeyLine=!0);case"map-value-ind":if(lu(t.start,"explicit-key-ind"))if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(lu(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]});else if(hu(t.key)&&!lu(t.sep,"newline")){const e=fu(t.start),n=t.key,r=t.sep;r.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:n,sep:r}]})}else r.length>0?t.sep=t.sep.concat(r,this.sourceToken):t.sep.push(this.sourceToken);else if(lu(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{const e=fu(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||n?e.items.push({start:r,key:null,sep:[this.sourceToken]}):lu(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return void(this.onKeyLine=!0);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const s=this.flowScalar(this.type);return void(n||t.value?(e.items.push({start:r,key:s,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(s):(Object.assign(t,{key:s,sep:[]}),this.onKeyLine=!0))}default:{const s=this.startBlockValue(e);if(s)return n&&"block-seq"!==s.type&&lu(t.start,"explicit-key-ind")&&e.items.push({start:r}),void this.stack.push(s)}}}yield*this.pop(),yield*this.step()}*blockSequence(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){const n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0;"comment"===r?.type?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){const n=e.items[e.items.length-2],r=n?.value?.end;if(Array.isArray(r))return Array.prototype.push.apply(r,t.start),r.push(this.sourceToken),void e.items.pop()}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;return void t.start.push(this.sourceToken);case"seq-item-ind":if(this.indent!==e.indent)break;return void(t.value||lu(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken))}if(this.indent>e.indent){const t=this.startBlockValue(e);if(t)return void this.stack.push(t)}yield*this.pop(),yield*this.step()}*flowCollection(e){const t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do{yield*this.pop(),e=this.peek(1)}while(e&&"flow-collection"===e.type)}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":return void(!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken));case"map-value-ind":return void(!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]}));case"space":case"comment":case"newline":case"anchor":case"tag":return void(!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const n=this.flowScalar(this.type);return void(!t||t.value?e.items.push({start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]}))}case"flow-map-end":case"flow-seq-end":return void e.end.push(this.sourceToken)}const n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{const t=this.peek(2);if("block-map"===t.type&&("map-value-ind"===this.type&&t.indent===e.indent||"newline"===this.type&&!t.items[t.items.length-1].sep))yield*this.pop(),yield*this.step();else if("map-value-ind"===this.type&&"flow-collection"!==t.type){const n=fu(pu(t));du(e);const r=e.end.splice(1,e.end.length);r.push(this.sourceToken);const s={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=s}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const t=fu(pu(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t}]}}case"map-value-ind":{this.onKeyLine=!0;const t=fu(pu(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&(!(this.indent<=t)&&e.every((e=>"newline"===e.type||"space"===e.type)))}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}function Eu(e){const t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new cu||null,prettyErrors:t}}function gu(e,t={}){const{lineCounter:n,prettyErrors:r}=Eu(t),s=new mu(n?.addNewLine),i=new Ul(t);let o=null;for(const t of i.compose(s.parse(e),!0,e.length))if(o){if("silent"!==o.options.logLevel){o.errors.push(new dl(t.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else o=t;return r&&n&&(o.errors.forEach(El(e,n)),o.warnings.forEach(El(e,n))),o}var Tu=Object.freeze({__proto__:null,CST:eu,Composer:Ul,Document:hl,Schema:ul,YAMLError:fl,YAMLParseError:dl,YAMLWarning:ml,Alias:Sa,isAlias:Jo,isCollection:sa,isDocument:Zo,isMap:ea,isNode:ia,isPair:ta,isScalar:na,isSeq:ra,Pair:rc,Scalar:Oa,YAMLMap:lc,YAMLSeq:hc,Lexer:au,LineCounter:cu,Parser:mu,parse:function(e,t,n){let r;"function"==typeof t?r=t:void 0===n&&t&&"object"==typeof t&&(n=t);const s=gu(e,n);if(!s)return null;if(s.warnings.forEach((e=>Ja(s.options.logLevel,e))),s.errors.length>0){if("silent"!==s.options.logLevel)throw s.errors[0];s.errors=[]}return s.toJS(Object.assign({reviver:r},n))},parseAllDocuments:function(e,t={}){const{lineCounter:n,prettyErrors:r}=Eu(t),s=new mu(n?.addNewLine),i=new Ul(t),o=Array.from(i.compose(s.parse(e)));if(r&&n)for(const t of o)t.errors.forEach(El(e,n)),t.warnings.forEach(El(e,n));return o.length>0?o:Object.assign([],{empty:!0},i.streamInfo())},parseDocument:gu,stringify:function(e,t,n){let r=null;if("function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t),"string"==typeof n&&(n=n.length),"number"==typeof n){const e=Math.round(n);n=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){const{keepUndefined:e}=n??t??{};if(!e)return}return new hl(e,r,n).toString(n)},visit:ua,visitAsync:pa});function Au(e,t){return e&&"run"in e?async function(n,r){const s=Lr(n,t);await e.run(s,r)}:function(n){return Lr(n,t||e)}}function _u(e){const t={...this.data("settings"),...e};this.compiler=function(e){return $s(e,t)}}const yu=/[#.]/g;const bu=new Set(["button","menu","reset","submit"]),ku={}.hasOwnProperty;function Nu(e,t,n){const r=n&&function(e){const t={};let n=-1;for(;++n-1&&ee)return{line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e}},toOffset:function(e){const t=e&&e.line,r=e&&e.column;if("number"==typeof t&&"number"==typeof r&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){const e=(n[t-2]||0)+r-1||0;if(e>-1&&e=55296&&e<=57343}function nh(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function rh(e){return e>=64976&&e<=65007||Vu.has(e)}var sh;!function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"}(sh=sh||(sh={}));class ih{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){const{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.html.charCodeAt(this.pos+1);if(function(e){return e>=56320&&e<=57343}(t))return this.pos++,this._addGap(),1024*(e-55296)+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,$u.EOF;return this._err(sh.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,$u.EOF;const n=this.html.charCodeAt(t);return n===$u.CARRIAGE_RETURN?$u.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,$u.EOF;let e=this.html.charCodeAt(this.pos);if(e===$u.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,$u.LINE_FEED;if(e===$u.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,th(e)&&(e=this._processSurrogate(e));return null===this.handler.onParseError||e>31&&e<127||e===$u.LINE_FEED||e===$u.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){nh(e)?this._err(sh.controlCharacterInInputStream):rh(e)&&this._err(sh.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}!function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"}(oh=oh||(oh={}));var ch,lh=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e=>e.charCodeAt(0)))),uh=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));const hh=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),ph=null!==(ch=String.fromCodePoint)&&void 0!==ch?ch:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};var fh;!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(fh||(fh={}));var dh,mh,Eh,gh,Th,Ah,_h,yh;function bh(e){return e>=fh.ZERO&&e<=fh.NINE}function kh(e){return e>=fh.UPPER_A&&e<=fh.UPPER_F||e>=fh.LOWER_A&&e<=fh.LOWER_F}function Nh(e){return e===fh.EQUALS||function(e){return e>=fh.UPPER_A&&e<=fh.UPPER_Z||e>=fh.LOWER_A&&e<=fh.LOWER_Z||bh(e)}(e)}!function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(dh||(dh={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(mh||(mh={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(Eh||(Eh={}));class Sh{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=mh.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Eh.Strict}startEntity(e){this.decodeMode=e,this.state=mh.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case mh.EntityStart:return e.charCodeAt(t)===fh.NUM?(this.state=mh.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=mh.NamedEntity,this.stateNamedEntity(e,t));case mh.NumericStart:return this.stateNumericStart(e,t);case mh.NumericDecimal:return this.stateNumericDecimal(e,t);case mh.NumericHex:return this.stateNumericHex(e,t);case mh.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===fh.LOWER_X?(this.state=mh.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=mh.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){const s=n-t;this.result=this.result*Math.pow(r,s)+parseInt(e.substr(t,s),r),this.consumed+=s}}stateNumericHex(e,t){const n=t;for(;t=55296&&e<=57343||e>1114111?65533:null!==(t=hh.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(e!==fh.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this;let r=n[this.treeIndex],s=(r&dh.VALUE_LENGTH)>>14;for(;t>14,0!==s){if(i===fh.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==Eh.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this,r=(n[t]&dh.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~dh.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case mh.NamedEntity:return 0===this.result||this.decodeMode===Eh.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case mh.NumericDecimal:return this.emitNumericEntity(0,2);case mh.NumericHex:return this.emitNumericEntity(0,3);case mh.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case mh.EntityStart:return 0}}}function Ch(e){let t="";const n=new Sh(e,(e=>t+=ph(e)));return function(e,r){let s=0,i=0;for(;(i=e.indexOf("&",i))>=0;){t+=e.slice(s,i),n.startEntity(r);const o=n.write(e,i+1);if(o<0){s=i+n.end();break}s=i+o,i=0===o?s+1:s}const o=t+e.slice(s);return t="",o}}function Ih(e,t,n,r){const s=(t&dh.BRANCH_LENGTH)>>7,i=t&dh.JUMP_TABLE;if(0===s)return 0!==i&&r===i?n:-1;if(i){const t=r-i;return t<0||t>=s?-1:e[n+t]-1}let o=n,a=o+s-1;for(;o<=a;){const t=o+a>>>1,n=e[t];if(nr))return e[t+s];a=t-1}}return-1}Ch(lh),Ch(uh),function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"}(gh=gh||(gh={})),function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"}(Th=Th||(Th={})),function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"}(Ah=Ah||(Ah={})),function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"}(_h=_h||(_h={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SECTION=94]="SECTION",e[e.SELECT=95]="SELECT",e[e.SOURCE=96]="SOURCE",e[e.SMALL=97]="SMALL",e[e.SPAN=98]="SPAN",e[e.STRIKE=99]="STRIKE",e[e.STRONG=100]="STRONG",e[e.STYLE=101]="STYLE",e[e.SUB=102]="SUB",e[e.SUMMARY=103]="SUMMARY",e[e.SUP=104]="SUP",e[e.TABLE=105]="TABLE",e[e.TBODY=106]="TBODY",e[e.TEMPLATE=107]="TEMPLATE",e[e.TEXTAREA=108]="TEXTAREA",e[e.TFOOT=109]="TFOOT",e[e.TD=110]="TD",e[e.TH=111]="TH",e[e.THEAD=112]="THEAD",e[e.TITLE=113]="TITLE",e[e.TR=114]="TR",e[e.TRACK=115]="TRACK",e[e.TT=116]="TT",e[e.U=117]="U",e[e.UL=118]="UL",e[e.SVG=119]="SVG",e[e.VAR=120]="VAR",e[e.WBR=121]="WBR",e[e.XMP=122]="XMP"}(yh=yh||(yh={}));const Oh=new Map([[_h.A,yh.A],[_h.ADDRESS,yh.ADDRESS],[_h.ANNOTATION_XML,yh.ANNOTATION_XML],[_h.APPLET,yh.APPLET],[_h.AREA,yh.AREA],[_h.ARTICLE,yh.ARTICLE],[_h.ASIDE,yh.ASIDE],[_h.B,yh.B],[_h.BASE,yh.BASE],[_h.BASEFONT,yh.BASEFONT],[_h.BGSOUND,yh.BGSOUND],[_h.BIG,yh.BIG],[_h.BLOCKQUOTE,yh.BLOCKQUOTE],[_h.BODY,yh.BODY],[_h.BR,yh.BR],[_h.BUTTON,yh.BUTTON],[_h.CAPTION,yh.CAPTION],[_h.CENTER,yh.CENTER],[_h.CODE,yh.CODE],[_h.COL,yh.COL],[_h.COLGROUP,yh.COLGROUP],[_h.DD,yh.DD],[_h.DESC,yh.DESC],[_h.DETAILS,yh.DETAILS],[_h.DIALOG,yh.DIALOG],[_h.DIR,yh.DIR],[_h.DIV,yh.DIV],[_h.DL,yh.DL],[_h.DT,yh.DT],[_h.EM,yh.EM],[_h.EMBED,yh.EMBED],[_h.FIELDSET,yh.FIELDSET],[_h.FIGCAPTION,yh.FIGCAPTION],[_h.FIGURE,yh.FIGURE],[_h.FONT,yh.FONT],[_h.FOOTER,yh.FOOTER],[_h.FOREIGN_OBJECT,yh.FOREIGN_OBJECT],[_h.FORM,yh.FORM],[_h.FRAME,yh.FRAME],[_h.FRAMESET,yh.FRAMESET],[_h.H1,yh.H1],[_h.H2,yh.H2],[_h.H3,yh.H3],[_h.H4,yh.H4],[_h.H5,yh.H5],[_h.H6,yh.H6],[_h.HEAD,yh.HEAD],[_h.HEADER,yh.HEADER],[_h.HGROUP,yh.HGROUP],[_h.HR,yh.HR],[_h.HTML,yh.HTML],[_h.I,yh.I],[_h.IMG,yh.IMG],[_h.IMAGE,yh.IMAGE],[_h.INPUT,yh.INPUT],[_h.IFRAME,yh.IFRAME],[_h.KEYGEN,yh.KEYGEN],[_h.LABEL,yh.LABEL],[_h.LI,yh.LI],[_h.LINK,yh.LINK],[_h.LISTING,yh.LISTING],[_h.MAIN,yh.MAIN],[_h.MALIGNMARK,yh.MALIGNMARK],[_h.MARQUEE,yh.MARQUEE],[_h.MATH,yh.MATH],[_h.MENU,yh.MENU],[_h.META,yh.META],[_h.MGLYPH,yh.MGLYPH],[_h.MI,yh.MI],[_h.MO,yh.MO],[_h.MN,yh.MN],[_h.MS,yh.MS],[_h.MTEXT,yh.MTEXT],[_h.NAV,yh.NAV],[_h.NOBR,yh.NOBR],[_h.NOFRAMES,yh.NOFRAMES],[_h.NOEMBED,yh.NOEMBED],[_h.NOSCRIPT,yh.NOSCRIPT],[_h.OBJECT,yh.OBJECT],[_h.OL,yh.OL],[_h.OPTGROUP,yh.OPTGROUP],[_h.OPTION,yh.OPTION],[_h.P,yh.P],[_h.PARAM,yh.PARAM],[_h.PLAINTEXT,yh.PLAINTEXT],[_h.PRE,yh.PRE],[_h.RB,yh.RB],[_h.RP,yh.RP],[_h.RT,yh.RT],[_h.RTC,yh.RTC],[_h.RUBY,yh.RUBY],[_h.S,yh.S],[_h.SCRIPT,yh.SCRIPT],[_h.SECTION,yh.SECTION],[_h.SELECT,yh.SELECT],[_h.SOURCE,yh.SOURCE],[_h.SMALL,yh.SMALL],[_h.SPAN,yh.SPAN],[_h.STRIKE,yh.STRIKE],[_h.STRONG,yh.STRONG],[_h.STYLE,yh.STYLE],[_h.SUB,yh.SUB],[_h.SUMMARY,yh.SUMMARY],[_h.SUP,yh.SUP],[_h.TABLE,yh.TABLE],[_h.TBODY,yh.TBODY],[_h.TEMPLATE,yh.TEMPLATE],[_h.TEXTAREA,yh.TEXTAREA],[_h.TFOOT,yh.TFOOT],[_h.TD,yh.TD],[_h.TH,yh.TH],[_h.THEAD,yh.THEAD],[_h.TITLE,yh.TITLE],[_h.TR,yh.TR],[_h.TRACK,yh.TRACK],[_h.TT,yh.TT],[_h.U,yh.U],[_h.UL,yh.UL],[_h.SVG,yh.SVG],[_h.VAR,yh.VAR],[_h.WBR,yh.WBR],[_h.XMP,yh.XMP]]);function Dh(e){var t;return null!==(t=Oh.get(e))&&void 0!==t?t:yh.UNKNOWN}const Lh=yh,Rh={[gh.HTML]:new Set([Lh.ADDRESS,Lh.APPLET,Lh.AREA,Lh.ARTICLE,Lh.ASIDE,Lh.BASE,Lh.BASEFONT,Lh.BGSOUND,Lh.BLOCKQUOTE,Lh.BODY,Lh.BR,Lh.BUTTON,Lh.CAPTION,Lh.CENTER,Lh.COL,Lh.COLGROUP,Lh.DD,Lh.DETAILS,Lh.DIR,Lh.DIV,Lh.DL,Lh.DT,Lh.EMBED,Lh.FIELDSET,Lh.FIGCAPTION,Lh.FIGURE,Lh.FOOTER,Lh.FORM,Lh.FRAME,Lh.FRAMESET,Lh.H1,Lh.H2,Lh.H3,Lh.H4,Lh.H5,Lh.H6,Lh.HEAD,Lh.HEADER,Lh.HGROUP,Lh.HR,Lh.HTML,Lh.IFRAME,Lh.IMG,Lh.INPUT,Lh.LI,Lh.LINK,Lh.LISTING,Lh.MAIN,Lh.MARQUEE,Lh.MENU,Lh.META,Lh.NAV,Lh.NOEMBED,Lh.NOFRAMES,Lh.NOSCRIPT,Lh.OBJECT,Lh.OL,Lh.P,Lh.PARAM,Lh.PLAINTEXT,Lh.PRE,Lh.SCRIPT,Lh.SECTION,Lh.SELECT,Lh.SOURCE,Lh.STYLE,Lh.SUMMARY,Lh.TABLE,Lh.TBODY,Lh.TD,Lh.TEMPLATE,Lh.TEXTAREA,Lh.TFOOT,Lh.TH,Lh.THEAD,Lh.TITLE,Lh.TR,Lh.TRACK,Lh.UL,Lh.WBR,Lh.XMP]),[gh.MATHML]:new Set([Lh.MI,Lh.MO,Lh.MN,Lh.MS,Lh.MTEXT,Lh.ANNOTATION_XML]),[gh.SVG]:new Set([Lh.TITLE,Lh.FOREIGN_OBJECT,Lh.DESC]),[gh.XLINK]:new Set,[gh.XML]:new Set,[gh.XMLNS]:new Set};function vh(e){return e===Lh.H1||e===Lh.H2||e===Lh.H3||e===Lh.H4||e===Lh.H5||e===Lh.H6}new Set([_h.STYLE,_h.SCRIPT,_h.XMP,_h.IFRAME,_h.NOEMBED,_h.NOFRAMES,_h.PLAINTEXT]);const wh=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);var Mh;!function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",e[e.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",e[e.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",e[e.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",e[e.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",e[e.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"}(Mh||(Mh={}));const Ph={DATA:Mh.DATA,RCDATA:Mh.RCDATA,RAWTEXT:Mh.RAWTEXT,SCRIPT_DATA:Mh.SCRIPT_DATA,PLAINTEXT:Mh.PLAINTEXT,CDATA_SECTION:Mh.CDATA_SECTION};function xh(e){return e>=$u.DIGIT_0&&e<=$u.DIGIT_9}function Bh(e){return e>=$u.LATIN_CAPITAL_A&&e<=$u.LATIN_CAPITAL_Z}function Fh(e){return function(e){return e>=$u.LATIN_SMALL_A&&e<=$u.LATIN_SMALL_Z}(e)||Bh(e)}function Uh(e){return Fh(e)||xh(e)}function Hh(e){return e>=$u.LATIN_CAPITAL_A&&e<=$u.LATIN_CAPITAL_F}function Gh(e){return e>=$u.LATIN_SMALL_A&&e<=$u.LATIN_SMALL_F}function qh(e){return e+32}function Yh(e){return e===$u.SPACE||e===$u.LINE_FEED||e===$u.TABULATION||e===$u.FORM_FEED}function jh(e){return Yh(e)||e===$u.SOLIDUS||e===$u.GREATER_THAN_SIGN}class zh{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=Mh.DATA,this.returnState=Mh.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new ih(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(sh.endTagWithAttributes),e.selfClosing&&this._err(sh.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case oh.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case oh.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case oh.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:oh.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type===e)return void(this.currentCharacterToken.chars+=t);this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk()}this._createCharacterToken(e,t)}_emitCodePoint(e){const t=Yh(e)?oh.WHITESPACE_CHARACTER:e===$u.NULL?oh.NULL_CHARACTER:oh.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(oh.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=lh[0];i>=0&&(i=Ih(lh,o,i+1,e),!(i<0));e=this._consume()){n+=1,o=lh[i];const a=o&dh.VALUE_LENGTH;if(a){const o=(a>>14)-1;if(e!==$u.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((s=this.preprocessor.peek(1))===$u.EQUALS_SIGN||Uh(s))?(t=[$u.AMPERSAND],i+=o):(t=0===o?[lh[i]&~dh.VALUE_LENGTH]:1===o?[lh[++i]]:[lh[++i],lh[++i]],n=0,r=e!==$u.SEMICOLON),0===o){this._consume();break}}}var s;return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(sh.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===Mh.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===Mh.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===Mh.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case Mh.DATA:this._stateData(e);break;case Mh.RCDATA:this._stateRcdata(e);break;case Mh.RAWTEXT:this._stateRawtext(e);break;case Mh.SCRIPT_DATA:this._stateScriptData(e);break;case Mh.PLAINTEXT:this._statePlaintext(e);break;case Mh.TAG_OPEN:this._stateTagOpen(e);break;case Mh.END_TAG_OPEN:this._stateEndTagOpen(e);break;case Mh.TAG_NAME:this._stateTagName(e);break;case Mh.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case Mh.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case Mh.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case Mh.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case Mh.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case Mh.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case Mh.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case Mh.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case Mh.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case Mh.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case Mh.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case Mh.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case Mh.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case Mh.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case Mh.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case Mh.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case Mh.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case Mh.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case Mh.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case Mh.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case Mh.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case Mh.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case Mh.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case Mh.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case Mh.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case Mh.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case Mh.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case Mh.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case Mh.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case Mh.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case Mh.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case Mh.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case Mh.BOGUS_COMMENT:this._stateBogusComment(e);break;case Mh.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case Mh.COMMENT_START:this._stateCommentStart(e);break;case Mh.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case Mh.COMMENT:this._stateComment(e);break;case Mh.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case Mh.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case Mh.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case Mh.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case Mh.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case Mh.COMMENT_END:this._stateCommentEnd(e);break;case Mh.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case Mh.DOCTYPE:this._stateDoctype(e);break;case Mh.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case Mh.DOCTYPE_NAME:this._stateDoctypeName(e);break;case Mh.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case Mh.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case Mh.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case Mh.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case Mh.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case Mh.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case Mh.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case Mh.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case Mh.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case Mh.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case Mh.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case Mh.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case Mh.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case Mh.CDATA_SECTION:this._stateCdataSection(e);break;case Mh.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case Mh.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case Mh.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case Mh.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case Mh.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case Mh.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case Mh.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case Mh.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case Mh.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case Mh.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw new Error("Unknown state")}}_stateData(e){switch(e){case $u.LESS_THAN_SIGN:this.state=Mh.TAG_OPEN;break;case $u.AMPERSAND:this.returnState=Mh.DATA,this.state=Mh.CHARACTER_REFERENCE;break;case $u.NULL:this._err(sh.unexpectedNullCharacter),this._emitCodePoint(e);break;case $u.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case $u.AMPERSAND:this.returnState=Mh.RCDATA,this.state=Mh.CHARACTER_REFERENCE;break;case $u.LESS_THAN_SIGN:this.state=Mh.RCDATA_LESS_THAN_SIGN;break;case $u.NULL:this._err(sh.unexpectedNullCharacter),this._emitChars(Ku);break;case $u.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case $u.LESS_THAN_SIGN:this.state=Mh.RAWTEXT_LESS_THAN_SIGN;break;case $u.NULL:this._err(sh.unexpectedNullCharacter),this._emitChars(Ku);break;case $u.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case $u.LESS_THAN_SIGN:this.state=Mh.SCRIPT_DATA_LESS_THAN_SIGN;break;case $u.NULL:this._err(sh.unexpectedNullCharacter),this._emitChars(Ku);break;case $u.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case $u.NULL:this._err(sh.unexpectedNullCharacter),this._emitChars(Ku);break;case $u.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(Fh(e))this._createStartTagToken(),this.state=Mh.TAG_NAME,this._stateTagName(e);else switch(e){case $u.EXCLAMATION_MARK:this.state=Mh.MARKUP_DECLARATION_OPEN;break;case $u.SOLIDUS:this.state=Mh.END_TAG_OPEN;break;case $u.QUESTION_MARK:this._err(sh.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=Mh.BOGUS_COMMENT,this._stateBogusComment(e);break;case $u.EOF:this._err(sh.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(sh.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=Mh.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(Fh(e))this._createEndTagToken(),this.state=Mh.TAG_NAME,this._stateTagName(e);else switch(e){case $u.GREATER_THAN_SIGN:this._err(sh.missingEndTagName),this.state=Mh.DATA;break;case $u.EOF:this._err(sh.eofBeforeTagName),this._emitChars("");break;case $u.NULL:this._err(sh.unexpectedNullCharacter),this.state=Mh.SCRIPT_DATA_ESCAPED,this._emitChars(Ku);break;case $u.EOF:this._err(sh.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Mh.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===$u.SOLIDUS?this.state=Mh.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Fh(e)?(this._emitChars("<"),this.state=Mh.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=Mh.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){Fh(e)?(this.state=Mh.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case $u.NULL:this._err(sh.unexpectedNullCharacter),this.state=Mh.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Ku);break;case $u.EOF:this._err(sh.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Mh.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===$u.SOLIDUS?(this.state=Mh.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=Mh.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(Ju,!1)&&jh(this.preprocessor.peek(Ju.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(sh.characterReferenceOutsideUnicodeRange),this.charRefCode=$u.REPLACEMENT_CHARACTER;else if(th(this.charRefCode))this._err(sh.surrogateCharacterReference),this.charRefCode=$u.REPLACEMENT_CHARACTER;else if(rh(this.charRefCode))this._err(sh.noncharacterCharacterReference);else if(nh(this.charRefCode)||this.charRefCode===$u.CARRIAGE_RETURN){this._err(sh.controlCharacterReference);const e=wh.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}const Vh=new Set([yh.DD,yh.DT,yh.LI,yh.OPTGROUP,yh.OPTION,yh.P,yh.RB,yh.RP,yh.RT,yh.RTC]),Kh=new Set([...Vh,yh.CAPTION,yh.COLGROUP,yh.TBODY,yh.TD,yh.TFOOT,yh.TH,yh.THEAD,yh.TR]),$h=new Map([[yh.APPLET,gh.HTML],[yh.CAPTION,gh.HTML],[yh.HTML,gh.HTML],[yh.MARQUEE,gh.HTML],[yh.OBJECT,gh.HTML],[yh.TABLE,gh.HTML],[yh.TD,gh.HTML],[yh.TEMPLATE,gh.HTML],[yh.TH,gh.HTML],[yh.ANNOTATION_XML,gh.MATHML],[yh.MI,gh.MATHML],[yh.MN,gh.MATHML],[yh.MO,gh.MATHML],[yh.MS,gh.MATHML],[yh.MTEXT,gh.MATHML],[yh.DESC,gh.SVG],[yh.FOREIGN_OBJECT,gh.SVG],[yh.TITLE,gh.SVG]]),Qh=[yh.H1,yh.H2,yh.H3,yh.H4,yh.H5,yh.H6],Wh=[yh.TR,yh.TEMPLATE,yh.HTML],Xh=[yh.TBODY,yh.TFOOT,yh.THEAD,yh.TEMPLATE,yh.HTML],Jh=[yh.TABLE,yh.TEMPLATE,yh.HTML],Zh=[yh.TD,yh.TH];class ep{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=yh.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===yh.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===gh.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){const r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do{t=this.tagIDs.lastIndexOf(e,t-1)}while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==gh.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return-1}clearBackTo(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(Jh,gh.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Xh,gh.HTML)}clearBackToTableRowContext(){this.clearBackTo(Wh,gh.HTML)}remove(e){const t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===yh.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===yh.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===gh.HTML)return!0;if($h.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(vh(t)&&n===gh.HTML)return!0;if($h.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===gh.HTML)return!0;if((n===yh.UL||n===yh.OL)&&r===gh.HTML||$h.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===gh.HTML)return!0;if(n===yh.BUTTON&&r===gh.HTML||$h.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===gh.HTML){if(n===e)return!0;if(n===yh.TABLE||n===yh.TEMPLATE||n===yh.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];if(this.treeAdapter.getNamespaceURI(this.items[e])===gh.HTML){if(t===yh.TBODY||t===yh.THEAD||t===yh.TFOOT)return!0;if(t===yh.TABLE||t===yh.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===gh.HTML){if(n===e)return!0;if(n!==yh.OPTION&&n!==yh.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;Vh.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Kh.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&Kh.has(this.currentTagId);)this.pop()}}var tp;!function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"}(tp=tp||(tp={}));const np={type:tp.Marker};class rp{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){const n=[],r=t.length,s=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])));let s=0;for(let e=0;er.get(e.name)===e.value))&&(s+=1,s>=3&&this.entries.splice(t.idx,1))}}insertMarker(){this.entries.unshift(np)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:tp.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:tp.Element,element:e,token:t})}removeEntry(e){const t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){const e=this.entries.indexOf(np);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){const t=this.entries.find((t=>t.type===tp.Marker||this.treeAdapter.getTagName(t.element)===e));return t&&t.type===tp.Element?t:null}getElementEntry(e){return this.entries.find((t=>t.type===tp.Element&&t.element===e))}}function sp(e){return{nodeName:"#text",value:e,parentNode:null}}const ip={createDocument:()=>({nodeName:"#document",mode:Ah.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){const s=e.childNodes.find((e=>"#documentType"===e.nodeName));if(s)s.name=t,s.publicId=n,s.systemId=r;else{const s={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};ip.appendChild(e,s)}},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(ip.isTextNode(n))return void(n.value+=t)}ip.appendChild(e,sp(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&ip.isTextNode(r)?r.value+=t:ip.insertBefore(e,sp(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map((e=>e.name)));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},op="html",ap="about:legacy-compat",cp="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",lp=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],up=[...lp,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],hp=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),pp=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],fp=[...pp,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function dp(e,t){return t.some((t=>e.startsWith(t)))}const mp={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Ep="definitionurl",gp="definitionURL",Tp=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((e=>[e.toLowerCase(),e]))),Ap=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:gh.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:gh.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:gh.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:gh.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:gh.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:gh.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:gh.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:gh.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:gh.XML}],["xml:space",{prefix:"xml",name:"space",namespace:gh.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:gh.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:gh.XMLNS}]]),_p=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((e=>[e.toLowerCase(),e]))),yp=new Set([yh.B,yh.BIG,yh.BLOCKQUOTE,yh.BODY,yh.BR,yh.CENTER,yh.CODE,yh.DD,yh.DIV,yh.DL,yh.DT,yh.EM,yh.EMBED,yh.H1,yh.H2,yh.H3,yh.H4,yh.H5,yh.H6,yh.HEAD,yh.HR,yh.I,yh.IMG,yh.LI,yh.LISTING,yh.MENU,yh.META,yh.NOBR,yh.OL,yh.P,yh.PRE,yh.RUBY,yh.S,yh.SMALL,yh.SPAN,yh.STRONG,yh.STRIKE,yh.SUB,yh.SUP,yh.TABLE,yh.TT,yh.U,yh.UL,yh.VAR]);function bp(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):({current:e,currentTagId:t}=this.openElements),this._setContextModes(e,t)}}_setContextModes(e,t){const n=e===this.document||this.treeAdapter.getNamespaceURI(e)===gh.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,gh.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=Dp.TEXT}switchToPlaintextParsing(){this.insertionMode=Dp.TEXT,this.originalInsertionMode=Dp.IN_BODY,this.tokenizer.state=Ph.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===_h.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===gh.HTML)switch(this.fragmentContextID){case yh.TITLE:case yh.TEXTAREA:this.tokenizer.state=Ph.RCDATA;break;case yh.STYLE:case yh.XMP:case yh.IFRAME:case yh.NOEMBED:case yh.NOFRAMES:case yh.NOSCRIPT:this.tokenizer.state=Ph.RAWTEXT;break;case yh.SCRIPT:this.tokenizer.state=Ph.SCRIPT_DATA;break;case yh.PLAINTEXT:this.tokenizer.state=Ph.PLAINTEXT}}_setDocumentType(e){const t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){const t=this.treeAdapter.getChildNodes(this.document).find((e=>this.treeAdapter.isDocumentTypeNode(e)));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){const n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){const n=this.treeAdapter.createElement(e,gh.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,gh.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(_h.HTML,gh.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,yh.HTML)}_appendCommentNode(e,t){const n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?(({parent:t,beforeElement:n}=this._findFosterParentingLocation()),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;const r=this.treeAdapter.getChildNodes(t),s=n?r.lastIndexOf(n):r.length,i=r[s-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){const{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const n=t.location,r=this.treeAdapter.getTagName(e),s=t.type===oh.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,s)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,n;return 0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):({current:t,currentTagId:n}=this.openElements),(e.tagID!==yh.SVG||this.treeAdapter.getTagName(t)!==_h.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==gh.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===yh.MGLYPH||e.tagID===yh.MALIGNMARK)&&!this._isIntegrationPoint(n,t,gh.HTML))}_processToken(e){switch(e.type){case oh.CHARACTER:this.onCharacter(e);break;case oh.NULL_CHARACTER:this.onNullCharacter(e);break;case oh.COMMENT:this.onComment(e);break;case oh.DOCTYPE:this.onDoctype(e);break;case oh.START_TAG:this._processStartTag(e);break;case oh.END_TAG:this.onEndTag(e);break;case oh.EOF:this.onEof(e);break;case oh.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){return Sp(e,this.treeAdapter.getNamespaceURI(t),this.treeAdapter.getAttrList(t),n)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.entries.length;if(e){const t=this.activeFormattingElements.entries.findIndex((e=>e.type===tp.Marker||this.openElements.contains(e.element)));for(let n=t<0?e-1:t-1;n>=0;n--){const e=this.activeFormattingElements.entries[n];this._insertElement(e.token,this.treeAdapter.getNamespaceURI(e.element)),e.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Dp.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(yh.P),this.openElements.popUntilTagNamePopped(yh.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case yh.TR:return void(this.insertionMode=Dp.IN_ROW);case yh.TBODY:case yh.THEAD:case yh.TFOOT:return void(this.insertionMode=Dp.IN_TABLE_BODY);case yh.CAPTION:return void(this.insertionMode=Dp.IN_CAPTION);case yh.COLGROUP:return void(this.insertionMode=Dp.IN_COLUMN_GROUP);case yh.TABLE:return void(this.insertionMode=Dp.IN_TABLE);case yh.BODY:return void(this.insertionMode=Dp.IN_BODY);case yh.FRAMESET:return void(this.insertionMode=Dp.IN_FRAMESET);case yh.SELECT:return void this._resetInsertionModeForSelect(e);case yh.TEMPLATE:return void(this.insertionMode=this.tmplInsertionModeStack[0]);case yh.HTML:return void(this.insertionMode=this.headElement?Dp.AFTER_HEAD:Dp.BEFORE_HEAD);case yh.TD:case yh.TH:if(e>0)return void(this.insertionMode=Dp.IN_CELL);break;case yh.HEAD:if(e>0)return void(this.insertionMode=Dp.IN_HEAD)}this.insertionMode=Dp.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.tagIDs[t];if(e===yh.TEMPLATE)break;if(e===yh.TABLE)return void(this.insertionMode=Dp.IN_SELECT_IN_TABLE)}this.insertionMode=Dp.IN_SELECT}_isElementCausesFosterParenting(e){return Rp.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case yh.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===gh.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case yh.TABLE:{const n=this.treeAdapter.getParentNode(t);return n?{parent:n,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){const n=this.treeAdapter.getNamespaceURI(e);return Rh[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e);else switch(this.insertionMode){case Dp.INITIAL:Yp(this,e);break;case Dp.BEFORE_HTML:jp(this,e);break;case Dp.BEFORE_HEAD:zp(this,e);break;case Dp.IN_HEAD:$p(this,e);break;case Dp.IN_HEAD_NO_SCRIPT:Qp(this,e);break;case Dp.AFTER_HEAD:Wp(this,e);break;case Dp.IN_BODY:case Dp.IN_CAPTION:case Dp.IN_CELL:case Dp.IN_TEMPLATE:Zp(this,e);break;case Dp.TEXT:case Dp.IN_SELECT:case Dp.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case Dp.IN_TABLE:case Dp.IN_TABLE_BODY:case Dp.IN_ROW:lf(this,e);break;case Dp.IN_TABLE_TEXT:df(this,e);break;case Dp.IN_COLUMN_GROUP:Tf(this,e);break;case Dp.AFTER_BODY:If(this,e);break;case Dp.AFTER_AFTER_BODY:Of(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){t.chars=Ku,e._insertCharacters(t)}(this,e);else switch(this.insertionMode){case Dp.INITIAL:Yp(this,e);break;case Dp.BEFORE_HTML:jp(this,e);break;case Dp.BEFORE_HEAD:zp(this,e);break;case Dp.IN_HEAD:$p(this,e);break;case Dp.IN_HEAD_NO_SCRIPT:Qp(this,e);break;case Dp.AFTER_HEAD:Wp(this,e);break;case Dp.TEXT:this._insertCharacters(e);break;case Dp.IN_TABLE:case Dp.IN_TABLE_BODY:case Dp.IN_ROW:lf(this,e);break;case Dp.IN_COLUMN_GROUP:Tf(this,e);break;case Dp.AFTER_BODY:If(this,e);break;case Dp.AFTER_AFTER_BODY:Of(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML)Gp(this,e);else switch(this.insertionMode){case Dp.INITIAL:case Dp.BEFORE_HTML:case Dp.BEFORE_HEAD:case Dp.IN_HEAD:case Dp.IN_HEAD_NO_SCRIPT:case Dp.AFTER_HEAD:case Dp.IN_BODY:case Dp.IN_TABLE:case Dp.IN_CAPTION:case Dp.IN_COLUMN_GROUP:case Dp.IN_TABLE_BODY:case Dp.IN_ROW:case Dp.IN_CELL:case Dp.IN_SELECT:case Dp.IN_SELECT_IN_TABLE:case Dp.IN_TEMPLATE:case Dp.IN_FRAMESET:case Dp.AFTER_FRAMESET:Gp(this,e);break;case Dp.IN_TABLE_TEXT:mf(this,e);break;case Dp.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case Dp.AFTER_AFTER_BODY:case Dp.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case Dp.INITIAL:!function(e,t){e._setDocumentType(t);const n=t.forceQuirks?Ah.QUIRKS:function(e){if(e.name!==op)return Ah.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===cp)return Ah.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),hp.has(n))return Ah.QUIRKS;let e=null===t?up:lp;if(dp(n,e))return Ah.QUIRKS;if(e=null===t?pp:fp,dp(n,e))return Ah.LIMITED_QUIRKS}return Ah.NO_QUIRKS}(t);(function(e){return e.name===op&&null===e.publicId&&(null===e.systemId||e.systemId===ap)})(t)||e._err(t,sh.nonConformingDoctype);e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=Dp.BEFORE_HTML}(this,e);break;case Dp.BEFORE_HEAD:case Dp.IN_HEAD:case Dp.IN_HEAD_NO_SCRIPT:case Dp.AFTER_HEAD:this._err(e,sh.misplacedDoctype);break;case Dp.IN_TABLE_TEXT:mf(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,sh.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){const t=e.tagID;return t===yh.FONT&&e.attrs.some((({name:e})=>e===Th.COLOR||e===Th.SIZE||e===Th.FACE))||yp.has(t)}(t))Df(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===gh.MATHML?bp(t):r===gh.SVG&&(!function(e){const t=_p.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=Dh(e.tagName))}(t),kp(t)),Np(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case Dp.INITIAL:Yp(this,e);break;case Dp.BEFORE_HTML:!function(e,t){t.tagID===yh.HTML?(e._insertElement(t,gh.HTML),e.insertionMode=Dp.BEFORE_HEAD):jp(e,t)}(this,e);break;case Dp.BEFORE_HEAD:!function(e,t){switch(t.tagID){case yh.HTML:sf(e,t);break;case yh.HEAD:e._insertElement(t,gh.HTML),e.headElement=e.openElements.current,e.insertionMode=Dp.IN_HEAD;break;default:zp(e,t)}}(this,e);break;case Dp.IN_HEAD:Vp(this,e);break;case Dp.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case yh.HTML:sf(e,t);break;case yh.BASEFONT:case yh.BGSOUND:case yh.HEAD:case yh.LINK:case yh.META:case yh.NOFRAMES:case yh.STYLE:Vp(e,t);break;case yh.NOSCRIPT:e._err(t,sh.nestedNoscriptInHead);break;default:Qp(e,t)}}(this,e);break;case Dp.AFTER_HEAD:!function(e,t){switch(t.tagID){case yh.HTML:sf(e,t);break;case yh.BODY:e._insertElement(t,gh.HTML),e.framesetOk=!1,e.insertionMode=Dp.IN_BODY;break;case yh.FRAMESET:e._insertElement(t,gh.HTML),e.insertionMode=Dp.IN_FRAMESET;break;case yh.BASE:case yh.BASEFONT:case yh.BGSOUND:case yh.LINK:case yh.META:case yh.NOFRAMES:case yh.SCRIPT:case yh.STYLE:case yh.TEMPLATE:case yh.TITLE:e._err(t,sh.abandonedHeadElementChild),e.openElements.push(e.headElement,yh.HEAD),Vp(e,t),e.openElements.remove(e.headElement);break;case yh.HEAD:e._err(t,sh.misplacedStartTagForHeadElement);break;default:Wp(e,t)}}(this,e);break;case Dp.IN_BODY:sf(this,e);break;case Dp.IN_TABLE:uf(this,e);break;case Dp.IN_TABLE_TEXT:mf(this,e);break;case Dp.IN_CAPTION:!function(e,t){const n=t.tagID;Ef.has(n)?e.openElements.hasInTableScope(yh.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(yh.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Dp.IN_TABLE,uf(e,t)):sf(e,t)}(this,e);break;case Dp.IN_COLUMN_GROUP:gf(this,e);break;case Dp.IN_TABLE_BODY:Af(this,e);break;case Dp.IN_ROW:yf(this,e);break;case Dp.IN_CELL:!function(e,t){const n=t.tagID;Ef.has(n)?(e.openElements.hasInTableScope(yh.TD)||e.openElements.hasInTableScope(yh.TH))&&(e._closeTableCell(),yf(e,t)):sf(e,t)}(this,e);break;case Dp.IN_SELECT:kf(this,e);break;case Dp.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===yh.CAPTION||n===yh.TABLE||n===yh.TBODY||n===yh.TFOOT||n===yh.THEAD||n===yh.TR||n===yh.TD||n===yh.TH?(e.openElements.popUntilTagNamePopped(yh.SELECT),e._resetInsertionMode(),e._processStartTag(t)):kf(e,t)}(this,e);break;case Dp.IN_TEMPLATE:!function(e,t){switch(t.tagID){case yh.BASE:case yh.BASEFONT:case yh.BGSOUND:case yh.LINK:case yh.META:case yh.NOFRAMES:case yh.SCRIPT:case yh.STYLE:case yh.TEMPLATE:case yh.TITLE:Vp(e,t);break;case yh.CAPTION:case yh.COLGROUP:case yh.TBODY:case yh.TFOOT:case yh.THEAD:e.tmplInsertionModeStack[0]=Dp.IN_TABLE,e.insertionMode=Dp.IN_TABLE,uf(e,t);break;case yh.COL:e.tmplInsertionModeStack[0]=Dp.IN_COLUMN_GROUP,e.insertionMode=Dp.IN_COLUMN_GROUP,gf(e,t);break;case yh.TR:e.tmplInsertionModeStack[0]=Dp.IN_TABLE_BODY,e.insertionMode=Dp.IN_TABLE_BODY,Af(e,t);break;case yh.TD:case yh.TH:e.tmplInsertionModeStack[0]=Dp.IN_ROW,e.insertionMode=Dp.IN_ROW,yf(e,t);break;default:e.tmplInsertionModeStack[0]=Dp.IN_BODY,e.insertionMode=Dp.IN_BODY,sf(e,t)}}(this,e);break;case Dp.AFTER_BODY:!function(e,t){t.tagID===yh.HTML?sf(e,t):If(e,t)}(this,e);break;case Dp.IN_FRAMESET:!function(e,t){switch(t.tagID){case yh.HTML:sf(e,t);break;case yh.FRAMESET:e._insertElement(t,gh.HTML);break;case yh.FRAME:e._appendElement(t,gh.HTML),t.ackSelfClosing=!0;break;case yh.NOFRAMES:Vp(e,t)}}(this,e);break;case Dp.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case yh.HTML:sf(e,t);break;case yh.NOFRAMES:Vp(e,t)}}(this,e);break;case Dp.AFTER_AFTER_BODY:!function(e,t){t.tagID===yh.HTML?sf(e,t):Of(e,t)}(this,e);break;case Dp.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case yh.HTML:sf(e,t);break;case yh.NOFRAMES:Vp(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===yh.P||t.tagID===yh.BR)return Df(e),void e._endTagOutsideForeignContent(t);for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===gh.HTML){e._endTagOutsideForeignContent(t);break}const s=e.treeAdapter.getTagName(r);if(s.toLowerCase()===t.tagName){t.tagName=s,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case Dp.INITIAL:Yp(this,e);break;case Dp.BEFORE_HTML:!function(e,t){const n=t.tagID;n!==yh.HTML&&n!==yh.HEAD&&n!==yh.BODY&&n!==yh.BR||jp(e,t)}(this,e);break;case Dp.BEFORE_HEAD:!function(e,t){const n=t.tagID;n===yh.HEAD||n===yh.BODY||n===yh.HTML||n===yh.BR?zp(e,t):e._err(t,sh.endTagWithoutMatchingOpenElement)}(this,e);break;case Dp.IN_HEAD:!function(e,t){switch(t.tagID){case yh.HEAD:e.openElements.pop(),e.insertionMode=Dp.AFTER_HEAD;break;case yh.BODY:case yh.BR:case yh.HTML:$p(e,t);break;case yh.TEMPLATE:Kp(e,t);break;default:e._err(t,sh.endTagWithoutMatchingOpenElement)}}(this,e);break;case Dp.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case yh.NOSCRIPT:e.openElements.pop(),e.insertionMode=Dp.IN_HEAD;break;case yh.BR:Qp(e,t);break;default:e._err(t,sh.endTagWithoutMatchingOpenElement)}}(this,e);break;case Dp.AFTER_HEAD:!function(e,t){switch(t.tagID){case yh.BODY:case yh.HTML:case yh.BR:Wp(e,t);break;case yh.TEMPLATE:Kp(e,t);break;default:e._err(t,sh.endTagWithoutMatchingOpenElement)}}(this,e);break;case Dp.IN_BODY:af(this,e);break;case Dp.TEXT:!function(e,t){var n;t.tagID===yh.SCRIPT&&(null===(n=e.scriptHandler)||void 0===n||n.call(e,e.openElements.current));e.openElements.pop(),e.insertionMode=e.originalInsertionMode}(this,e);break;case Dp.IN_TABLE:hf(this,e);break;case Dp.IN_TABLE_TEXT:mf(this,e);break;case Dp.IN_CAPTION:!function(e,t){const n=t.tagID;switch(n){case yh.CAPTION:case yh.TABLE:e.openElements.hasInTableScope(yh.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(yh.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Dp.IN_TABLE,n===yh.TABLE&&hf(e,t));break;case yh.BODY:case yh.COL:case yh.COLGROUP:case yh.HTML:case yh.TBODY:case yh.TD:case yh.TFOOT:case yh.TH:case yh.THEAD:case yh.TR:break;default:af(e,t)}}(this,e);break;case Dp.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case yh.COLGROUP:e.openElements.currentTagId===yh.COLGROUP&&(e.openElements.pop(),e.insertionMode=Dp.IN_TABLE);break;case yh.TEMPLATE:Kp(e,t);break;case yh.COL:break;default:Tf(e,t)}}(this,e);break;case Dp.IN_TABLE_BODY:_f(this,e);break;case Dp.IN_ROW:bf(this,e);break;case Dp.IN_CELL:!function(e,t){const n=t.tagID;switch(n){case yh.TD:case yh.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Dp.IN_ROW);break;case yh.TABLE:case yh.TBODY:case yh.TFOOT:case yh.THEAD:case yh.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),bf(e,t));break;case yh.BODY:case yh.CAPTION:case yh.COL:case yh.COLGROUP:case yh.HTML:break;default:af(e,t)}}(this,e);break;case Dp.IN_SELECT:Nf(this,e);break;case Dp.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===yh.CAPTION||n===yh.TABLE||n===yh.TBODY||n===yh.TFOOT||n===yh.THEAD||n===yh.TR||n===yh.TD||n===yh.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(yh.SELECT),e._resetInsertionMode(),e.onEndTag(t)):Nf(e,t)}(this,e);break;case Dp.IN_TEMPLATE:!function(e,t){t.tagID===yh.TEMPLATE&&Kp(e,t)}(this,e);break;case Dp.AFTER_BODY:Cf(this,e);break;case Dp.IN_FRAMESET:!function(e,t){t.tagID!==yh.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagId===yh.FRAMESET||(e.insertionMode=Dp.AFTER_FRAMESET))}(this,e);break;case Dp.AFTER_FRAMESET:!function(e,t){t.tagID===yh.HTML&&(e.insertionMode=Dp.AFTER_AFTER_FRAMESET)}(this,e);break;case Dp.AFTER_AFTER_BODY:Of(this,e)}}onEof(e){switch(this.insertionMode){case Dp.INITIAL:Yp(this,e);break;case Dp.BEFORE_HTML:jp(this,e);break;case Dp.BEFORE_HEAD:zp(this,e);break;case Dp.IN_HEAD:$p(this,e);break;case Dp.IN_HEAD_NO_SCRIPT:Qp(this,e);break;case Dp.AFTER_HEAD:Wp(this,e);break;case Dp.IN_BODY:case Dp.IN_TABLE:case Dp.IN_CAPTION:case Dp.IN_COLUMN_GROUP:case Dp.IN_TABLE_BODY:case Dp.IN_ROW:case Dp.IN_CELL:case Dp.IN_SELECT:case Dp.IN_SELECT_IN_TABLE:cf(this,e);break;case Dp.TEXT:!function(e,t){e._err(t,sh.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}(this,e);break;case Dp.IN_TABLE_TEXT:mf(this,e);break;case Dp.IN_TEMPLATE:Sf(this,e);break;case Dp.AFTER_BODY:case Dp.IN_FRAMESET:case Dp.AFTER_FRAMESET:case Dp.AFTER_AFTER_BODY:case Dp.AFTER_AFTER_FRAMESET:qp(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===$u.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)this._insertCharacters(e);else switch(this.insertionMode){case Dp.IN_HEAD:case Dp.IN_HEAD_NO_SCRIPT:case Dp.AFTER_HEAD:case Dp.TEXT:case Dp.IN_COLUMN_GROUP:case Dp.IN_SELECT:case Dp.IN_SELECT_IN_TABLE:case Dp.IN_FRAMESET:case Dp.AFTER_FRAMESET:this._insertCharacters(e);break;case Dp.IN_BODY:case Dp.IN_CAPTION:case Dp.IN_CELL:case Dp.IN_TEMPLATE:case Dp.AFTER_BODY:case Dp.AFTER_AFTER_BODY:case Dp.AFTER_AFTER_FRAMESET:Jp(this,e);break;case Dp.IN_TABLE:case Dp.IN_TABLE_BODY:case Dp.IN_ROW:lf(this,e);break;case Dp.IN_TABLE_TEXT:ff(this,e)}}}function Mp(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):of(e,t),n}function Pp(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const s=e.openElements.items[r];if(s===t.element)break;e._isSpecialElement(s,e.openElements.tagIDs[r])&&(n=s)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}function xp(e,t,n){let r=t,s=e.openElements.getCommonAncestor(t);for(let i=0,o=s;o!==n;i++,o=s){s=e.openElements.getCommonAncestor(o);const n=e.activeFormattingElements.getElementEntry(o),a=n&&i>=Op;!n||a?(a&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=Bp(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function Bp(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function Fp(e,t,n){const r=Dh(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{const s=e.treeAdapter.getNamespaceURI(t);r===yh.TEMPLATE&&s===gh.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function Up(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:s}=n,i=e.treeAdapter.createElement(s.tagName,r,s.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,s),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,s.tagID)}function Hp(e,t){for(let n=0;n=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){const n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function Yp(e,t){e._err(t,sh.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Ah.QUIRKS),e.insertionMode=Dp.BEFORE_HTML,e._processToken(t)}function jp(e,t){e._insertFakeRootElement(),e.insertionMode=Dp.BEFORE_HEAD,e._processToken(t)}function zp(e,t){e._insertFakeElement(_h.HEAD,yh.HEAD),e.headElement=e.openElements.current,e.insertionMode=Dp.IN_HEAD,e._processToken(t)}function Vp(e,t){switch(t.tagID){case yh.HTML:sf(e,t);break;case yh.BASE:case yh.BASEFONT:case yh.BGSOUND:case yh.LINK:case yh.META:e._appendElement(t,gh.HTML),t.ackSelfClosing=!0;break;case yh.TITLE:e._switchToTextParsing(t,Ph.RCDATA);break;case yh.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,Ph.RAWTEXT):(e._insertElement(t,gh.HTML),e.insertionMode=Dp.IN_HEAD_NO_SCRIPT);break;case yh.NOFRAMES:case yh.STYLE:e._switchToTextParsing(t,Ph.RAWTEXT);break;case yh.SCRIPT:e._switchToTextParsing(t,Ph.SCRIPT_DATA);break;case yh.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=Dp.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(Dp.IN_TEMPLATE);break;case yh.HEAD:e._err(t,sh.misplacedStartTagForHeadElement);break;default:$p(e,t)}}function Kp(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==yh.TEMPLATE&&e._err(t,sh.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(yh.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,sh.endTagWithoutMatchingOpenElement)}function $p(e,t){e.openElements.pop(),e.insertionMode=Dp.AFTER_HEAD,e._processToken(t)}function Qp(e,t){const n=t.type===oh.EOF?sh.openElementsLeftAfterEof:sh.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=Dp.IN_HEAD,e._processToken(t)}function Wp(e,t){e._insertFakeElement(_h.BODY,yh.BODY),e.insertionMode=Dp.IN_BODY,Xp(e,t)}function Xp(e,t){switch(t.type){case oh.CHARACTER:Zp(e,t);break;case oh.WHITESPACE_CHARACTER:Jp(e,t);break;case oh.COMMENT:Gp(e,t);break;case oh.START_TAG:sf(e,t);break;case oh.END_TAG:af(e,t);break;case oh.EOF:cf(e,t)}}function Jp(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Zp(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function ef(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,gh.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tf(e){const t=ah(e,Th.TYPE);return null!=t&&t.toLowerCase()===Cp}function nf(e,t){e._switchToTextParsing(t,Ph.RAWTEXT)}function rf(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,gh.HTML)}function sf(e,t){switch(t.tagID){case yh.I:case yh.S:case yh.B:case yh.U:case yh.EM:case yh.TT:case yh.BIG:case yh.CODE:case yh.FONT:case yh.SMALL:case yh.STRIKE:case yh.STRONG:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,gh.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case yh.A:!function(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(_h.A);n&&(Hp(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,gh.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case yh.H1:case yh.H2:case yh.H3:case yh.H4:case yh.H5:case yh.H6:!function(e,t){e.openElements.hasInButtonScope(yh.P)&&e._closePElement(),vh(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,gh.HTML)}(e,t);break;case yh.P:case yh.DL:case yh.OL:case yh.UL:case yh.DIV:case yh.DIR:case yh.NAV:case yh.MAIN:case yh.MENU:case yh.ASIDE:case yh.CENTER:case yh.FIGURE:case yh.FOOTER:case yh.HEADER:case yh.HGROUP:case yh.DIALOG:case yh.DETAILS:case yh.ADDRESS:case yh.ARTICLE:case yh.SECTION:case yh.SUMMARY:case yh.FIELDSET:case yh.BLOCKQUOTE:case yh.FIGCAPTION:!function(e,t){e.openElements.hasInButtonScope(yh.P)&&e._closePElement(),e._insertElement(t,gh.HTML)}(e,t);break;case yh.LI:case yh.DD:case yh.DT:!function(e,t){e.framesetOk=!1;const n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){const r=e.openElements.tagIDs[t];if(n===yh.LI&&r===yh.LI||(n===yh.DD||n===yh.DT)&&(r===yh.DD||r===yh.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==yh.ADDRESS&&r!==yh.DIV&&r!==yh.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(yh.P)&&e._closePElement(),e._insertElement(t,gh.HTML)}(e,t);break;case yh.BR:case yh.IMG:case yh.WBR:case yh.AREA:case yh.EMBED:case yh.KEYGEN:ef(e,t);break;case yh.HR:!function(e,t){e.openElements.hasInButtonScope(yh.P)&&e._closePElement(),e._appendElement(t,gh.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t);break;case yh.RB:case yh.RTC:!function(e,t){e.openElements.hasInScope(yh.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,gh.HTML)}(e,t);break;case yh.RT:case yh.RP:!function(e,t){e.openElements.hasInScope(yh.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(yh.RTC),e._insertElement(t,gh.HTML)}(e,t);break;case yh.PRE:case yh.LISTING:!function(e,t){e.openElements.hasInButtonScope(yh.P)&&e._closePElement(),e._insertElement(t,gh.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}(e,t);break;case yh.XMP:!function(e,t){e.openElements.hasInButtonScope(yh.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Ph.RAWTEXT)}(e,t);break;case yh.SVG:!function(e,t){e._reconstructActiveFormattingElements(),kp(t),Np(t),t.selfClosing?e._appendElement(t,gh.SVG):e._insertElement(t,gh.SVG),t.ackSelfClosing=!0}(e,t);break;case yh.HTML:!function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t);break;case yh.BASE:case yh.LINK:case yh.META:case yh.STYLE:case yh.TITLE:case yh.SCRIPT:case yh.BGSOUND:case yh.BASEFONT:case yh.TEMPLATE:Vp(e,t);break;case yh.BODY:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case yh.FORM:!function(e,t){const n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(yh.P)&&e._closePElement(),e._insertElement(t,gh.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case yh.NOBR:!function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(yh.NOBR)&&(Hp(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,gh.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case yh.MATH:!function(e,t){e._reconstructActiveFormattingElements(),bp(t),Np(t),t.selfClosing?e._appendElement(t,gh.MATHML):e._insertElement(t,gh.MATHML),t.ackSelfClosing=!0}(e,t);break;case yh.TABLE:!function(e,t){e.treeAdapter.getDocumentMode(e.document)!==Ah.QUIRKS&&e.openElements.hasInButtonScope(yh.P)&&e._closePElement(),e._insertElement(t,gh.HTML),e.framesetOk=!1,e.insertionMode=Dp.IN_TABLE}(e,t);break;case yh.INPUT:!function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,gh.HTML),tf(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t);break;case yh.PARAM:case yh.TRACK:case yh.SOURCE:!function(e,t){e._appendElement(t,gh.HTML),t.ackSelfClosing=!0}(e,t);break;case yh.IMAGE:!function(e,t){t.tagName=_h.IMG,t.tagID=yh.IMG,ef(e,t)}(e,t);break;case yh.BUTTON:!function(e,t){e.openElements.hasInScope(yh.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(yh.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,gh.HTML),e.framesetOk=!1}(e,t);break;case yh.APPLET:case yh.OBJECT:case yh.MARQUEE:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,gh.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}(e,t);break;case yh.IFRAME:!function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Ph.RAWTEXT)}(e,t);break;case yh.SELECT:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,gh.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===Dp.IN_TABLE||e.insertionMode===Dp.IN_CAPTION||e.insertionMode===Dp.IN_TABLE_BODY||e.insertionMode===Dp.IN_ROW||e.insertionMode===Dp.IN_CELL?Dp.IN_SELECT_IN_TABLE:Dp.IN_SELECT}(e,t);break;case yh.OPTION:case yh.OPTGROUP:!function(e,t){e.openElements.currentTagId===yh.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,gh.HTML)}(e,t);break;case yh.NOEMBED:nf(e,t);break;case yh.FRAMESET:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,gh.HTML),e.insertionMode=Dp.IN_FRAMESET)}(e,t);break;case yh.TEXTAREA:!function(e,t){e._insertElement(t,gh.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Ph.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=Dp.TEXT}(e,t);break;case yh.NOSCRIPT:e.options.scriptingEnabled?nf(e,t):rf(e,t);break;case yh.PLAINTEXT:!function(e,t){e.openElements.hasInButtonScope(yh.P)&&e._closePElement(),e._insertElement(t,gh.HTML),e.tokenizer.state=Ph.PLAINTEXT}(e,t);break;case yh.COL:case yh.TH:case yh.TD:case yh.TR:case yh.HEAD:case yh.FRAME:case yh.TBODY:case yh.TFOOT:case yh.THEAD:case yh.CAPTION:case yh.COLGROUP:break;default:rf(e,t)}}function of(e,t){const n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){const s=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==yh.UNKNOWN||e.treeAdapter.getTagName(s)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(s,i))break}}function af(e,t){switch(t.tagID){case yh.A:case yh.B:case yh.I:case yh.S:case yh.U:case yh.EM:case yh.TT:case yh.BIG:case yh.CODE:case yh.FONT:case yh.NOBR:case yh.SMALL:case yh.STRIKE:case yh.STRONG:Hp(e,t);break;case yh.P:!function(e){e.openElements.hasInButtonScope(yh.P)||e._insertFakeElement(_h.P,yh.P),e._closePElement()}(e);break;case yh.DL:case yh.UL:case yh.OL:case yh.DIR:case yh.DIV:case yh.NAV:case yh.PRE:case yh.MAIN:case yh.MENU:case yh.ASIDE:case yh.BUTTON:case yh.CENTER:case yh.FIGURE:case yh.FOOTER:case yh.HEADER:case yh.HGROUP:case yh.DIALOG:case yh.ADDRESS:case yh.ARTICLE:case yh.DETAILS:case yh.SECTION:case yh.SUMMARY:case yh.LISTING:case yh.FIELDSET:case yh.BLOCKQUOTE:case yh.FIGCAPTION:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case yh.LI:!function(e){e.openElements.hasInListItemScope(yh.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(yh.LI),e.openElements.popUntilTagNamePopped(yh.LI))}(e);break;case yh.DD:case yh.DT:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case yh.H1:case yh.H2:case yh.H3:case yh.H4:case yh.H5:case yh.H6:!function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e);break;case yh.BR:!function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(_h.BR,yh.BR),e.openElements.pop(),e.framesetOk=!1}(e);break;case yh.BODY:!function(e,t){if(e.openElements.hasInScope(yh.BODY)&&(e.insertionMode=Dp.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case yh.HTML:!function(e,t){e.openElements.hasInScope(yh.BODY)&&(e.insertionMode=Dp.AFTER_BODY,Cf(e,t))}(e,t);break;case yh.FORM:!function(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(yh.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(yh.FORM):n&&e.openElements.remove(n))}(e);break;case yh.APPLET:case yh.OBJECT:case yh.MARQUEE:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case yh.TEMPLATE:Kp(e,t);break;default:of(e,t)}}function cf(e,t){e.tmplInsertionModeStack.length>0?Sf(e,t):qp(e,t)}function lf(e,t){if(Rp.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=Dp.IN_TABLE_TEXT,t.type){case oh.CHARACTER:df(e,t);break;case oh.WHITESPACE_CHARACTER:ff(e,t)}else pf(e,t)}function uf(e,t){switch(t.tagID){case yh.TD:case yh.TH:case yh.TR:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(_h.TBODY,yh.TBODY),e.insertionMode=Dp.IN_TABLE_BODY,Af(e,t)}(e,t);break;case yh.STYLE:case yh.SCRIPT:case yh.TEMPLATE:Vp(e,t);break;case yh.COL:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(_h.COLGROUP,yh.COLGROUP),e.insertionMode=Dp.IN_COLUMN_GROUP,gf(e,t)}(e,t);break;case yh.FORM:!function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,gh.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t);break;case yh.TABLE:!function(e,t){e.openElements.hasInTableScope(yh.TABLE)&&(e.openElements.popUntilTagNamePopped(yh.TABLE),e._resetInsertionMode(),e._processStartTag(t))}(e,t);break;case yh.TBODY:case yh.TFOOT:case yh.THEAD:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,gh.HTML),e.insertionMode=Dp.IN_TABLE_BODY}(e,t);break;case yh.INPUT:!function(e,t){tf(t)?e._appendElement(t,gh.HTML):pf(e,t),t.ackSelfClosing=!0}(e,t);break;case yh.CAPTION:!function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,gh.HTML),e.insertionMode=Dp.IN_CAPTION}(e,t);break;case yh.COLGROUP:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,gh.HTML),e.insertionMode=Dp.IN_COLUMN_GROUP}(e,t);break;default:pf(e,t)}}function hf(e,t){switch(t.tagID){case yh.TABLE:e.openElements.hasInTableScope(yh.TABLE)&&(e.openElements.popUntilTagNamePopped(yh.TABLE),e._resetInsertionMode());break;case yh.TEMPLATE:Kp(e,t);break;case yh.BODY:case yh.CAPTION:case yh.COL:case yh.COLGROUP:case yh.HTML:case yh.TBODY:case yh.TD:case yh.TFOOT:case yh.TH:case yh.THEAD:case yh.TR:break;default:pf(e,t)}}function pf(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Xp(e,t),e.fosterParentingEnabled=n}function ff(e,t){e.pendingCharacterTokens.push(t)}function df(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function mf(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===yh.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===yh.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===yh.OPTGROUP&&e.openElements.pop();break;case yh.OPTION:e.openElements.currentTagId===yh.OPTION&&e.openElements.pop();break;case yh.SELECT:e.openElements.hasInSelectScope(yh.SELECT)&&(e.openElements.popUntilTagNamePopped(yh.SELECT),e._resetInsertionMode());break;case yh.TEMPLATE:Kp(e,t)}}function Sf(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(yh.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):qp(e,t)}function Cf(e,t){var n;if(t.tagID===yh.HTML){if(e.fragmentContext||(e.insertionMode=Dp.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===yh.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)&&e._setEndLocation(r,t)}}else If(e,t)}function If(e,t){e.insertionMode=Dp.IN_BODY,Xp(e,t)}function Of(e,t){e.insertionMode=Dp.IN_BODY,Xp(e,t)}function Df(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==gh.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}new Set([_h.AREA,_h.BASE,_h.BASEFONT,_h.BGSOUND,_h.BR,_h.COL,_h.EMBED,_h.FRAME,_h.HR,_h.IMG,_h.INPUT,_h.KEYGEN,_h.LINK,_h.META,_h.PARAM,_h.SOURCE,_h.TRACK,_h.WBR]);const Lf=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Rf={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function vf(e,t){const n=function(e){const t="root"===e.type?e.children[0]:e;return Boolean(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName))}(e),r=ht("type",{handlers:{root:Mf,element:Pf,text:xf,comment:Uf,doctype:Bf,raw:Hf},unknown:Gf}),s={parser:n?new wp(Rf):wp.getFragmentParser(void 0,Rf),handle(e){r(e,s)},stitches:!1,options:t||{}};r(e,s),qf(s,tr());const i=function(e,t){const n=t||{};return Mu({file:n.file||void 0,location:!1,schema:"svg"===n.space?ps:hs,verbose:n.verbose||!1},e)}(n?s.parser.document:s.parser.getFragment(),{file:s.options.file});return s.stitches&&vt(i,"comment",(function(e,t,n){const r=e;if(r.value.stitch&&n&&void 0!==t){return n.children[t]=r.value.stitch,t}})),"root"===i.type&&1===i.children.length&&i.children[0].type===e.type?i.children[0]:i}function wf(e,t){let n=-1;if(e)for(;++ne=>{const t=e.children.find((e=>"yaml"===e.type));t&&(o=Tu.parse(t.value))})).use(Js).use(ko).use(Au,{allowDangerousHtml:!0}).use(r,s);n.addHeadingIds&&h.use(t),n.addTableOfContents&&h.use((()=>async e=>{const t=i(e,n.insertTocDirectly);t&&(c=await jn().use((()=>()=>t)).use(_u).process("").then((e=>e.toString())))})),n.calculateReadingTime&&(u=a(n.readingTimeOptions)(jn().parse(e))),n.renderEmbeds&&h.use(l).use(zf);const p=await h.use(_u).process(e),f=(d=p.toString(),m="markdown",d?`
${d}
`:"");var d,m;return{frontMatter:o,contentHtml:f,toc:c,readingTime:u}},exports.wrapElements=r; diff --git a/dist/index.esm.js b/dist/index.esm.js index 2534c80..9fd3526 100644 --- a/dist/index.esm.js +++ b/dist/index.esm.js @@ -1 +1 @@ -function e(t,n,r){t.type===n&&r(t),t.children&&t.children.forEach((t=>{e(t,n,r)}))}function t(){return t=>{e(t,"element",(e=>{if("h1"===e.tagName||"h2"===e.tagName||"h3"===e.tagName||"h4"===e.tagName||"h5"===e.tagName||"h6"===e.tagName){const t=function(e){return e.toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"")}(n(e));e.properties=e.properties||{},e.properties.id=t}}))}}function n(e){return"text"===e.type?e.value:e.children?e.children.map(n).join(""):""}function r(e){return t=>{s(t,e)}}function s(e,t){e.children&&e.children.forEach(((n,r)=>{if("element"===n.type&&t[n.tagName]){const s={type:"element",tagName:"div",properties:{className:t[n.tagName]},children:[n]};e.children[r]=s}s(n,t)}))}function i(t,n=!1){const r=[];e(t,"element",(e=>{if(function(e){return/^h[1-6]$/.test(e.tagName)}(e)){const n=(t=e.tagName,parseInt(t.charAt(1),10)),s=o(e),i=e.properties?.id||function(e){return e.toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"")}(s);r.push({level:n,text:s,id:i})}var t}));const s=function(e){const t={type:"element",tagName:"ul",properties:{className:"toc markdown"},children:[]};return e.forEach((e=>{t.children.push({type:"element",tagName:"li",properties:{},children:[{type:"element",tagName:"a",properties:{href:`#${e.id}`},children:[{type:"text",value:e.text}]}]})})),t}(r);if(n){const e={type:"element",tagName:"br",properties:{},children:[]},n={type:"element",tagName:"br",properties:{},children:[]};return t.children.unshift(n),t.children.unshift(e),t.children.unshift(s),null}return s}function o(e){return"text"===e.type?e.value:e.children?e.children.map(o).join(""):""}function a(t={}){const n=t.wordsPerMinute||250;return t=>{let r=0;return e(t,"text",(e=>{r+=e.value.split(/\s+/).length})),Math.ceil(r/n)}}const c={};function l(e,t){const n=t||c;return u(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function u(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return h(e.children,t,n)}return Array.isArray(e)?h(e,t,n):""}function h(e,t,n){const r=[];let s=-1;for(;++s",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"​",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"â",acute:"´",acy:"а",aelig:"æ",af:"⁡",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacute:"í",ic:"⁣",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacute:"ó",oast:"⊛",ocir:"⊚",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslash:"ø",osol:"⊘",otilde:"õ",otimes:"⊗",otimesas:"⨶",ouml:"ö",ovbar:"⌽",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thorn:"þ",tilde:"˜",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},f={}.hasOwnProperty;function d(e){return!!f.call(p,e)&&p[e]}function m(e,t,n,r){const s=e.length;let i,o=0;if(t=t<0?-t>s?0:s+t:t>s?s:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);o0?(m(e,e.length,0,t),e):t}const g={}.hasOwnProperty;function T(e){const t={};let n=-1;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"�":String.fromCodePoint(n)}function b(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const k=x(/\p{P}/u),N=x(/[A-Za-z]/),S=x(/[\dA-Za-z]/),C=x(/[#-'*+\--9=?A-Z^-~]/);function I(e){return null!==e&&(e<32||127===e)}const O=x(/\d/),D=x(/[\dA-Fa-f]/),L=x(/[!-/:-@[-`{-~]/);function R(e){return null!==e&&e<-2}function v(e){return null!==e&&(e<0||32===e)}function w(e){return-2===e||-1===e||32===e}function M(e){return L(e)||k(e)}const P=x(/\s/);function x(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function B(e){const t=[];let n=-1,r=0,s=0;for(;++n55295&&i<57344){const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(o=String.fromCharCode(i,t),s=1):o="�"}else o=String.fromCharCode(i);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+s+1,o=""),s&&(n+=s,s=0)}return t.join("")+e.slice(r)}function F(e,t,n,r){const s=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){if(w(r))return e.enter(n),o(r);return t(r)};function o(r){return w(r)&&i++i))return;const n=t.events.length;let s,a,c=n;for(;c--;)if("exit"===t.events[c][0]&&"chunkFlow"===t.events[c][1].type){if(s){a=t.events[c][1].end;break}s=!0}for(T(o),e=n;er;){const r=n[s];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function A(){r.write([null]),s=void 0,r=void 0,t.containerState._closeFlow=void 0}}},G={tokenize:function(e,t,n){return F(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};function q(e){return null===e||v(e)||P(e)?1:M(e)?2:void 0}function Y(e,t,n){const r=[];let s=-1;for(;++s1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const h=Object.assign({},e[n][1].end),p=Object.assign({},e[u][1].start);z(h,-a),z(p,a),i={type:a>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},e[n][1].end)},o={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:p},s={type:a>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[u][1].start)},r={type:a>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},o.end)},e[n][1].end=Object.assign({},i.start),e[u][1].start=Object.assign({},o.end),c=[],e[n][1].end.offset-e[n][1].start.offset&&(c=E(c,[["enter",e[n][1],t],["exit",e[n][1],t]])),c=E(c,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",s,t]]),c=E(c,Y(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),c=E(c,[["exit",s,t],["enter",o,t],["exit",o,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(l=2,c=E(c,[["enter",e[u][1],t],["exit",e[u][1],t]])):l=0,m(e,n-1,u-n+3,c),u=n+c.length-l-2;break}u=-1;for(;++u=a?(e.exit("codeFencedFenceSequence"),w(t)?F(e,h,"whitespace")(t):h(t)):n(t)}function h(r){return null===r||R(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let i,o=0,a=0;return function(t){return function(t){const n=r.events[r.events.length-1];return o=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,i=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(t)}(t)};function c(t){return t===i?(a++,e.consume(t),c):a<3?n(t):(e.exit("codeFencedFenceSequence"),w(t)?F(e,l,"whitespace")(t):l(t))}function l(n){return null===n||R(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(X,f,T)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){return null===t||R(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(t)):w(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),F(e,h,"whitespace")(t)):96===t&&t===i?n(t):(e.consume(t),u)}function h(t){return null===t||R(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(t))}function p(t){return null===t||R(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(t)):96===t&&t===i?n(t):(e.consume(t),p)}function f(t){return e.attempt(s,T,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return o>0&&w(t)?F(e,E,"linePrefix",o+1)(t):E(t)}function E(t){return null===t||R(t)?e.check(X,f,T)(t):(e.enter("codeFlowValue"),g(t))}function g(t){return null===t||R(t)?(e.exit("codeFlowValue"),E(t)):(e.consume(t),g)}function T(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const Z={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),F(e,s,"linePrefix",5)(t)};function s(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?i(e):n(e)}function i(t){return null===t?a(t):R(t)?e.attempt(ee,i,a)(t):(e.enter("codeFlowValue"),o(t))}function o(t){return null===t||R(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),o)}function a(n){return e.exit("codeIndented"),t(n)}}},ee={tokenize:function(e,t,n){const r=this;return s;function s(t){return r.parser.lazy[r.now().line]?n(t):R(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):F(e,i,"linePrefix",5)(t)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):R(e)?s(e):n(e)}},partial:!0};const te={name:"codeText",tokenize:function(e,t,n){let r,s,i=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),o(t)};function o(t){return 96===t?(e.consume(t),i++,o):(e.exit("codeTextSequence"),a(t))}function a(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),a):96===t?(s=e.enter("codeTextSequence"),r=0,l(t)):R(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(e.enter("codeTextData"),c(t))}function c(t){return null===t||32===t||96===t||R(t)?(e.exit("codeTextData"),a(t)):(e.consume(t),c)}function l(n){return 96===n?(e.consume(n),r++,l):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(s.type="codeTextData",c(n))}},resolve:function(e){let t,n,r=e.length-4,s=3;if(!("lineEnding"!==e[s][1].type&&"space"!==e[s][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=s;++t=4?t(s):e.interrupt(r.parser.constructs.flow,n,t)(s)}},partial:!0};function oe(e,t,n,r,s,i,o,a,c){const l=c||Number.POSITIVE_INFINITY;let u=0;return function(t){if(60===t)return e.enter(r),e.enter(s),e.enter(i),e.consume(t),e.exit(i),h;if(null===t||32===t||41===t||I(t))return n(t);return e.enter(r),e.enter(o),e.enter(a),e.enter("chunkString",{contentType:"string"}),d(t)};function h(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(s),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(a),h(t)):null===t||60===t||R(t)?n(t):(e.consume(t),92===t?f:p)}function f(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function d(s){return u||null!==s&&41!==s&&!v(s)?u999||null===h||91===h||93===h&&!a||94===h&&!c&&"_hiddenFootnoteSupport"in o.parser.constructs?n(h):93===h?(e.exit(i),e.enter(s),e.consume(h),e.exit(s),e.exit(r),t):R(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),l):(e.enter("chunkString",{contentType:"string"}),u(h))}function u(t){return null===t||91===t||93===t||R(t)||c++>999?(e.exit("chunkString"),l(t)):(e.consume(t),a||(a=!w(t)),92===t?h:u)}function h(t){return 91===t||92===t||93===t?(e.consume(t),c++,u):u(t)}}function ce(e,t,n,r,s,i){let o;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(s),e.consume(t),e.exit(s),o=40===t?41:t,a;return n(t)};function a(n){return n===o?(e.enter(s),e.consume(n),e.exit(s),e.exit(r),t):(e.enter(i),c(n))}function c(t){return t===o?(e.exit(i),a(o)):null===t?n(t):R(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),F(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),l(t))}function l(t){return t===o||null===t||R(t)?(e.exit("chunkString"),c(t)):(e.consume(t),92===t?u:l)}function u(t){return t===o||92===t?(e.consume(t),l):l(t)}}function le(e,t){let n;return function r(s){if(R(s))return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),n=!0,r;if(w(s))return F(e,r,n?"linePrefix":"lineSuffix")(s);return t(s)}}const ue={name:"definition",tokenize:function(e,t,n){const r=this;let s;return function(t){return e.enter("definition"),function(t){return ae.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function i(t){return s=b(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o):n(t)}function o(t){return v(t)?le(e,a)(t):a(t)}function a(t){return oe(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function c(t){return e.attempt(he,l,l)(t)}function l(t){return w(t)?F(e,u,"whitespace")(t):u(t)}function u(i){return null===i||R(i)?(e.exit("definition"),r.parser.defined.push(s),t(i)):n(i)}}},he={tokenize:function(e,t,n){return function(t){return v(t)?le(e,r)(t):n(t)};function r(t){return ce(e,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function s(t){return w(t)?F(e,i,"whitespace")(t):i(t)}function i(e){return null===e||R(e)?t(e):n(e)}},partial:!0};const pe={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return R(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}};const fe={name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),s(t)}(t)};function s(t){return 35===t&&r++<6?(e.consume(t),s):null===t||v(t)?(e.exit("atxHeadingSequence"),i(t)):n(t)}function i(n){return 35===n?(e.enter("atxHeadingSequence"),o(n)):null===n||R(n)?(e.exit("atxHeading"),t(n)):w(n)?F(e,i,"whitespace")(n):(e.enter("atxHeadingText"),a(n))}function o(t){return 35===t?(e.consume(t),o):(e.exit("atxHeadingSequence"),i(t))}function a(t){return null===t||35===t||v(t)?(e.exit("atxHeadingText"),i(t)):(e.consume(t),a)}},resolve:function(e,t){let n,r,s=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);s-2>i&&"whitespace"===e[s][1].type&&(s-=2);"atxHeadingSequence"===e[s][1].type&&(i===s-1||s-4>i&&"whitespace"===e[s-2][1].type)&&(s-=i+1===s?2:4);s>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[s][1].end},r={type:"chunkText",start:e[i][1].start,end:e[s][1].end,contentType:"text"},m(e,i,s-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const de=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],me=["pre","script","style","textarea"],Ee={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let s,i,o,a,c;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),l}(t)};function l(a){return 33===a?(e.consume(a),u):47===a?(e.consume(a),i=!0,f):63===a?(e.consume(a),s=3,r.interrupt?t:U):N(a)?(e.consume(a),o=String.fromCharCode(a),d):n(a)}function u(i){return 45===i?(e.consume(i),s=2,h):91===i?(e.consume(i),s=5,a=0,p):N(i)?(e.consume(i),s=4,r.interrupt?t:U):n(i)}function h(s){return 45===s?(e.consume(s),r.interrupt?t:U):n(s)}function p(s){const i="CDATA[";return s===i.charCodeAt(a++)?(e.consume(s),6===a?r.interrupt?t:O:p):n(s)}function f(t){return N(t)?(e.consume(t),o=String.fromCharCode(t),d):n(t)}function d(a){if(null===a||47===a||62===a||v(a)){const c=47===a,l=o.toLowerCase();return c||i||!me.includes(l)?de.includes(o.toLowerCase())?(s=6,c?(e.consume(a),m):r.interrupt?t(a):O(a)):(s=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(a):i?E(a):g(a)):(s=1,r.interrupt?t(a):O(a))}return 45===a||S(a)?(e.consume(a),o+=String.fromCharCode(a),d):n(a)}function m(s){return 62===s?(e.consume(s),r.interrupt?t:O):n(s)}function E(t){return w(t)?(e.consume(t),E):C(t)}function g(t){return 47===t?(e.consume(t),C):58===t||95===t||N(t)?(e.consume(t),T):w(t)?(e.consume(t),g):C(t)}function T(t){return 45===t||46===t||58===t||95===t||S(t)?(e.consume(t),T):A(t)}function A(t){return 61===t?(e.consume(t),_):w(t)?(e.consume(t),A):g(t)}function _(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),c=t,y):w(t)?(e.consume(t),_):b(t)}function y(t){return t===c?(e.consume(t),c=null,k):null===t||R(t)?n(t):(e.consume(t),y)}function b(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||v(t)?A(t):(e.consume(t),b)}function k(e){return 47===e||62===e||w(e)?g(e):n(e)}function C(t){return 62===t?(e.consume(t),I):n(t)}function I(t){return null===t||R(t)?O(t):w(t)?(e.consume(t),I):n(t)}function O(t){return 45===t&&2===s?(e.consume(t),P):60===t&&1===s?(e.consume(t),x):62===t&&4===s?(e.consume(t),H):63===t&&3===s?(e.consume(t),U):93===t&&5===s?(e.consume(t),F):!R(t)||6!==s&&7!==s?null===t||R(t)?(e.exit("htmlFlowData"),D(t)):(e.consume(t),O):(e.exit("htmlFlowData"),e.check(ge,G,D)(t))}function D(t){return e.check(Te,L,G)(t)}function L(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),M}function M(t){return null===t||R(t)?D(t):(e.enter("htmlFlowData"),O(t))}function P(t){return 45===t?(e.consume(t),U):O(t)}function x(t){return 47===t?(e.consume(t),o="",B):O(t)}function B(t){if(62===t){const n=o.toLowerCase();return me.includes(n)?(e.consume(t),H):O(t)}return N(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),B):O(t)}function F(t){return 93===t?(e.consume(t),U):O(t)}function U(t){return 62===t?(e.consume(t),H):45===t&&2===s?(e.consume(t),U):O(t)}function H(t){return null===t||R(t)?(e.exit("htmlFlowData"),G(t)):(e.consume(t),H)}function G(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},ge={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(K,t,n)}},partial:!0},Te={tokenize:function(e,t,n){const r=this;return function(t){if(R(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s;return n(t)};function s(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0};const Ae={name:"htmlText",tokenize:function(e,t,n){const r=this;let s,i,o;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),a};function a(t){return 33===t?(e.consume(t),c):47===t?(e.consume(t),_):63===t?(e.consume(t),T):N(t)?(e.consume(t),k):n(t)}function c(t){return 45===t?(e.consume(t),l):91===t?(e.consume(t),i=0,f):N(t)?(e.consume(t),g):n(t)}function l(t){return 45===t?(e.consume(t),p):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),h):R(t)?(o=u,B(t)):(e.consume(t),u)}function h(t){return 45===t?(e.consume(t),p):u(t)}function p(e){return 62===e?x(e):45===e?h(e):u(e)}function f(t){const r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),6===i?d:f):n(t)}function d(t){return null===t?n(t):93===t?(e.consume(t),m):R(t)?(o=d,B(t)):(e.consume(t),d)}function m(t){return 93===t?(e.consume(t),E):d(t)}function E(t){return 62===t?x(t):93===t?(e.consume(t),E):d(t)}function g(t){return null===t||62===t?x(t):R(t)?(o=g,B(t)):(e.consume(t),g)}function T(t){return null===t?n(t):63===t?(e.consume(t),A):R(t)?(o=T,B(t)):(e.consume(t),T)}function A(e){return 62===e?x(e):T(e)}function _(t){return N(t)?(e.consume(t),y):n(t)}function y(t){return 45===t||S(t)?(e.consume(t),y):b(t)}function b(t){return R(t)?(o=b,B(t)):w(t)?(e.consume(t),b):x(t)}function k(t){return 45===t||S(t)?(e.consume(t),k):47===t||62===t||v(t)?C(t):n(t)}function C(t){return 47===t?(e.consume(t),x):58===t||95===t||N(t)?(e.consume(t),I):R(t)?(o=C,B(t)):w(t)?(e.consume(t),C):x(t)}function I(t){return 45===t||46===t||58===t||95===t||S(t)?(e.consume(t),I):O(t)}function O(t){return 61===t?(e.consume(t),D):R(t)?(o=O,B(t)):w(t)?(e.consume(t),O):C(t)}function D(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,L):R(t)?(o=D,B(t)):w(t)?(e.consume(t),D):(e.consume(t),M)}function L(t){return t===s?(e.consume(t),s=void 0,P):null===t?n(t):R(t)?(o=L,B(t)):(e.consume(t),L)}function M(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||v(t)?C(t):(e.consume(t),M)}function P(e){return 47===e||62===e||v(e)?C(e):n(e)}function x(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function B(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),U}function U(t){return w(t)?F(e,H,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):H(t)}function H(t){return e.enter("htmlTextData"),o(t)}}};const _e={name:"labelEnd",tokenize:function(e,t,n){const r=this;let s,i,o=r.events.length;for(;o--;)if(("labelImage"===r.events[o][1].type||"labelLink"===r.events[o][1].type)&&!r.events[o][1]._balanced){s=r.events[o][1];break}return function(t){if(!s)return n(t);if(s._inactive)return u(t);return i=r.parser.defined.includes(b(r.sliceSerialize({start:s.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),a};function a(t){return 40===t?e.attempt(ye,l,i?l:u)(t):91===t?e.attempt(be,l,i?c:u)(t):i?l(t):u(t)}function c(t){return e.attempt(ke,l,u)(t)}function l(e){return t(e)}function u(e){return s._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,s,i,o=e.length,a=0;for(;o--;)if(n=e[o][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[o][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(s){if("enter"===e[o][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=o,"labelLink"!==n.type)){a=2;break}}else"labelEnd"===n.type&&(s=o);const c={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},l={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[s][1].end)},u={type:"labelText",start:Object.assign({},e[r+a+2][1].end),end:Object.assign({},e[s-2][1].start)};return i=[["enter",c,t],["enter",l,t]],i=E(i,e.slice(r+1,r+a+3)),i=E(i,[["enter",u,t]]),i=E(i,Y(t.parser.constructs.insideSpan.null,e.slice(r+a+4,s-3),t)),i=E(i,[["exit",u,t],e[s-2],e[s-1],["exit",l,t]]),i=E(i,e.slice(s+1)),i=E(i,[["exit",c,t]]),m(e,r,e.length,i),e},resolveAll:function(e){let t=-1;for(;++t=3&&(null===i||R(i))?(e.exit("thematicBreak"),t(i)):n(i)}function o(t){return t===r?(e.consume(t),s++,o):(e.exit("thematicBreakSequence"),w(t)?F(e,i,"whitespace")(t):i(t))}}};const Oe={name:"list",tokenize:function(e,t,n){const r=this,s=r.events[r.events.length-1];let i=s&&"linePrefix"===s[1].type?s[2].sliceSerialize(s[1],!0).length:0,o=0;return function(t){const s=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===s?!r.containerState.marker||t===r.containerState.marker:O(t)){if(r.containerState.type||(r.containerState.type=s,e.enter(s,{_container:!0})),"listUnordered"===s)return e.enter("listItemPrefix"),42===t||45===t?e.check(Ie,n,c)(t):c(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(t)}return n(t)};function a(t){return O(t)&&++o<10?(e.consume(t),a):(!r.interrupt||o<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),c(t)):n(t)}function c(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(K,r.interrupt?n:l,e.attempt(De,h,u))}function l(e){return r.containerState.initialBlankLine=!0,i++,h(e)}function u(t){return w(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),h):n(t)}function h(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(K,s,i);function s(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,F(e,t,"listItemIndent",r.containerState.size+1)(n)}function i(n){return r.containerState.furtherBlankLines||!w(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Le,t,o)(n))}function o(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,F(e,e.attempt(Oe,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}},exit:function(e){e.exit(this.containerState.type)}},De={tokenize:function(e,t,n){const r=this;return F(e,(function(e){const s=r.events[r.events.length-1];return!w(e)&&s&&"listItemPrefixWhitespace"===s[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},Le={tokenize:function(e,t,n){const r=this;return F(e,(function(e){const s=r.events[r.events.length-1];return s&&"listItemIndent"===s[1].type&&s[2].sliceSerialize(s[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};const Re={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let s;return function(t){let o,a=r.events.length;for(;a--;)if("lineEnding"!==r.events[a][1].type&&"linePrefix"!==r.events[a][1].type&&"content"!==r.events[a][1].type){o="paragraph"===r.events[a][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||o))return e.enter("setextHeadingLine"),s=t,function(t){return e.enter("setextHeadingLineSequence"),i(t)}(t);return n(t)};function i(t){return t===s?(e.consume(t),i):(e.exit("setextHeadingLineSequence"),w(t)?F(e,o,"lineSuffix")(t):o(t))}function o(r){return null===r||R(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,s,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),s||"definition"!==e[i][1].type||(s=i);const o={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",s?(e.splice(r,0,["enter",o,t]),e.splice(s+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[s][1].end)):e[n][1]=o;return e.push(["exit",o,t]),e}};const ve={tokenize:function(e){const t=this,n=e.attempt(K,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,F(e,e.attempt(this.parser.constructs.flow,r,e.attempt(se,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const we={resolveAll:Be()},Me=xe("string"),Pe=xe("text");function xe(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],s=t.attempt(r,i,o);return i;function i(e){return c(e)?s(e):o(e)}function o(e){if(null!==e)return t.enter("data"),t.consume(e),a;t.consume(e)}function a(e){return c(e)?(t.exit("data"),s(e)):(t.consume(e),a)}function c(e){if(null===e)return!0;const t=r[e];let s=-1;if(t)for(;++s-1){const e=o[0];"string"==typeof e?o[0]=e.slice(r):o.shift()}i>0&&o.push(e[s].slice(0,i))}return o}(o,e)}function p(){const{line:e,column:t,offset:n,_index:s,_bufferIndex:i}=r;return{line:e,column:t,offset:n,_index:s,_bufferIndex:i}}function f(){let e;for(;r._index0){const e=i.tokenStack[i.tokenStack.length-1];(e[1]||at).call(i,void 0,e[0])}for(r.position={start:st(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:st(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},l=-1;++l"+(n?"":" ")+e}function mt(e,t){return Et(e,t.inConstruct,!0)&&!Et(e,t.notInConstruct,!1)}function Et(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r":"")+")"})}return u;function u(){let l,u,h,p=St;if((!t||i(s,a,c[c.length-1]||void 0))&&(p=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[Ct,e];return null==e?St:[e]}(n(s,c)),p[0]===It))return p;if("children"in s&&s.children){const t=s;if(t.children&&p[0]!==Ot)for(u=(r?t.children.length:-1)+o,h=c.concat(t);u>-1&&u",...c.current()})),l+=c.move(">")):(a=n.enter("destinationRaw"),l+=c.move(n.safe(e.url,{before:l,after:e.title?" ":")",...c.current()}))),a(),e.title&&(a=n.enter(`title${i}`),l+=c.move(" "+s),l+=c.move(n.safe(e.title,{before:l,after:s,...c.current()})),l+=c.move(s),a()),l+=c.move(")"),o(),l}function Mt(e,t,n,r){const s=e.referenceType,i=n.enter("imageReference");let o=n.enter("label");const a=n.createTracker(r);let c=a.move("![");const l=n.safe(e.alt,{before:c,after:"]",...a.current()});c+=a.move(l+"]["),o();const u=n.stack;n.stack=[],o=n.enter("reference");const h=n.safe(n.associationId(e),{before:c,after:"]",...a.current()});return o(),n.stack=u,i(),"full"!==s&&l&&l===h?"shortcut"===s?c=c.slice(0,-1):c+=a.move("]"):c+=a.move(h+"]"),c}function Pt(e,t,n){let r=e.value||"",s="`",i=-1;for(;new RegExp("(^|[^`])"+s+"([^`]|$)").test(r);)s+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function Bt(e,t,n,r){const s=_t(n),i='"'===s?"Quote":"Apostrophe",o=n.createTracker(r);let a,c;if(xt(e,n)){const t=n.stack;n.stack=[],a=n.enter("autolink");let r=o.move("<");return r+=o.move(n.containerPhrasing(e,{before:r,after:">",...o.current()})),r+=o.move(">"),a(),n.stack=t,r}a=n.enter("link"),c=n.enter("label");let l=o.move("[");return l+=o.move(n.containerPhrasing(e,{before:l,after:"](",...o.current()})),l+=o.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),l+=o.move("<"),l+=o.move(n.safe(e.url,{before:l,after:">",...o.current()})),l+=o.move(">")):(c=n.enter("destinationRaw"),l+=o.move(n.safe(e.url,{before:l,after:e.title?" ":")",...o.current()}))),c(),e.title&&(c=n.enter(`title${i}`),l+=o.move(" "+s),l+=o.move(n.safe(e.title,{before:l,after:s,...o.current()})),l+=o.move(s),c()),l+=o.move(")"),a(),l}function Ft(e,t,n,r){const s=e.referenceType,i=n.enter("linkReference");let o=n.enter("label");const a=n.createTracker(r);let c=a.move("[");const l=n.containerPhrasing(e,{before:c,after:"]",...a.current()});c+=a.move(l+"]["),o();const u=n.stack;n.stack=[],o=n.enter("reference");const h=n.safe(n.associationId(e),{before:c,after:"]",...a.current()});return o(),n.stack=u,i(),"full"!==s&&l&&l===h?"shortcut"===s?c=c.slice(0,-1):c+=a.move("]"):c+=a.move(h+"]"),c}function Ut(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function Ht(e){const t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}vt.peek=function(){return"<"},wt.peek=function(){return"!"},Mt.peek=function(){return"!"},Pt.peek=function(){return"`"},Bt.peek=function(e,t,n){return xt(e,n)?"<":"["},Ft.peek=function(){return"["};const Gt=bt(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);function qt(e,t,n,r){const s=function(e){const t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r);let a=o.move(s+s);return a+=o.move(n.containerPhrasing(e,{before:a,after:s,...o.current()})),a+=o.move(s+s),i(),a}qt.peek=function(e,t,n){return n.options.strong||"*"};const Yt={blockquote:function(e,t,n,r){const s=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);const o=n.indentLines(n.containerFlow(e,i.current()),dt);return s(),o},break:gt,code:function(e,t,n,r){const s=function(e){const t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===s?"GraveAccent":"Tilde";if(Tt(e,n)){const e=n.enter("codeIndented"),t=n.indentLines(i,At);return e(),t}const a=n.createTracker(r),c=s.repeat(Math.max(function(e,t){const n=String(e);let r=n.indexOf(t),s=r,i=0,o=0;if("string"!=typeof t)throw new TypeError("Expected substring");for(;-1!==r;)r===s?++i>o&&(o=i):i=1,s=r+t.length,r=n.indexOf(t,s);return o}(i,s)+1,3)),l=n.enter("codeFenced");let u=a.move(c);if(e.lang){const t=n.enter(`codeFencedLang${o}`);u+=a.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...a.current()})),t()}if(e.lang&&e.meta){const t=n.enter(`codeFencedMeta${o}`);u+=a.move(" "),u+=a.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...a.current()})),t()}return u+=a.move("\n"),i&&(u+=a.move(i+"\n")),u+=a.move(c),l(),u},definition:function(e,t,n,r){const s=_t(n),i='"'===s?"Quote":"Apostrophe",o=n.enter("definition");let a=n.enter("label");const c=n.createTracker(r);let l=c.move("[");return l+=c.move(n.safe(n.associationId(e),{before:l,after:"]",...c.current()})),l+=c.move("]: "),a(),!e.url||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),l+=c.move("<"),l+=c.move(n.safe(e.url,{before:l,after:">",...c.current()})),l+=c.move(">")):(a=n.enter("destinationRaw"),l+=c.move(n.safe(e.url,{before:l,after:e.title?" ":"\n",...c.current()}))),a(),e.title&&(a=n.enter(`title${i}`),l+=c.move(" "+s),l+=c.move(n.safe(e.title,{before:l,after:s,...c.current()})),l+=c.move(s),a()),o(),l},emphasis:yt,hardBreak:gt,heading:function(e,t,n,r){const s=Math.max(Math.min(6,e.depth||1),1),i=n.createTracker(r);if(Rt(e,n)){const t=n.enter("headingSetext"),r=n.enter("phrasing"),o=n.containerPhrasing(e,{...i.current(),before:"\n",after:"\n"});return r(),t(),o+"\n"+(1===s?"=":"-").repeat(o.length-(Math.max(o.lastIndexOf("\r"),o.lastIndexOf("\n"))+1))}const o="#".repeat(s),a=n.enter("headingAtx"),c=n.enter("phrasing");i.move(o+" ");let l=n.containerPhrasing(e,{before:"# ",after:"\n",...i.current()});return/^[\t ]/.test(l)&&(l="&#x"+l.charCodeAt(0).toString(16).toUpperCase()+";"+l.slice(1)),l=l?o+" "+l:o,n.options.closeAtx&&(l+=" "+o),c(),a(),l},html:vt,image:wt,imageReference:Mt,inlineCode:Pt,link:Bt,linkReference:Ft,list:function(e,t,n,r){const s=n.enter("list"),i=n.bulletCurrent;let o=e.ordered?function(e){const t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):Ut(n);const a=e.ordered?"."===o?")":".":function(e){const t=Ut(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n);let c=!(!t||!n.bulletLastUsed)&&o===n.bulletLastUsed;if(!e.ordered){const t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(c=!0),Ht(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===s||"mixed"===s&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));const a=n.createTracker(r);a.move(i+" ".repeat(o-i.length)),a.shift(o);const c=n.enter("listItem"),l=n.indentLines(n.containerFlow(e,a.current()),(function(e,t,n){if(t)return(n?"":" ".repeat(o))+e;return(n?i:i+" ".repeat(o-i.length))+e}));return c(),l},paragraph:function(e,t,n,r){const s=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),s(),o},root:function(e,t,n,r){return(e.children.some((function(e){return Gt(e)}))?n.containerPhrasing:n.containerFlow).call(n,e,r)},strong:qt,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){const r=(Ht(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}},jt=[function(e,t,n,r){if("code"===t.type&&Tt(t,r)&&("list"===e.type||e.type===t.type&&Tt(e,r)))return!1;if("spread"in n&&"boolean"==typeof n.spread){if("paragraph"===e.type&&(e.type===t.type||"definition"===t.type||"heading"===t.type&&Rt(t,r)))return;return n.spread?1:0}}];const zt=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],Vt=[{character:"\t",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",before:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\n",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:zt},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:zt},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:"(?:[ \t\r\n*])"},{character:"*",inConstruct:"phrasing",notInConstruct:zt},{atBreak:!0,character:"+",after:"(?:[ \t\r\n])"},{atBreak:!0,character:"-",after:"(?:[ \t\r\n-])"},{atBreak:!0,before:"\\d+",character:".",after:"(?:[ \t\r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:zt},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:zt},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:zt},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:zt},{atBreak:!0,character:"~"}];function Kt(e){return e.label||!e.identifier?e.label||"":We(e.identifier)}function $t(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function Qt(e,t,n,r){let s=r.join.length;for(;s--;){const i=r.join[s](e,t,n,r);if(!0===i||1===i)break;if("number"==typeof i)return"\n".repeat(1+i);if(!1===i)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}const Wt=/\r?\n|\r/g;function Xt(e,t){const n=[];let r,s=0,i=0;for(;r=Wt.exec(e);)o(e.slice(s,r.index)),n.push(r[0]),s=r.index+r[0].length,i++;return o(e.slice(s)),n.join("");function o(e){n.push(t(e,i,!e))}}function Jt(e,t){return e-t}function Zt(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],s=[],i=e+t;let o,a=-1,c=0;for(;o=n.exec(i);)r.push(o.index);for(;++a0&&("\r"===a||"\n"===a)&&"html"===l.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),a=" ",c=t.createTracker(n),c.move(i.join(""))),i.push(c.move(t.handle(l,e,t,{...c.current(),before:a,after:u}))),a=i[i.length-1].slice(-1)}return r.pop(),i.join("")}(e,this,t)}function an(e,t){return function(e,t,n){const r=t.indexStack,s=e.children||[],i=t.createTracker(n),o=[];let a=-1;for(r.push(-1);++a=l||e+1t.length;let o;r&&t.push(s);try{o=e.apply(this,t)}catch(e){if(r&&n)throw e;return s(e)}r||(o instanceof Promise?o.then(i,s):o instanceof Error?s(o):i(o))}function s(e,...r){n||(n=!0,t(e,...r))}function i(e){s(null,e)}}(a,s)(...o):r(null,...o)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}class bn extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",s={},i=!1;if(t&&(s="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!s.cause&&e&&(i=!0,r=e.message,s.cause=e),!s.ruleId&&!s.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?s.ruleId=n:(s.source=n.slice(0,e),s.ruleId=n.slice(e+1))}if(!s.place&&s.ancestors&&s.ancestors){const e=s.ancestors[s.ancestors.length-1];e&&(s.place=e.position)}const o=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=o?o.line:void 0,this.name=Je(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=i&&s.cause&&"string"==typeof s.cause.stack?s.cause.stack:"",this.actual,this.expected,this.note,this.url}}bn.prototype.file="",bn.prototype.name="",bn.prototype.reason="",bn.prototype.message="",bn.prototype.stack="",bn.prototype.column=void 0,bn.prototype.line=void 0,bn.prototype.ancestors=void 0,bn.prototype.cause=void 0,bn.prototype.fatal=void 0,bn.prototype.place=void 0,bn.prototype.ruleId=void 0,bn.prototype.source=void 0;const kn={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');Nn(e);let n,r=0,s=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else s<0&&(n=!0,s=i+1);return s<0?"":e.slice(r,s)}if(t===e)return"";let o=-1,a=t.length-1;for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(s=i):(a=-1,s=o));r===s?s=o:s<0&&(s=e.length);return e.slice(r,s)},dirname:function(e){if(Nn(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){Nn(e);let t,n=e.length,r=-1,s=0,i=-1,o=0;for(;n--;){const a=e.codePointAt(n);if(47!==a)r<0&&(t=!0,r=n+1),46===a?i<0?i=n:1!==o&&(o=1):i>-1&&(o=-1);else if(t){s=n+1;break}}if(i<0||r<0||0===o||1===o&&i===r-1&&i===s+1)return"";return e.slice(i,r)},join:function(...e){let t,n=-1;for(;++n2){if(r=s.lastIndexOf("/"),r!==s.length-1){r<0?(s="",i=0):(s=s.slice(0,r),i=s.length-1-s.lastIndexOf("/")),o=c,a=0;continue}}else if(s.length>0){s="",i=0,o=c,a=0;continue}t&&(s=s.length>0?s+"/..":"..",i=2)}else s.length>0?s+="/"+e.slice(o+1,c):s=e.slice(o+1,c),i=c-o-1;o=c,a=0}else 46===n&&a>-1?a++:a=-1}return s}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/");return t?"/"+n:n}(t)},sep:"/"};function Nn(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Sn={cwd:function(){return"/"}};function Cn(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function In(e){if("string"==typeof e)e=new URL(e);else if(!Cn(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n0){let[r,...i]=t;const o=n[s][1];_n(o)&&_n(r)&&(r=An(!0,o,r)),n[s]=[e,r,...i]}}}}function xn(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function Bn(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function Fn(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Un(e){if(!_n(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function Hn(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Gn(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new Dn(e)}const qn=(new Pn).freeze()().use((function(e){const t=this;t.parser=function(n){return rt(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}})).use((function(e){const t=this;t.compiler=function(n){return tn(n,{...t.data("settings"),...e,extensions:t.data("toMarkdownExtensions")||[]})}})).freeze(),Yn="object"==typeof self?self:globalThis,jn=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=s=>{if(e.has(s))return e.get(s);const[i,o]=t[s];switch(i){case 0:case-1:return n(o,s);case 1:{const e=n([],s);for(const t of o)e.push(r(t));return e}case 2:{const e=n({},s);for(const[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),s);case 4:{const{source:e,flags:t}=o;return n(new RegExp(e,t),s)}case 5:{const e=n(new Map,s);for(const[t,n]of o)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,s);for(const t of o)e.add(r(t));return e}case 7:{const{name:e,message:t}=o;return n(new Yn[e](t),s)}case 8:return n(BigInt(o),s);case"BigInt":return n(Object(BigInt(o)),s)}return n(new Yn[i](o),s)};return r})(new Map,e)(0),zn="",{toString:Vn}={},{keys:Kn}=Object,$n=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=Vn.call(e).slice(8,-1);switch(n){case"Array":return[1,zn];case"Object":return[2,zn];case"Date":return[3,zn];case"RegExp":return[4,zn];case"Map":return[5,zn];case"Set":return[6,zn]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},Qn=([e,t])=>0===e&&("function"===t||"symbol"===t),Wn=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const s=(e,t)=>{const s=r.push(e)-1;return n.set(t,s),s},i=r=>{if(n.has(r))return n.get(r);let[o,a]=$n(r);switch(o){case 0:{let t=r;switch(a){case"bigint":o=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+a);t=null;break;case"undefined":return s([-1],r)}return s([o,t],r)}case 1:{if(a)return s([a,[...r]],r);const e=[],t=s([o,e],r);for(const t of r)e.push(i(t));return t}case 2:{if(a)switch(a){case"BigInt":return s([a,r.toString()],r);case"Boolean":case"Number":case"String":return s([a,r.valueOf()],r)}if(t&&"toJSON"in r)return i(r.toJSON());const n=[],c=s([o,n],r);for(const t of Kn(r))!e&&Qn($n(r[t]))||n.push([i(t),i(r[t])]);return c}case 3:return s([o,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return s([o,{source:e,flags:t}],r)}case 5:{const t=[],n=s([o,t],r);for(const[n,s]of r)(e||!Qn($n(n))&&!Qn($n(s)))&&t.push([i(n),i(s)]);return n}case 6:{const t=[],n=s([o,t],r);for(const n of r)!e&&Qn($n(n))||t.push(i(n));return n}}const{message:c}=r;return s([o,{name:a,message:c}],r)};return i})(!(t||n),!!t,new Map,r)(e),r};var Xn="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?jn(Wn(e,t)):structuredClone(e):(e,t)=>jn(Wn(e,t));const Jn=er("end"),Zn=er("start");function er(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function tr(e){const t=Zn(e),n=Jn(e);if(t&&n)return{start:t,end:n}}const nr=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],rr={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...nr,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...nr],h2:[["className","sr-only"]],img:[...nr,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...nr,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...nr],table:[...nr],ul:[...nr,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]},sr={}.hasOwnProperty;function ir(e,t){if(t&&"object"==typeof t){const n=t;switch("string"==typeof n.type?n.type:""){case"comment":return function(e,t){if(e.schema.allowComments){const e="string"==typeof t.value?t.value:"",n=e.indexOf("--\x3e"),r={type:"comment",value:n<0?e:e.slice(0,n)};return lr(r,t),r}}(e,n);case"doctype":return function(e,t){if(e.schema.allowDoctypes){const e={type:"doctype"};return lr(e,t),e}}(e,n);case"element":return function(e,t){const n="string"==typeof t.tagName?t.tagName:"";e.stack.push(n);const r=or(e,t.children),s=function(e,t){const n=e.stack[e.stack.length-1],r=e.schema.attributes,s=e.schema.required,i=r&&sr.call(r,n)?r[n]:void 0,o=r&&sr.call(r,"*")?r["*"]:void 0,a=t&&"object"==typeof t?t:{},c={};let l;for(l in a)if(sr.call(a,l)){const t=a[l];let n=ar(e,ur(i,l),l,t);null==n&&(n=ar(e,ur(o,l),l,t)),null!=n&&(c[l]=n)}if(s&&sr.call(s,n)){const e=s[n];for(l in e)sr.call(e,l)&&!sr.call(c,l)&&(c[l]=e[l])}return c}(e,t.properties);e.stack.pop();let i=!1;if(n&&"*"!==n&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(i=!0,e.schema.ancestors&&sr.call(e.schema.ancestors,n))){const t=e.schema.ancestors[n];let r=-1;for(i=!1;++r-1&&i>c||o>-1&&i>o||a>-1&&i>a)return!0;let l=-1;for(;++l1){let e=!1,n=0;for(;++n4&&"data"===t.slice(0,4).toLowerCase())return n}function hr(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];const s=e.all(t),i=s[0];i&&"text"===i.type?i.value="["+i.value:s.unshift({type:"text",value:"["});const o=s[s.length-1];return o&&"text"===o.type?o.value+=r:s.push({type:"text",value:r}),s}function pr(e){const t=e.spread;return null==t?e.children.length>1:t}const fr=9,dr=32;function mr(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),s=0;const i=[];for(;r;)i.push(Er(t.slice(s,r.index),s>0,!0),r[0]),s=r.index+r[0].length,r=n.exec(t);return i.push(Er(t.slice(s),s>0,!1)),i.join("")}function Er(e,t,n){let r=0,s=e.length;if(t){let t=e.codePointAt(r);for(;t===fr||t===dr;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(s-1);for(;t===fr||t===dr;)s--,t=e.codePointAt(s-1)}return s>r?e.slice(r,s):""}const gr={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let s={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(s.data={meta:t.meta}),e.patch(t,s),s=e.applyData(t,s),s={type:"element",tagName:"pre",properties:{},children:[s]},e.patch(t,s),s},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),s=B(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let o,a=e.footnoteCounts.get(r);void 0===a?(a=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=i+1,a+=1,e.footnoteCounts.set(r,a);const c={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+s,id:n+"fnref-"+s+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,c);const l={type:"element",tagName:"sup",properties:{},children:[c]};return e.patch(t,l),e.applyData(t,l)},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return hr(e,t);const s={src:B(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(s.title=r.title);const i={type:"element",tagName:"img",properties:s,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const n={src:B(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return hr(e,t);const s={href:B(r.url||"")};null!==r.title&&void 0!==r.title&&(s.title=r.title);const i={type:"element",tagName:"a",properties:s,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const n={href:B(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),s=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let a=-1;for(;++a0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=Zn(t.children[1]),o=Jn(t.children[t.children.length-1]);i&&o&&(r.position={start:i,end:o}),s.push(r)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(s,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,s=0===(r?r.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,o=i?i.length:t.children.length;let a=-1;const c=[];for(;++a1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function _r(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const yr={}.hasOwnProperty,br={};function kr(e,t){e.position&&(t.position=tr(e))}function Nr(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,s=e.data.hProperties;if("string"==typeof t)if("element"===n.type)n.tagName=t;else{n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}}"element"===n.type&&s&&Object.assign(n.properties,Xn(s)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function Sr(e,t){const n=t.data||{},r=!("value"in t)||yr.call(n,"hProperties")||yr.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}function Cr(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:"\n"});++r0&&n.push({type:"text",value:"\n"}),n}function Ir(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function Or(e,t){const n=function(e,t){const n=t||br,r=new Map,s=new Map,i=new Map,o={...gr,...n.handlers},a={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r0&&h.push({type:"text",value:" "});let e="string"==typeof n?n:n(c,u);"string"==typeof e&&(e={type:"text",value:e}),h.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+l+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(c,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const f=i[i.length-1];if(f&&"element"===f.type&&"p"===f.tagName){const e=f.children[f.children.length-1];e&&"text"===e.type?e.value+=" ":f.children.push({type:"text",value:" "}),f.children.push(...h)}else i.push(...h);const d={type:"element",tagName:"li",properties:{id:t+"fn-"+l},children:e.wrap(i,!0)};e.patch(s,d),a.push(d)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Xn(o),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:"\n"}]}}(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return s&&i.children.push({type:"text",value:"\n"},s),i}const Dr=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class Lr{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function Rr(e,t){const n={},r={};let s=-1;for(;++s"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Wr=$r({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Xr(e,t){return t in e?e[t]:t}function Jr(e,t){return Xr(e,t.toLowerCase())}const Zr=$r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Jr,properties:{xmlns:null,xmlnsXLink:null}}),es=$r({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:xr,ariaAutoComplete:null,ariaBusy:xr,ariaChecked:xr,ariaColCount:Fr,ariaColIndex:Fr,ariaColSpan:Fr,ariaControls:Ur,ariaCurrent:null,ariaDescribedBy:Ur,ariaDetails:null,ariaDisabled:xr,ariaDropEffect:Ur,ariaErrorMessage:null,ariaExpanded:xr,ariaFlowTo:Ur,ariaGrabbed:xr,ariaHasPopup:null,ariaHidden:xr,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ur,ariaLevel:Fr,ariaLive:null,ariaModal:xr,ariaMultiLine:xr,ariaMultiSelectable:xr,ariaOrientation:null,ariaOwns:Ur,ariaPlaceholder:null,ariaPosInSet:Fr,ariaPressed:xr,ariaReadOnly:xr,ariaRelevant:null,ariaRequired:xr,ariaRoleDescription:Ur,ariaRowCount:Fr,ariaRowIndex:Fr,ariaRowSpan:Fr,ariaSelected:xr,ariaSetSize:Fr,ariaSort:null,ariaValueMax:Fr,ariaValueMin:Fr,ariaValueNow:Fr,ariaValueText:null,role:null}}),ts=$r({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Jr,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Hr,acceptCharset:Ur,accessKey:Ur,action:null,allow:null,allowFullScreen:Pr,allowPaymentRequest:Pr,allowUserMedia:Pr,alt:null,as:null,async:Pr,autoCapitalize:null,autoComplete:Ur,autoFocus:Pr,autoPlay:Pr,blocking:Ur,capture:Pr,charSet:null,checked:Pr,cite:null,className:Ur,cols:Fr,colSpan:null,content:null,contentEditable:xr,controls:Pr,controlsList:Ur,coords:Fr|Hr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Pr,defer:Pr,dir:null,dirName:null,disabled:Pr,download:Br,draggable:xr,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Pr,formTarget:null,headers:Ur,height:Fr,hidden:Pr,high:Fr,href:null,hrefLang:null,htmlFor:Ur,httpEquiv:Ur,id:null,imageSizes:null,imageSrcSet:null,inert:Pr,inputMode:null,integrity:null,is:null,isMap:Pr,itemId:null,itemProp:Ur,itemRef:Ur,itemScope:Pr,itemType:Ur,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Pr,low:Fr,manifest:null,max:null,maxLength:Fr,media:null,method:null,min:null,minLength:Fr,multiple:Pr,muted:Pr,name:null,nonce:null,noModule:Pr,noValidate:Pr,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:Pr,optimum:Fr,pattern:null,ping:Ur,placeholder:null,playsInline:Pr,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Pr,referrerPolicy:null,rel:Ur,required:Pr,reversed:Pr,rows:Fr,rowSpan:Fr,sandbox:Ur,scope:null,scoped:Pr,seamless:Pr,selected:Pr,shadowRootDelegatesFocus:Pr,shadowRootMode:null,shape:null,size:Fr,sizes:null,slot:null,span:Fr,spellCheck:xr,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Fr,step:null,style:null,tabIndex:Fr,target:null,title:null,translate:null,type:null,typeMustMatch:Pr,useMap:null,value:xr,width:Fr,wrap:null,align:null,aLink:null,archive:Ur,axis:null,background:null,bgColor:null,border:Fr,borderColor:null,bottomMargin:Fr,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Pr,declare:Pr,event:null,face:null,frame:null,frameBorder:null,hSpace:Fr,leftMargin:Fr,link:null,longDesc:null,lowSrc:null,marginHeight:Fr,marginWidth:Fr,noResize:Pr,noHref:Pr,noShade:Pr,noWrap:Pr,object:null,profile:null,prompt:null,rev:null,rightMargin:Fr,rules:null,scheme:null,scrolling:xr,standby:null,summary:null,text:null,topMargin:Fr,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Fr,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Pr,disableRemotePlayback:Pr,prefix:null,property:null,results:Fr,security:null,unselectable:null}}),ns=$r({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:Xr,properties:{about:Gr,accentHeight:Fr,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Fr,amplitude:Fr,arabicForm:null,ascent:Fr,attributeName:null,attributeType:null,azimuth:Fr,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Fr,by:null,calcMode:null,capHeight:Fr,className:Ur,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:Fr,diffuseConstant:Fr,direction:null,display:null,dur:null,divisor:Fr,dominantBaseline:null,download:Pr,dx:null,dy:null,edgeMode:null,editable:null,elevation:Fr,enableBackground:null,end:null,event:null,exponent:Fr,externalResourcesRequired:null,fill:null,fillOpacity:Fr,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:Hr,g2:Hr,glyphName:Hr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Fr,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Fr,horizOriginX:Fr,horizOriginY:Fr,id:null,ideographic:Fr,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Fr,k:Fr,k1:Fr,k2:Fr,k3:Fr,k4:Fr,kernelMatrix:Gr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Fr,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:Fr,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:Fr,overlineThickness:Fr,paintOrder:null,panose1:null,path:null,pathLength:Fr,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ur,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Fr,pointsAtY:Fr,pointsAtZ:Fr,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Gr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Gr,rev:Gr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Gr,requiredFeatures:Gr,requiredFonts:Gr,requiredFormats:Gr,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:Fr,specularExponent:Fr,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Fr,strikethroughThickness:Fr,string:null,stroke:null,strokeDashArray:Gr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Fr,strokeOpacity:Fr,strokeWidth:null,style:null,surfaceScale:Fr,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Gr,tabIndex:Fr,tableValues:null,target:null,targetX:Fr,targetY:Fr,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Gr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Fr,underlineThickness:Fr,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Fr,values:null,vAlphabetic:Fr,vMathematical:Fr,vectorEffect:null,vHanging:Fr,vIdeographic:Fr,version:null,vertAdvY:Fr,vertOriginX:Fr,vertOriginY:Fr,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Fr,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),rs=/^data[-\w.:]+$/i,ss=/-[a-z]/g,is=/[A-Z]/g;function os(e,t){const n=vr(t);let r=t,s=wr;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&rs.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(ss,cs);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!ss.test(e)){let n=e.replace(is,as);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}s=zr}return new s(r,t)}function as(e){return"-"+e.toLowerCase()}function cs(e){return e.charAt(1).toUpperCase()}const ls=Rr([Wr,Qr,Zr,es,ts],"html"),us=Rr([Wr,Qr,Zr,es,ns],"svg");function hs(e,t){return e=e.replace(t.subset?function(e){const t=[];let n=-1;for(;++n`]/g,n),t.subset||t.escapeOnly?e:e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,(function(e,n,r){return t.format(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)})).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,n);function n(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}const ps=["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"],fs={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},ds=["cent","copy","divide","gt","lt","not","para","times"],ms={}.hasOwnProperty,Es={};let gs;for(gs in fs)ms.call(fs,gs)&&(Es[fs[gs]]=gs);function Ts(e,t,n){let r,s=function(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);if((n.useNamedReferences||n.useShortestReferences)&&(r=function(e,t,n,r){const s=String.fromCharCode(e);if(ms.call(Es,s)){const e=Es[s],i="&"+e;return n&&ps.includes(e)&&!ds.includes(e)&&(!r||t&&61!==t&&/[^\da-z]/i.test(String.fromCharCode(t)))?i:i+";"}return""}(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!r)&&n.useShortestReferences){const r=function(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);r.length0},html:function(e){const t=Os(e,-1);return!t||"comment"!==t.type},tbody:function(e,t,n){const r=Ds(n,t),s=Os(e,-1);if(n&&r&&"element"===r.type&&("thead"===r.tagName||"tbody"===r.tagName)&&Ms(r,n.children.indexOf(r),n))return!1;return Boolean(s&&"element"===s.type&&"tr"===s.tagName)}});const Us={name:[["\t\n\f\r &/=>".split(""),"\t\n\f\r \"&'/=>`".split("")],["\0\t\n\f\r \"&'/<=>".split(""),"\0\t\n\f\r \"&'/<=>`".split("")]],unquoted:[["\t\n\f\r &>".split(""),"\0\t\n\f\r \"&'<=>`".split("")],["\0\t\n\f\r \"&'<=>`".split(""),"\0\t\n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function Hs(e,t,n){const r=os(e.schema,t),s=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,i=e.settings.allowDangerousCharacters?0:1;let o,a=e.quote;if(!r.overloadedBoolean||n!==r.attribute&&""!==n?(r.boolean||r.overloadedBoolean&&"string"!=typeof n)&&(n=Boolean(n)):n=!0,null==n||!1===n||"number"==typeof n&&Number.isNaN(n))return"";const c=As(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Us.name[s][i]}));return!0===n?c:(n=Array.isArray(n)?(r.commaSeparated?bs:Ns)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n?c:(e.settings.preferUnquoted&&(o=As(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Us.unquoted[s][i]}))),o!==n&&(e.settings.quoteSmart&&_s(n,a)>_s(n,e.alternative)&&(a=e.alternative),o=a+As(n,Object.assign({},e.settings.characterReferences,{subset:("'"===a?Us.single:Us.double)[s][i],attribute:!0}))+a),c+(o?"="+o:o)))}function Gs(e,t,n,r){return!n||"element"!==n.type||"script"!==n.tagName&&"style"!==n.tagName?As(e.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]})):e.value}const qs=lt("type",{invalid:function(e){throw new Error("Expected node, not `"+e+"`")},unknown:function(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")},handlers:{comment:function(e,t,n,r){return r.settings.bogusComments?""]}))+">":"\x3c!--"+e.value.replace(/^>|^->||--!>|"]}))}))+"--\x3e"},doctype:function(e,t,n,r){return""},element:function(e,t,n,r){const s=r.schema,i="svg"!==s.space&&r.settings.omitOptionalTags;let o="svg"===s.space?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const a=[];let c;"html"===s.space&&"svg"===e.tagName&&(r.schema=us);const l=function(e,t){const n=[];let r,s=-1;if(t)for(r in t)if(null!==t[r]&&void 0!==t[r]){const s=Hs(e,r,t[r]);s&&n.push(s)}for(;++s")),a.push(u),o||i&&Ms(e,t,n)||a.push(""),a.join("")},raw:function(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Gs(e,0,n,r)},root:function(e,t,n,r){return r.all(e)},text:Gs}});const Ys={},js={},zs=[];function Vs(e,t){const n=t||Ys,r=n.quote||'"',s='"'===r?"'":'"';if('"'!==r&&"'"!==r)throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:Ks,all:$s,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||Dr,characterReferences:n.characterReferences||js,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:"svg"===n.space?us:ls,quote:r,alternative:s}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function Ks(e,t,n){return qs(e,t,n,this)}function $s(e){const t=[],n=e&&e.children||zs;let r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(a!==n&&h.push({type:"text",value:e.value.slice(a,n)}),Array.isArray(i)?h.push(...i):i&&h.push(i),a=n+p[0].length,u=!0),!r.global)break;p=r.exec(e.value)}u?(a?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const s=_s(e,"(");let i=_s(e,")");for(;-1!==r&&s>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}(n+r);if(!o[0])return!1;const a={type:"link",title:null,url:i+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[a,{type:"text",value:o[1]}]:a}function ui(e,t,n,r){return!(!hi(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function hi(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||P(n)||M(n))&&(!t||47!==n)}function pi(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function fi(){this.buffer()}function di(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=b(this.sliceSerialize(e)).toLowerCase()}function mi(e){this.exit(e)}function Ei(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function gi(){this.buffer()}function Ti(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=b(this.sliceSerialize(e)).toLowerCase()}function Ai(e){this.exit(e)}function _i(e,t,n,r){const s=n.createTracker(r);let i=s.move("[^");const o=n.enter("footnoteReference"),a=n.enter("reference");return i+=s.move(n.safe(n.associationId(e),{...s.current(),before:i,after:"]"})),a(),o(),i+=s.move("]"),i}function yi(e,t,n,r){const s=n.createTracker(r);let i=s.move("[^");const o=n.enter("footnoteDefinition"),a=n.enter("label");return i+=s.move(n.safe(n.associationId(e),{...s.current(),before:i,after:"]"})),a(),i+=s.move("]:"+(e.children&&e.children.length>0?" ":"")),s.shift(4),i+=s.move(n.indentLines(n.containerFlow(e,s.current()),bi)),o(),i}function bi(e,t,n){return 0===t?e:(n?"":" ")+e}_i.peek=function(){return"["};const ki=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function Ni(e){this.enter({type:"delete",children:[]},e)}function Si(e){this.exit(e)}function Ci(e,t,n,r){const s=n.createTracker(r),i=n.enter("strikethrough");let o=s.move("~~");return o+=n.containerPhrasing(e,{...s.current(),before:o,after:"~"}),o+=s.move("~~"),i(),o}function Ii(e){return null==e?"":String(e)}function Oi(e){return e.length}function Di(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function Li(e){const t=e._align;this.enter({type:"table",align:t.map((function(e){return"none"===e?null:e})),children:[]},e),this.data.inTable=!0}function Ri(e){this.exit(e),this.data.inTable=void 0}function vi(e){this.enter({type:"tableRow",children:[]},e)}function wi(e){this.exit(e)}function Mi(e){this.enter({type:"tableCell",children:[]},e)}function Pi(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,xi));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function xi(e,t){return"|"===t?t:e}function Bi(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,s=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=Yt.inlineCode(e,t,n);n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&"));return r},table:function(e,t,n,r){return a(function(e,t,n){const r=e.children;let s=-1;const i=[],o=t.enter("table");for(;++sc&&(c=e[l].length);++ua[u])&&(a[u]=e)}n.push(i)}i[l]=n,o[l]=s}let u=-1;if("object"==typeof n&&"length"in n)for(;++ua[u]&&(a[u]=i),p[u]=i),h[u]=o}i.splice(1,0,h),o.splice(1,0,p),l=-1;const f=[];for(;++l0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}Qi[43]=$i,Qi[45]=$i,Qi[46]=$i,Qi[95]=$i,Qi[72]=[$i,Ki],Qi[104]=[$i,Ki],Qi[87]=[$i,Vi],Qi[119]=[$i,Vi];const no={tokenize:function(e,t,n){const r=this;return F(e,(function(e){const s=r.events[r.events.length-1];return s&&"gfmFootnoteDefinitionIndent"===s[1].type&&4===s[2].sliceSerialize(s[1],!0).length?t(e):n(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function ro(e,t,n){const r=this;let s=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;s--;){const e=r.events[s][1];if("labelImage"===e.type){o=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(s){if(!o||!o._balanced)return n(s);const a=b(r.sliceSerialize({start:o.end,end:r.now()}));if(94!==a.codePointAt(0)||!i.includes(a.slice(1)))return n(s);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),t(s)}}function so(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},a=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",s,t],["exit",s,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...a),e}function io(e,t,n){const r=this,s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,o=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),a};function a(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(a){if(o>999||93===a&&!i||null===a||91===a||v(a))return n(a);if(93===a){e.exit("chunkString");const i=e.exit("gfmFootnoteCallString");return s.includes(b(r.sliceSerialize(i)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(a)}return v(a)||(i=!0),o++,e.consume(a),92===a?l:c}function l(t){return 91===t||92===t||93===t?(e.consume(t),o++,c):c(t)}}function oo(e,t,n){const r=this,s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,o,a=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",l):n(t)}function l(t){if(a>999||93===t&&!o||null===t||91===t||v(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return i=b(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return v(t)||(o=!0),a++,e.consume(t),92===t?u:l}function u(t){return 91===t||92===t||93===t?(e.consume(t),a++,l):l(t)}function h(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(i)||s.push(i),F(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}function p(e){return t(e)}}function ao(e,t,n){return e.check(K,t,e.attempt(no,t,n))}function co(e){e.exit("gfmFootnoteDefinition")}function lo(e){let t=(e||{}).singleTilde;const n={tokenize:function(e,n,r){const s=this.previous,i=this.events;let o=0;return function(t){if(126===s&&"characterEscape"!==i[i.length-1][1].type)return r(t);return e.enter("strikethroughSequenceTemporary"),a(t)};function a(i){const c=q(s);if(126===i)return o>1?r(i):(e.consume(i),o++,a);if(o<2&&!t)return r(i);const l=e.exit("strikethroughSequenceTemporary"),u=q(i);return l._open=!u||2===u&&Boolean(c),l._close=!c||2===c&&Boolean(u),n(i)}},resolveAll:function(e,t){let n=-1;for(;++n0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function ho(e,t){let n=!1;const r=[];for(;t-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const s=t>-1?r.events[t][1].type:null,i="tableHead"===s||"tableRow"===s?_:a;if(i===_&&r.parser.lazy[r.now().line])return n(e);return i(e)};function a(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){if(124===e)return c(e);return s=!0,o+=1,c(e)}(t)}function c(t){return null===t?n(t):R(t)?o>1?(o=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),h):n(t):w(t)?F(e,c,"whitespace")(t):(o+=1,s&&(s=!1,i+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),s=!0,c):(e.enter("data"),l(t)))}function l(t){return null===t||124===t||v(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?u:l)}function u(t){return 92===t||124===t?(e.consume(t),l):l(t)}function h(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),s=!1,w(t)?F(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))}function p(t){return 45===t||58===t?d(t):124===t?(s=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):A(t)}function f(t){return w(t)?F(e,d,"whitespace")(t):d(t)}function d(t){return 58===t?(o+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(o+=1,m(t)):null===t||R(t)?T(t):A(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),E(t)):A(t)}function E(t){return 45===t?(e.consume(t),E):58===t?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):(e.exit("tableDelimiterFiller"),g(t))}function g(t){return w(t)?F(e,T,"whitespace")(t):T(t)}function T(n){return 124===n?p(n):(null===n||R(n))&&s&&i===o?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):A(n)}function A(e){return n(e)}function _(t){return e.enter("tableRow"),y(t)}function y(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),y):null===n||R(n)?(e.exit("tableRow"),t(n)):w(n)?F(e,y,"whitespace")(n):(e.enter("data"),b(n))}function b(t){return null===t||124===t||v(t)?(e.exit("data"),y(t)):(e.consume(t),92===t?k:b)}function k(t){return 92===t||124===t?(e.consume(t),b):b(t)}}function fo(e,t){let n,r,s,i=-1,o=!0,a=0,c=[0,0,0,0],l=[0,0,0,0],u=!1,h=0;const p=new uo;for(;++in[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==s&&(i.end=Object.assign({},go(t.events,s)),e.add(s,0,[["exit",i,t]]),i=void 0),i}function Eo(e,t,n,r,s){const i=[],o=go(t.events,n);s&&(s.end=Object.assign({},o),i.push(["exit",s,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function go(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const To={tokenize:function(e,t,n){const r=this;return function(t){if(null!==r.previous||!r._gfmTasklistFirstContentOfListItem)return n(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),s};function s(t){return v(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),i):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),i):n(t)}function i(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(t)}function o(r){return R(r)?t(r):w(r)?e.check({tokenize:Ao},t,n)(r):n(r)}}};function Ao(e,t,n){return F(e,(function(e){return null===e?n(e):t(e)}),"whitespace")}const _o={};function yo(e){const t=e||_o,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),s=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(e){return T([{text:Qi},{document:{91:{tokenize:oo,continuation:{tokenize:ao},exit:co}},text:{91:{tokenize:io},93:{add:"after",tokenize:ro,resolveTo:so}}},lo(e),{flow:{null:{tokenize:po,resolveAll:fo}}},{text:{91:To}}])}(t)),s.push([{transforms:[ci],enter:{literalAutolink:ni,literalAutolinkEmail:ri,literalAutolinkHttp:ri,literalAutolinkWww:ri},exit:{literalAutolink:ai,literalAutolinkEmail:oi,literalAutolinkHttp:si,literalAutolinkWww:ii}},{enter:{gfmFootnoteDefinition:pi,gfmFootnoteDefinitionLabelString:fi,gfmFootnoteCall:Ei,gfmFootnoteCallString:gi},exit:{gfmFootnoteDefinition:mi,gfmFootnoteDefinitionLabelString:di,gfmFootnoteCall:Ai,gfmFootnoteCallString:Ti}},{canContainEols:["delete"],enter:{strikethrough:Ni},exit:{strikethrough:Si}},{enter:{table:Li,tableData:Mi,tableHeader:Mi,tableRow:vi},exit:{codeText:Pi,table:Ri,tableData:wi,tableHeader:wi,tableRow:wi}},{exit:{taskListCheckValueChecked:Fi,taskListCheckValueUnchecked:Fi,paragraph:Ui}}]),i.push(function(e){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:ei,notInConstruct:ti},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:ei,notInConstruct:ti},{character:":",before:"[ps]",after:"\\/",inConstruct:ei,notInConstruct:ti}]},{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:yi,footnoteReference:_i}},{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:ki}],handlers:{delete:Ci}},Bi(e),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Hi}}]}}(t))}var bo,ko={exports:{}};bo=ko,function(){var e;function t(e){for(var t,n,r,s,i=1,o=[].slice.call(arguments),a=0,c=e.length,l="",u=!1,h=!1,p=function(){return o[i++]},f=function(){for(var n="";/\d/.test(e[a]);)n+=e[a++],t=e[a];return n.length>0?parseInt(n):null};a!!e&&"object"==typeof e&&e[Qo]===Yo,Xo=e=>!!e&&"object"==typeof e&&e[Qo]===jo,Jo=e=>!!e&&"object"==typeof e&&e[Qo]===zo,Zo=e=>!!e&&"object"==typeof e&&e[Qo]===Vo,ea=e=>!!e&&"object"==typeof e&&e[Qo]===Ko,ta=e=>!!e&&"object"==typeof e&&e[Qo]===$o;function na(e){if(e&&"object"==typeof e)switch(e[Qo]){case zo:case $o:return!0}return!1}function ra(e){if(e&&"object"==typeof e)switch(e[Qo]){case Yo:case zo:case Ko:case $o:return!0}return!1}const sa=e=>(ea(e)||na(e))&&!!e.anchor,ia=Symbol("break visit"),oa=Symbol("skip children"),aa=Symbol("remove node");function ca(e,t){const n=pa(t);if(Xo(e)){la(null,e.contents,n,Object.freeze([e]))===aa&&(e.contents=null)}else la(null,e,n,Object.freeze([]))}function la(e,t,n,r){const s=fa(e,t,n,r);if(ra(s)||Zo(s))return da(e,r,s),la(e,s,n,r);if("symbol"!=typeof s)if(na(t)){r=Object.freeze(r.concat(t));for(let e=0;e"!==e[e.length-1]&&t("Verbatim tags must end with a >"),n)}const[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);const s=this.tags[n];if(s)try{return s+decodeURIComponent(r)}catch(e){return t(String(e)),null}return"!"===n?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(const[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+e.substring(n.length).replace(/[!,[\]{}]/g,(e=>ma[e]));return"!"===e[0]?e:`!<${e}>`}toString(e){const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags);let r;if(e&&n.length>0&&ra(e.contents)){const t={};ca(e.contents,((e,n)=>{ra(n)&&n.tag&&(t[n.tag]=!0)})),r=Object.keys(t)}else r=[];for(const[s,i]of n)"!!"===s&&"tag:yaml.org,2002:"===i||e&&!r.some((e=>e.startsWith(i)))||t.push(`%TAG ${s} ${i}`);return t.join("\n")}}function ga(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const t=JSON.stringify(e);throw new Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0}function Ta(e){const t=new Set;return ca(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function Aa(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}function _a(e,t,n,r){if(r&&"object"==typeof r)if(Array.isArray(r))for(let t=0,n=r.length;tya(e,String(t),n)));if(e&&"function"==typeof e.toJSON){if(!n||!sa(e))return e.toJSON(t,n);const r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=e=>{r.res=e,delete n.onCreate};const s=e.toJSON(t,n);return n.onCreate&&n.onCreate(s),s}return"bigint"!=typeof e||n?.keep?e:Number(e)}Ea.defaultYaml={explicit:!1,version:"1.2"},Ea.defaultTags={"!!":"tag:yaml.org,2002:"};class ba{constructor(e){Object.defineProperty(this,Qo,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:r,reviver:s}={}){if(!Xo(e))throw new TypeError("A document argument is required");const i={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},o=ya(this,"",i);if("function"==typeof r)for(const{count:e,res:t}of i.anchors.values())r(t,e);return"function"==typeof s?_a(s,{"":o},"",o):o}}class ka extends ba{constructor(e){super(Yo),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e){let t;return ca(e,{Node:(e,n)=>{if(n===this)return ca.BREAK;n.anchor===this.source&&(t=n)}}),t}toJSON(e,t){if(!t)return{source:this.source};const{anchors:n,doc:r,maxAliasCount:s}=t,i=this.resolve(r);if(!i){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(e)}let o=n.get(i);if(o||(ya(i,null,t),o=n.get(i)),!o||void 0===o.res){throw new ReferenceError("This should not happen: Alias anchor was not resolved?")}if(s>=0&&(o.count+=1,0===o.aliasCount&&(o.aliasCount=Na(r,i,n)),o.count*o.aliasCount>s)){throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack")}return o.res}toString(e,t,n){const r=`*${this.source}`;if(e){if(ga(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(e)}if(e.implicitKey)return`${r} `}return r}}function Na(e,t,n){if(Wo(t)){const r=t.resolve(e),s=n&&r&&n.get(r);return s?s.count*s.aliasCount:0}if(na(t)){let r=0;for(const s of t.items){const t=Na(e,s,n);t>r&&(r=t)}return r}if(Zo(t)){const r=Na(e,t.key,n),s=Na(e,t.value,n);return Math.max(r,s)}return 1}const Sa=e=>!e||"function"!=typeof e&&"object"!=typeof e;class Ca extends ba{constructor(e){super(Ko),this.value=e}toJSON(e,t){return t?.keep?this.value:ya(this.value,e,t)}toString(){return String(this.value)}}Ca.BLOCK_FOLDED="BLOCK_FOLDED",Ca.BLOCK_LITERAL="BLOCK_LITERAL",Ca.PLAIN="PLAIN",Ca.QUOTE_DOUBLE="QUOTE_DOUBLE",Ca.QUOTE_SINGLE="QUOTE_SINGLE";const Ia="tag:yaml.org,2002:";function Oa(e,t,n){if(Xo(e)&&(e=e.contents),ra(e))return e;if(Zo(e)){const t=n.schema[zo].createNode?.(n.schema,null,n);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:r,onAnchor:s,onTagObj:i,schema:o,sourceObjects:a}=n;let c;if(r&&e&&"object"==typeof e){if(c=a.get(e),c)return c.anchor||(c.anchor=s(e)),new ka(c.anchor);c={anchor:null,node:null},a.set(e,c)}t?.startsWith("!!")&&(t=Ia+t.slice(2));let l=function(e,t,n){if(t){const e=n.filter((e=>e.tag===t)),r=e.find((e=>!e.format))??e[0];if(!r)throw new Error(`Tag ${t} not found`);return r}return n.find((t=>t.identify?.(e)&&!t.format))}(e,t,o.tags);if(!l){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){const t=new Ca(e);return c&&(c.node=t),t}l=e instanceof Map?o[zo]:Symbol.iterator in Object(e)?o[$o]:o[zo]}i&&(i(l),delete n.onTagObj);const u=l?.createNode?l.createNode(n.schema,e,n):"function"==typeof l?.nodeClass?.from?l.nodeClass.from(n.schema,e,n):new Ca(e);return t?u.tag=t:l.default||(u.tag=l.tag),c&&(c.node=u),u}function Da(e,t,n){let r=n;for(let e=t.length-1;e>=0;--e){const n=t[e];if("number"==typeof n&&Number.isInteger(n)&&n>=0){const e=[];e[n]=r,r=e}else r=new Map([[n,r]])}return Oa(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const La=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class Ra extends ba{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map((t=>ra(t)||Zo(t)?t.clone(e):t)),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(La(e))this.add(t);else{const[n,...r]=e,s=this.get(n,!0);if(na(s))s.addIn(r,t);else{if(void 0!==s||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,Da(this.schema,r,t))}}}deleteIn(e){const[t,...n]=e;if(0===n.length)return this.delete(t);const r=this.get(t,!0);if(na(r))return r.deleteIn(n);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){const[n,...r]=e,s=this.get(n,!0);return 0===r.length?!t&&ea(s)?s.value:s:na(s)?s.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every((t=>{if(!Zo(t))return!1;const n=t.value;return null==n||e&&ea(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag}))}hasIn(e){const[t,...n]=e;if(0===n.length)return this.has(t);const r=this.get(t,!0);return!!na(r)&&r.hasIn(n)}setIn(e,t){const[n,...r]=e;if(0===r.length)this.set(n,t);else{const e=this.get(n,!0);if(na(e))e.setIn(r,t);else{if(void 0!==e||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,Da(this.schema,r,t))}}}}Ra.maxFlowStringSingleLineLength=60;const va=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function wa(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const Ma=(e,t,n)=>e.endsWith("\n")?wa(n,t):n.includes("\n")?"\n"+wa(n,t):(e.endsWith(" ")?"":" ")+n,Pa="flow",xa="block",Ba="quoted";function Fa(e,t,n="flow",{indentAtStart:r,lineWidth:s=80,minContentWidth:i=20,onFold:o,onOverflow:a}={}){if(!s||s<0)return e;const c=Math.max(1+i,1+s-t.length);if(e.length<=c)return e;const l=[],u={};let h,p,f=s-t.length;"number"==typeof r&&(r>s-Math.max(2,i)?l.push(0):f=s-r);let d=!1,m=-1,E=-1,g=-1;n===xa&&(m=Ua(e,m),-1!==m&&(f=m+c));for(let t;t=e[m+=1];){if(n===Ba&&"\\"===t){switch(E=m,e[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}g=m}if("\n"===t)n===xa&&(m=Ua(e,m)),f=m+c,h=void 0;else{if(" "===t&&p&&" "!==p&&"\n"!==p&&"\t"!==p){const t=e[m+1];t&&" "!==t&&"\n"!==t&&"\t"!==t&&(h=m)}if(m>=f)if(h)l.push(h),f=h+c,h=void 0;else if(n===Ba){for(;" "===p||"\t"===p;)p=t,t=e[m+=1],d=!0;const n=m>g+1?m-2:E-1;if(u[n])return e;l.push(n),u[n]=!0,f=n+c,h=void 0}else d=!0}p=t}if(d&&a&&a(),0===l.length)return e;o&&o();let T=e.slice(0,l[0]);for(let r=0;r({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),Ga=e=>/^(%|---|\.\.\.)/m.test(e);function qa(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,s=t.options.doubleQuotedMinMultiLineLength,i=t.indent||(Ga(e)?" ":"");let o="",a=0;for(let e=0,t=n[e];t;t=n[++e])if(" "===t&&"\\"===n[e+1]&&"n"===n[e+2]&&(o+=n.slice(a,e)+"\\ ",e+=1,a=e,t="\\"),"\\"===t)switch(n[e+1]){case"u":{o+=n.slice(a,e);const t=n.substr(e+2,4);switch(t){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:"00"===t.substr(0,2)?o+="\\x"+t.substr(2):o+=n.substr(e,6)}e+=5,a=e+1}break;case"n":if(r||'"'===n[e+2]||n.lengthr)return!0;if(n=t+1,s-n<=r)return!1}return!0}(n,c,l.length));if(!n)return u?"|\n":">\n";let h,p;for(p=n.length;p>0;--p){const e=n[p-1];if("\n"!==e&&"\t"!==e&&" "!==e)break}let f=n.substring(p);const d=f.indexOf("\n");-1===d?h="-":n===f||d!==f.length-1?(h="+",i&&i()):h="",f&&(n=n.slice(0,-f.length),"\n"===f[f.length-1]&&(f=f.slice(0,-1)),f=f.replace(za,`$&${l}`));let m,E=!1,g=-1;for(m=0;m")+(E?l?"2":"1":"")+h;if(e&&(A+=" "+a(e.replace(/ ?[\r\n]+/g," ")),s&&s()),u)return`${A}\n${l}${T}${n=n.replace(/\n+/g,`$&${l}`)}${f}`;return`${A}\n${l}${Fa(`${T}${n=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${l}`)}${f}`,l,xa,Ha(r,!0))}`}function Ka(e,t,n,r){const{implicitKey:s,inFlow:i}=t,o="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)});let{type:a}=e;a!==Ca.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(a=Ca.QUOTE_DOUBLE);const c=e=>{switch(e){case Ca.BLOCK_FOLDED:case Ca.BLOCK_LITERAL:return s||i?ja(o.value,t):Va(o,t,n,r);case Ca.QUOTE_DOUBLE:return qa(o.value,t);case Ca.QUOTE_SINGLE:return Ya(o.value,t);case Ca.PLAIN:return function(e,t,n,r){const{type:s,value:i}=e,{actualString:o,implicitKey:a,indent:c,indentStep:l,inFlow:u}=t;if(a&&i.includes("\n")||u&&/[[\]{},]/.test(i))return ja(i,t);if(!i||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(i))return a||u||!i.includes("\n")?ja(i,t):Va(e,t,n,r);if(!a&&!u&&s!==Ca.PLAIN&&i.includes("\n"))return Va(e,t,n,r);if(Ga(i)){if(""===c)return t.forceBlockIndent=!0,Va(e,t,n,r);if(a&&c===l)return ja(i,t)}const h=i.replace(/\n+/g,`$&\n${c}`);if(o){const e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(h),{compat:n,tags:r}=t.doc.schema;if(r.some(e)||n?.some(e))return ja(i,t)}return a?h:Fa(h,c,Pa,Ha(t,!1))}(o,t,n,r);default:return null}};let l=c(a);if(null===l){const{defaultKeyType:e,defaultStringType:n}=t.options,r=s&&e||n;if(l=c(r),null===l)throw new Error(`Unsupported default string type ${r}`)}return l}function $a(e,t){const n=Object.assign({blockQuote:!0,commentString:va,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof n.indent?" ".repeat(n.indent):" ",inFlow:r,options:n}}function Qa(e,t,n,r){if(Zo(e))return e.toString(t,n,r);if(Wo(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let s;const i=ra(e)?e:t.doc.createNode(e,{onTagObj:e=>s=e});s||(s=function(e,t){if(t.tag){const n=e.filter((e=>e.tag===t.tag));if(n.length>0)return n.find((e=>e.format===t.format))??n[0]}let n,r;if(ea(t)){r=t.value;const s=e.filter((e=>e.identify?.(r)));n=s.find((e=>e.format===t.format))??s.find((e=>!e.format))}else r=t,n=e.find((e=>e.nodeClass&&r instanceof e.nodeClass));if(!n)throw new Error(`Tag not resolved for ${r?.constructor?.name??typeof r} value`);return n}(t.doc.schema.tags,i));const o=function(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const s=[],i=(ea(e)||na(e))&&e.anchor;i&&ga(i)&&(n.add(i),s.push(`&${i}`));const o=e.tag?e.tag:t.default?null:t.tag;return o&&s.push(r.directives.tagString(o)),s.join(" ")}(i,s,t);o.length>0&&(t.indentAtStart=(t.indentAtStart??0)+o.length+1);const a="function"==typeof s.stringify?s.stringify(i,t,n,r):ea(i)?Ka(i,t,n,r):i.toString(t,n,r);return o?ea(i)||"{"===a[0]||"["===a[0]?`${o} ${a}`:`${o}\n${t.indent}${a}`:a}function Wa(e,t){"debug"!==e&&"warn"!==e||("undefined"!=typeof process&&process.emitWarning?process.emitWarning(t):console.warn(t))}function Xa(e,t,{key:n,value:r}){if(e?.doc.schema.merge&&Ja(n))if(r=Wo(r)?r.resolve(e.doc):r,ta(r))for(const n of r.items)Za(e,t,n);else if(Array.isArray(r))for(const n of r)Za(e,t,n);else Za(e,t,r);else{const s=ya(n,"",e);if(t instanceof Map)t.set(s,ya(r,s,e));else if(t instanceof Set)t.add(s);else{const i=function(e,t,n){if(null===t)return"";if("object"!=typeof t)return String(t);if(ra(e)&&n?.doc){const t=$a(n.doc,{});t.anchors=new Set;for(const e of n.anchors.keys())t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;const r=e.toString(t);if(!n.mapKeyWarned){let e=JSON.stringify(r);e.length>40&&(e=e.substring(0,36)+'..."'),Wa(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(t)}(n,s,e),o=ya(r,i,e);i in t?Object.defineProperty(t,i,{value:o,writable:!0,enumerable:!0,configurable:!0}):t[i]=o}}return t}const Ja=e=>"<<"===e||ea(e)&&"<<"===e.value&&(!e.type||e.type===Ca.PLAIN);function Za(e,t,n){const r=e&&Wo(n)?n.resolve(e.doc):n;if(!Jo(r))throw new Error("Merge sources must be maps or map aliases");const s=r.toJSON(null,e,Map);for(const[e,n]of s)t instanceof Map?t.has(e)||t.set(e,n):t instanceof Set?t.add(e):Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!0,configurable:!0});return t}function ec(e,t,n){const r=Oa(e,void 0,n),s=Oa(t,void 0,n);return new tc(r,s)}class tc{constructor(e,t=null){Object.defineProperty(this,Qo,{value:Vo}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this;return ra(t)&&(t=t.clone(e)),ra(n)&&(n=n.clone(e)),new tc(t,n)}toJSON(e,t){return Xa(t,t?.mapAsMap?new Map:{},this)}toString(e,t,n){return e?.doc?function({key:e,value:t},n,r,s){const{allNullValues:i,doc:o,indent:a,indentStep:c,options:{commentString:l,indentSeq:u,simpleKeys:h}}=n;let p=ra(e)&&e.comment||null;if(h){if(p)throw new Error("With simple keys, key nodes cannot have comments");if(na(e))throw new Error("With simple keys, collection cannot be used as a key value")}let f=!h&&(!e||p&&null==t&&!n.inFlow||na(e)||(ea(e)?e.type===Ca.BLOCK_FOLDED||e.type===Ca.BLOCK_LITERAL:"object"==typeof e));n=Object.assign({},n,{allNullValues:!1,implicitKey:!f&&(h||!i),indent:a+c});let d,m,E,g=!1,T=!1,A=Qa(e,n,(()=>g=!0),(()=>T=!0));if(!f&&!n.inFlow&&A.length>1024){if(h)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");f=!0}if(n.inFlow){if(i||null==t)return g&&r&&r(),""===A?"?":f?`? ${A}`:A}else if(i&&!h||null==t&&f)return A=`? ${A}`,p&&!g?A+=Ma(A,n.indent,l(p)):T&&s&&s(),A;g&&(p=null),f?(p&&(A+=Ma(A,n.indent,l(p))),A=`? ${A}\n${a}:`):(A=`${A}:`,p&&(A+=Ma(A,n.indent,l(p)))),ra(t)?(d=!!t.spaceBefore,m=t.commentBefore,E=t.comment):(d=!1,m=null,E=null,t&&"object"==typeof t&&(t=o.createNode(t))),n.implicitKey=!1,f||p||!ea(t)||(n.indentAtStart=A.length+1),T=!1,u||!(c.length>=2)||n.inFlow||f||!ta(t)||t.flow||t.tag||t.anchor||(n.indent=n.indent.substring(2));let _=!1;const y=Qa(t,n,(()=>_=!0),(()=>T=!0));let b=" ";if(p||d||m)b=d?"\n":"",m&&(b+=`\n${wa(l(m),n.indent)}`),""!==y||n.inFlow?b+=`\n${n.indent}`:"\n"===b&&(b="\n\n");else if(!f&&na(t)){const e=y[0],r=y.indexOf("\n"),s=-1!==r,i=n.inFlow??t.flow??0===t.items.length;if(s||!i){let t=!1;if(s&&("&"===e||"!"===e)){let n=y.indexOf(" ");"&"===e&&-1!==n&&no=null),(()=>h=!0));o&&(a+=Ma(a,i,l(o))),h&&o&&(h=!1),p.push(r+a)}let f;if(0===p.length)f=s.start+s.end;else{f=p[0];for(let e=1;ei=null));ep||o.includes("\n"))&&(h=!0),f.push(o),p=f.length}let d;const{start:m,end:E}=r;if(0===f.length)d=m+E;else{if(!h){h=f.reduce(((e,t)=>e+t.length+2),2)>Ra.maxFlowStringSingleLineLength}if(h){d=m;for(const e of f)d+=e?`\n${a}${o}${e}`:"\n";d+=`\n${o}${E}`}else d=`${m}${c}${f.join(" ")}${c}${E}`}return e&&(d+=Ma(d,o,l(e)),i&&i()),d}function ic({indent:e,options:{commentString:t}},n,r,s){if(r&&s&&(r=r.replace(/^\n+/,"")),r){const s=wa(t(r),e);n.push(s.trimStart())}}function oc(e,t){const n=ea(t)?t.value:t;for(const r of e)if(Zo(r)){if(r.key===t||r.key===n)return r;if(ea(r.key)&&r.key.value===n)return r}}class ac extends Ra{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(zo,e),this.items=[]}static from(e,t,n){const{keepUndefined:r,replacer:s}=n,i=new this(e),o=(e,o)=>{if("function"==typeof s)o=s.call(t,e,o);else if(Array.isArray(s)&&!s.includes(e))return;(void 0!==o||r)&&i.items.push(ec(e,o,n))};if(t instanceof Map)for(const[e,n]of t)o(e,n);else if(t&&"object"==typeof t)for(const e of Object.keys(t))o(e,t[e]);return"function"==typeof e.sortMapEntries&&i.items.sort(e.sortMapEntries),i}add(e,t){let n;n=Zo(e)?e:e&&"object"==typeof e&&"key"in e?new tc(e.key,e.value):new tc(e,e?.value);const r=oc(this.items,n.key),s=this.schema?.sortMapEntries;if(r){if(!t)throw new Error(`Key ${n.key} already set`);ea(r.value)&&Sa(n.value)?r.value.value=n.value:r.value=n.value}else if(s){const e=this.items.findIndex((e=>s(n,e)<0));-1===e?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){const t=oc(this.items,e);if(!t)return!1;return this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){const n=oc(this.items,e),r=n?.value;return(!t&&ea(r)?r.value:r)??void 0}has(e){return!!oc(this.items,e)}set(e,t){this.add(new tc(e,t),!0)}toJSON(e,t,n){const r=n?new n:t?.mapAsMap?new Map:{};t?.onCreate&&t.onCreate(r);for(const e of this.items)Xa(t,r,e);return r}toString(e,t,n){if(!e)return JSON.stringify(this);for(const e of this.items)if(!Zo(e))throw new Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),nc(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}const cc={collection:"map",default:!0,nodeClass:ac,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(Jo(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,n)=>ac.from(e,t,n)};class lc extends Ra{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super($o,e),this.items=[]}add(e){this.items.push(e)}delete(e){const t=uc(e);if("number"!=typeof t)return!1;return this.items.splice(t,1).length>0}get(e,t){const n=uc(e);if("number"!=typeof n)return;const r=this.items[n];return!t&&ea(r)?r.value:r}has(e){const t=uc(e);return"number"==typeof t&&t=0?t:null}const hc={collection:"seq",default:!0,nodeClass:lc,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(ta(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,n)=>lc.from(e,t,n)},pc={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,n,r)=>Ka(e,t=Object.assign({actualString:!0},t),n,r)},fc={identify:e=>null==e,createNode:()=>new Ca(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Ca(null),stringify:({source:e},t)=>"string"==typeof e&&fc.test.test(e)?e:t.options.nullStr},dc={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new Ca("t"===e[0]||"T"===e[0]),stringify({source:e,value:t},n){if(e&&dc.test.test(e)){if(t===("t"===e[0]||"T"===e[0]))return e}return t?n.options.trueStr:n.options.falseStr}};function mc({format:e,minFractionDigits:t,tag:n,value:r}){if("bigint"==typeof r)return String(r);const s="number"==typeof r?r:Number(r);if(!isFinite(s))return isNaN(s)?".nan":s<0?"-.inf":".inf";let i=JSON.stringify(r);if(!e&&t&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(i)){let e=i.indexOf(".");e<0&&(e=i.length,i+=".");let n=t-(i.length-e-1);for(;n-- >0;)i+="0"}return i}const Ec={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN))$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:mc},gc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():mc(e)}},Tc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new Ca(parseFloat(e)),n=e.indexOf(".");return-1!==n&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-n-1),t},stringify:mc},Ac=e=>"bigint"==typeof e||Number.isInteger(e),_c=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function yc(e,t,n){const{value:r}=e;return Ac(r)&&r>=0?n+r.toString(t):mc(e)}const bc={identify:e=>Ac(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>_c(e,2,8,n),stringify:e=>yc(e,8,"0o")},kc={identify:Ac,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>_c(e,0,10,n),stringify:mc},Nc={identify:e=>Ac(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>_c(e,2,16,n),stringify:e=>yc(e,16,"0x")},Sc=[cc,hc,pc,fc,dc,bc,kc,Nc,Ec,gc,Tc];function Cc(e){return"bigint"==typeof e||Number.isInteger(e)}const Ic=({value:e})=>JSON.stringify(e),Oc=[{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:Ic},{identify:e=>null==e,createNode:()=>new Ca(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Ic},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,stringify:Ic},{identify:Cc,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>Cc(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:Ic}],Dc=[cc,hc].concat(Oc,{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),Lc={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"==typeof Buffer)return Buffer.from(e,"base64");if("function"==typeof atob){const t=atob(e.replace(/[\n\r]/g,"")),n=new Uint8Array(t.length);for(let e=0;e1&&t("Each pair must have its own sequence indicator");const e=r.items[0]||new tc(new Ca(null));if(r.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${r.commentBefore}\n${e.key.commentBefore}`:r.commentBefore),r.comment){const t=e.value??e.key;t.comment=t.comment?`${r.comment}\n${t.comment}`:r.comment}r=e}e.items[n]=Zo(r)?r:new tc(r)}}else t("Expected a sequence for this tag");return e}function vc(e,t,n){const{replacer:r}=n,s=new lc(e);s.tag="tag:yaml.org,2002:pairs";let i=0;if(t&&Symbol.iterator in Object(t))for(let e of t){let o,a;if("function"==typeof r&&(e=r.call(t,String(i++),e)),Array.isArray(e)){if(2!==e.length)throw new TypeError(`Expected [key, value] tuple: ${e}`);o=e[0],a=e[1]}else if(e&&e instanceof Object){const t=Object.keys(e);if(1!==t.length)throw new TypeError(`Expected tuple with one key, not ${t.length} keys`);o=t[0],a=e[o]}else o=e;s.items.push(ec(o,a,n))}return s}const wc={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Rc,createNode:vc};class Mc extends lc{constructor(){super(),this.add=ac.prototype.add.bind(this),this.delete=ac.prototype.delete.bind(this),this.get=ac.prototype.get.bind(this),this.has=ac.prototype.has.bind(this),this.set=ac.prototype.set.bind(this),this.tag=Mc.tag}toJSON(e,t){if(!t)return super.toJSON(e);const n=new Map;t?.onCreate&&t.onCreate(n);for(const e of this.items){let r,s;if(Zo(e)?(r=ya(e.key,"",t),s=ya(e.value,r,t)):r=ya(e,"",t),n.has(r))throw new Error("Ordered maps must not include duplicate keys");n.set(r,s)}return n}static from(e,t,n){const r=vc(e,t,n),s=new this;return s.items=r.items,s}}Mc.tag="tag:yaml.org,2002:omap";const Pc={collection:"seq",identify:e=>e instanceof Map,nodeClass:Mc,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=Rc(e,t),r=[];for(const{key:e}of n.items)ea(e)&&(r.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):r.push(e.value));return Object.assign(new Mc,n)},createNode:(e,t,n)=>Mc.from(e,t,n)};function xc({value:e,source:t},n){return t&&(e?Bc:Fc).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const Bc={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new Ca(!0),stringify:xc},Fc={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>new Ca(!1),stringify:xc},Uc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:mc},Hc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():mc(e)}},Gc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new Ca(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(-1!==n){const r=e.substring(n+1).replace(/_/g,"");"0"===r[r.length-1]&&(t.minFractionDigits=r.length)}return t},stringify:mc},qc=e=>"bigint"==typeof e||Number.isInteger(e);function Yc(e,t,n,{intAsBigInt:r}){const s=e[0];if("-"!==s&&"+"!==s||(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}const t=BigInt(e);return"-"===s?BigInt(-1)*t:t}const i=parseInt(e,n);return"-"===s?-1*i:i}function jc(e,t,n){const{value:r}=e;if(qc(r)){const e=r.toString(t);return r<0?"-"+n+e.substr(1):n+e}return mc(e)}const zc={identify:qc,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>Yc(e,2,2,n),stringify:e=>jc(e,2,"0b")},Vc={identify:qc,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>Yc(e,1,8,n),stringify:e=>jc(e,8,"0")},Kc={identify:qc,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>Yc(e,0,10,n),stringify:mc},$c={identify:qc,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>Yc(e,2,16,n),stringify:e=>jc(e,16,"0x")};class Qc extends ac{constructor(e){super(e),this.tag=Qc.tag}add(e){let t;t=Zo(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new tc(e.key,null):new tc(e,null);oc(this.items,t.key)||this.items.push(t)}get(e,t){const n=oc(this.items,e);return!t&&Zo(n)?ea(n.key)?n.key.value:n.key:n}set(e,t){if("boolean"!=typeof t)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof t);const n=oc(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new tc(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw new Error("Set items must all have null values")}static from(e,t,n){const{replacer:r}=n,s=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)"function"==typeof r&&(e=r.call(t,e,e)),s.items.push(ec(e,null,n));return s}}Qc.tag="tag:yaml.org,2002:set";const Wc={collection:"map",identify:e=>e instanceof Set,nodeClass:Qc,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>Qc.from(e,t,n),resolve(e,t){if(Jo(e)){if(e.hasAllNullValues(!0))return Object.assign(new Qc,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function Xc(e,t){const n=e[0],r="-"===n||"+"===n?e.substring(1):e,s=e=>t?BigInt(e):Number(e),i=r.replace(/_/g,"").split(":").reduce(((e,t)=>e*s(60)+s(t)),s(0));return"-"===n?s(-1)*i:i}function Jc(e){let{value:t}=e,n=e=>e;if("bigint"==typeof t)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return mc(e);let r="";t<0&&(r="-",t*=n(-1));const s=n(60),i=[t%s];return t<60?i.unshift(0):(t=(t-i[0])/s,i.unshift(t%s),t>=60&&(t=(t-i[0])/s,i.unshift(t))),r+i.map((e=>String(e).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}const Zc={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>Xc(e,n),stringify:Jc},el={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>Xc(e,!1),stringify:Jc},tl={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(tl.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,s,i,o,a]=t.map(Number),c=t[7]?Number((t[7]+"00").substr(1,3)):0;let l=Date.UTC(n,r-1,s,i||0,o||0,a||0,c);const u=t[8];if(u&&"Z"!==u){let e=Xc(u,!1);Math.abs(e)<30&&(e*=60),l-=6e4*e}return new Date(l)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},nl=[cc,hc,pc,fc,Bc,Fc,zc,Vc,Kc,$c,Uc,Hc,Gc,Lc,Pc,wc,Wc,Zc,el,tl],rl=new Map([["core",Sc],["failsafe",[cc,hc,pc]],["json",Dc],["yaml11",nl],["yaml-1.1",nl]]),sl={binary:Lc,bool:dc,float:Tc,floatExp:gc,floatNaN:Ec,floatTime:el,int:kc,intHex:Nc,intOct:bc,intTime:Zc,map:cc,null:fc,omap:Pc,pairs:wc,seq:hc,set:Wc,timestamp:tl},il={"tag:yaml.org,2002:binary":Lc,"tag:yaml.org,2002:omap":Pc,"tag:yaml.org,2002:pairs":wc,"tag:yaml.org,2002:set":Wc,"tag:yaml.org,2002:timestamp":tl};function ol(e,t){let n=rl.get(t);if(!n){if(!Array.isArray(e)){const e=Array.from(rl.keys()).filter((e=>"yaml11"!==e)).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}n=[]}if(Array.isArray(e))for(const t of e)n=n.concat(t);else"function"==typeof e&&(n=e(n.slice()));return n.map((e=>{if("string"!=typeof e)return e;const t=sl[e];if(t)return t;const n=Object.keys(sl).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag "${e}"; use one of ${n}`)}))}const al=(e,t)=>e.keyt.key?1:0;class cl{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:r,schema:s,sortMapEntries:i,toStringDefaults:o}){this.compat=Array.isArray(e)?ol(e,"compat"):e?ol(null,e):null,this.merge=!!n,this.name="string"==typeof s&&s||"core",this.knownTags=r?il:{},this.tags=ol(t,this.name),this.toStringOptions=o??null,Object.defineProperty(this,zo,{value:cc}),Object.defineProperty(this,Ko,{value:pc}),Object.defineProperty(this,$o,{value:hc}),this.sortMapEntries="function"==typeof i?i:!0===i?al:null}clone(){const e=Object.create(cl.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}class ll{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Qo,{value:jo});let r=null;"function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t,t=void 0);const s=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},n);this.options=s;let{version:i}=s;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(i=this.directives.yaml.version)):this.directives=new Ea({version:i}),this.setSchema(i,n),this.contents=void 0===e?null:this.createNode(e,r,n)}clone(){const e=Object.create(ll.prototype,{[Qo]:{value:jo}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=ra(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){ul(this.contents)&&this.contents.add(e)}addIn(e,t){ul(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){const n=Ta(this);e.anchor=!t||n.has(t)?Aa(t||"a",n):t}return new ka(e.anchor)}createNode(e,t,n){let r;if("function"==typeof t)e=t.call({"":e},"",e),r=t;else if(Array.isArray(t)){const e=e=>"number"==typeof e||e instanceof String||e instanceof Number,n=t.filter(e).map(String);n.length>0&&(t=t.concat(n)),r=t}else void 0===n&&t&&(n=t,t=void 0);const{aliasDuplicateObjects:s,anchorPrefix:i,flow:o,keepUndefined:a,onTagObj:c,tag:l}=n??{},{onAnchor:u,setAnchors:h,sourceObjects:p}=function(e,t){const n=[],r=new Map;let s=null;return{onAnchor:r=>{n.push(r),s||(s=Ta(e));const i=Aa(t,s);return s.add(i),i},setAnchors:()=>{for(const e of n){const t=r.get(e);if("object"!=typeof t||!t.anchor||!ea(t.node)&&!na(t.node)){const t=new Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}t.node.anchor=t.anchor}},sourceObjects:r}}(this,i||"a"),f=Oa(e,l,{aliasDuplicateObjects:s??!0,keepUndefined:a??!1,onAnchor:u,onTagObj:c,replacer:r,schema:this.schema,sourceObjects:p});return o&&na(f)&&(f.flow=!0),h(),f}createPair(e,t,n={}){const r=this.createNode(e,null,n),s=this.createNode(t,null,n);return new tc(r,s)}delete(e){return!!ul(this.contents)&&this.contents.delete(e)}deleteIn(e){return La(e)?null!=this.contents&&(this.contents=null,!0):!!ul(this.contents)&&this.contents.deleteIn(e)}get(e,t){return na(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return La(e)?!t&&ea(this.contents)?this.contents.value:this.contents:na(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!na(this.contents)&&this.contents.has(e)}hasIn(e){return La(e)?void 0!==this.contents:!!na(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=Da(this.schema,[e],t):ul(this.contents)&&this.contents.set(e,t)}setIn(e,t){La(e)?this.contents=t:null==this.contents?this.contents=Da(this.schema,Array.from(e),t):ul(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let n;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new Ea({version:"1.1"}),n={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new Ea({version:e}),n={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{const t=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else{if(!n)throw new Error("With a null YAML version, the { schema: Schema } option is required");this.schema=new cl(Object.assign(n,t))}}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:s,reviver:i}={}){const o={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===n,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},a=ya(this.contents,t??"",o);if("function"==typeof s)for(const{count:e,res:t}of o.anchors.values())s(t,e);return"function"==typeof i?_a(i,{"":a},"",a):a}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){const t=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${t}`)}return function(e,t){const n=[];let r=!0===t.directives;if(!1!==t.directives&&e.directives){const t=e.directives.toString(e);t?(n.push(t),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");const s=$a(e,t),{commentString:i}=s.options;if(e.commentBefore){1!==n.length&&n.unshift("");const t=i(e.commentBefore);n.unshift(wa(t,""))}let o=!1,a=null;if(e.contents){if(ra(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){const t=i(e.contents.commentBefore);n.push(wa(t,""))}s.forceBlockIndent=!!e.comment,a=e.contents.comment}const t=a?void 0:()=>o=!0;let c=Qa(e.contents,s,(()=>a=null),t);a&&(c+=Ma(c,"",i(a))),"|"!==c[0]&&">"!==c[0]||"---"!==n[n.length-1]?n.push(c):n[n.length-1]=`--- ${c}`}else n.push(Qa(e.contents,s));if(e.directives?.docEnd)if(e.comment){const t=i(e.comment);t.includes("\n")?(n.push("..."),n.push(wa(t,""))):n.push(`... ${t}`)}else n.push("...");else{let t=e.comment;t&&o&&(t=t.replace(/^\n+/,"")),t&&(o&&!a||""===n[n.length-1]||n.push(""),n.push(wa(i(t),"")))}return n.join("\n")+"\n"}(this,e)}}function ul(e){if(na(e))return!0;throw new Error("Expected a YAML collection as document contents")}class hl extends Error{constructor(e,t,n,r){super(),this.name=e,this.code=n,this.message=r,this.pos=t}}class pl extends hl{constructor(e,t,n){super("YAMLParseError",e,t,n)}}class fl extends hl{constructor(e,t,n){super("YAMLWarning",e,t,n)}}const dl=(e,t)=>n=>{if(-1===n.pos[0])return;n.linePos=n.pos.map((e=>t.linePos(e)));const{line:r,col:s}=n.linePos[0];n.message+=` at line ${r}, column ${s}`;let i=s-1,o=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(i>=60&&o.length>80){const e=Math.min(i-39,o.length-79);o="…"+o.substring(e),i-=e-1}if(o.length>80&&(o=o.substring(0,79)+"…"),r>1&&/^ *$/.test(o.substring(0,i))){let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+"…\n"),o=n+o}if(/[^ ]/.test(o)){let e=1;const t=n.linePos[1];t&&t.line===r&&t.col>s&&(e=Math.max(1,Math.min(t.col-s,80-i)));const a=" ".repeat(i)+"^".repeat(e);n.message+=`:\n\n${o}\n${a}\n`}};function ml(e,{flow:t,indicator:n,next:r,offset:s,onError:i,startOnNewline:o}){let a=!1,c=o,l=o,u="",h="",p=!1,f=!1,d=!1,m=null,E=null,g=null,T=null,A=null;for(const r of e)switch(d&&("space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&i(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),d=!1),r.type){case"space":!t&&c&&"doc-start"!==n&&"\t"===r.source[0]&&i(r,"TAB_AS_INDENT","Tabs are not allowed as indentation"),l=!0;break;case"comment":{l||i(r,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const e=r.source.substring(1)||" ";u?u+=h+e:u=e,h="",c=!1;break}case"newline":c?u?u+=r.source:a=!0:h+=r.source,c=!0,p=!0,(m||E)&&(f=!0),l=!0;break;case"anchor":m&&i(r,"MULTIPLE_ANCHORS","A node can have at most one anchor"),r.source.endsWith(":")&&i(r.offset+r.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),m=r,null===A&&(A=r.offset),c=!1,l=!1,d=!0;break;case"tag":E&&i(r,"MULTIPLE_TAGS","A node can have at most one tag"),E=r,null===A&&(A=r.offset),c=!1,l=!1,d=!0;break;case n:(m||E)&&i(r,"BAD_PROP_ORDER",`Anchors and tags must be after the ${r.source} indicator`),T&&i(r,"UNEXPECTED_TOKEN",`Unexpected ${r.source} in ${t??"collection"}`),T=r,c=!1,l=!1;break;case"comma":if(t){g&&i(r,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),g=r,c=!1,l=!1;break}default:i(r,"UNEXPECTED_TOKEN",`Unexpected ${r.type} token`),c=!1,l=!1}const _=e[e.length-1],y=_?_.offset+_.source.length:s;return d&&r&&"space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&("scalar"!==r.type||""!==r.source)&&i(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),{comma:g,found:T,spaceBefore:a,comment:u,hasNewline:p,hasNewlineAfterProp:f,anchor:m,tag:E,end:y,start:A??y}}function El(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end)for(const t of e.end)if("newline"===t.type)return!0;return!1;case"flow-collection":for(const t of e.items){for(const e of t.start)if("newline"===e.type)return!0;if(t.sep)for(const e of t.sep)if("newline"===e.type)return!0;if(El(t.key)||El(t.value))return!0}return!1;default:return!0}}function gl(e,t,n){if("flow-collection"===t?.type){const r=t.end[0];if(r.indent===e&&("]"===r.source||"}"===r.source)&&El(t)){n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}}function Tl(e,t,n){const{uniqueKeys:r}=e.options;if(!1===r)return!1;const s="function"==typeof r?r:(t,n)=>t===n||ea(t)&&ea(n)&&t.value===n.value&&!("<<"===t.value&&e.schema.merge);return t.some((e=>s(e.key,n)))}const Al="All mapping items must start at the same column";function _l(e,t,n,r){let s="";if(e){let i=!1,o="";for(const a of e){const{source:e,type:c}=a;switch(c){case"space":i=!0;break;case"comment":{n&&!i&&r(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const t=e.substring(1)||" ";s?s+=o+t:s=t,o="";break}case"newline":s&&(o+=e),i=!0;break;default:r(a,"UNEXPECTED_TOKEN",`Unexpected ${c} at node end`)}t+=e.length}}return{comment:s,offset:t}}const yl="Block collections are not allowed within flow collections",bl=e=>e&&("block-map"===e.type||"block-seq"===e.type);function kl(e,t,n,r,s,i){const o="block-map"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,s,i){const o=new(i?.nodeClass??ac)(n.schema);n.atRoot&&(n.atRoot=!1);let a=r.offset,c=null;for(const i of r.items){const{start:l,key:u,sep:h,value:p}=i,f=ml(l,{indicator:"explicit-key-ind",next:u??h?.[0],offset:a,onError:s,startOnNewline:!0}),d=!f.found;if(d){if(u&&("block-seq"===u.type?s(a,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in u&&u.indent!==r.indent&&s(a,"BAD_INDENT",Al)),!f.anchor&&!f.tag&&!h){c=f.end,f.comment&&(o.comment?o.comment+="\n"+f.comment:o.comment=f.comment);continue}(f.hasNewlineAfterProp||El(u))&&s(u??l[l.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else f.found?.indent!==r.indent&&s(a,"BAD_INDENT",Al);const m=f.end,E=u?e(n,u,f,s):t(n,m,l,null,f,s);n.schema.compat&&gl(r.indent,u,s),Tl(n,o.items,E)&&s(m,"DUPLICATE_KEY","Map keys must be unique");const g=ml(h??[],{indicator:"map-value-ind",next:p,offset:E.range[2],onError:s,startOnNewline:!u||"block-scalar"===u.type});if(a=g.end,g.found){d&&("block-map"!==p?.type||g.hasNewline||s(a,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&f.start0){const e=_l(f,d,n.options.strict,s);e.comment&&(c.comment?c.comment+="\n"+e.comment:c.comment=e.comment),c.range=[r.offset,d,e.offset]}else c.range=[r.offset,d,d];return c}(e,t,n,r,i),a=o.constructor;return"!"===s||s===a.tagName?(o.tag=a.tagName,o):(s&&(o.tag=s),o)}function Nl(e,t,n){const r=e.offset,s=function({offset:e,props:t},n,r){if("block-scalar-header"!==t[0].type)return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:s}=t[0],i=s[0];let o=0,a="",c=-1;for(let t=1;t=0;--e){const t=o[e][1];if(""!==t&&"\r"!==t)break;a=e}if(0===a){const t="+"===s.chomp&&o.length>0?"\n".repeat(Math.max(1,o.length-1)):"";let n=r+s.length;return e.source&&(n+=e.source.length),{value:t,type:i,comment:s.comment,range:[r,n,n]}}let c=e.indent+s.indent,l=e.offset+s.length,u=0;for(let e=0;ec&&(c=t.length),l+=t.length+r.length+1}for(let e=o.length-1;e>=a;--e)o[e][0].length>c&&(a=e+1);let h="",p="",f=!1;for(let e=0;ec||"\t"===r[0]?(" "===p?p="\n":f||"\n"!==p||(p="\n\n"),h+=p+t.slice(c)+r,p="\n",f=!0):""===r?"\n"===p?h+="\n":p="\n":(h+=p+r,p=" ",f=!1)}switch(s.chomp){case"-":break;case"+":for(let e=a;en(r+e,t,s);switch(s){case"scalar":a=Ca.PLAIN,c=function(e,t){let n="";switch(e[0]){case"\t":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":n=`block scalar indicator ${e[0]}`;break;case"@":case"`":n=`reserved character ${e[0]}`}n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`);return Cl(e)}(i,l);break;case"single-quoted-scalar":a=Ca.QUOTE_SINGLE,c=function(e,t){"'"===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR","Missing closing 'quote");return Cl(e.slice(1,-1)).replace(/''/g,"'")}(i,l);break;case"double-quoted-scalar":a=Ca.QUOTE_DOUBLE,c=function(e,t){let n="";for(let r=1;rt?e.slice(t,r+1):s)}else n+=s}'"'===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR",'Missing closing "quote');return n}(i,l);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${s}`),{value:"",type:null,comment:"",range:[r,r+i.length,r+i.length]}}const u=r+i.length,h=_l(o,u,t,n);return{value:c,type:a,comment:h.comment,range:[r,u,h.offset]}}function Cl(e){let t,n;try{t=new RegExp("(.*?)(?r(n,"TAG_RESOLVE_FAILED",e))):null,l=n&&c?function(e,t,n,r,s){if("!"===n)return e[Ko];const i=[];for(const t of e.tags)if(!t.collection&&t.tag===n){if(!t.default||!t.test)return t;i.push(t)}for(const e of i)if(e.test?.test(t))return e;const o=e.knownTags[n];if(o&&!o.collection)return e.tags.push(Object.assign({},o,{default:!1,test:void 0})),o;return s(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,"tag:yaml.org,2002:str"!==n),e[Ko]}(e.schema,s,c,n,r):"scalar"===t.type?function({directives:e,schema:t},n,r,s){const i=t.tags.find((e=>e.default&&e.test?.test(n)))||t[Ko];if(t.compat){const o=t.compat.find((e=>e.default&&e.test?.test(n)))??t[Ko];if(i.tag!==o.tag){s(r,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${e.tagString(i.tag)} or ${e.tagString(o.tag)}`,!0)}}return i}(e,s,t,r):e.schema[Ko];let u;try{const i=l.resolve(s,(e=>r(n??t,"TAG_RESOLVE_FAILED",e)),e.options);u=ea(i)?i:new Ca(i)}catch(e){const i=e instanceof Error?e.message:String(e);r(n??t,"TAG_RESOLVE_FAILED",i),u=new Ca(s)}return u.range=a,u.source=s,i&&(u.type=i),c&&(u.tag=c),l.format&&(u.format=l.format),o&&(u.comment=o),u}function Rl(e,t,n){if(t){null===n&&(n=t.length);for(let r=n-1;r>=0;--r){let n=t[r];switch(n.type){case"space":case"comment":case"newline":e-=n.source.length;continue}for(n=t[++r];"space"===n?.type;)e+=n.source.length,n=t[++r];break}}return e}const vl={composeNode:wl,composeEmptyNode:Ml};function wl(e,t,n,r){const{spaceBefore:s,comment:i,anchor:o,tag:a}=n;let c,l=!0;switch(t.type){case"alias":c=function({options:e},{offset:t,source:n,end:r},s){const i=new ka(n.substring(1));""===i.source&&s(t,"BAD_ALIAS","Alias cannot be an empty string");i.source.endsWith(":")&&s(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const o=t+n.length,a=_l(r,o,e.strict,s);i.range=[t,o,a.offset],a.comment&&(i.comment=a.comment);return i}(e,t,r),(o||a)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":c=Ll(e,t,a,r),o&&(c.anchor=o.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":c=function(e,t,n,r,s){const i=r?t.directives.tagName(r.source,(e=>s(r,"TAG_RESOLVE_FAILED",e))):null,o="block-map"===n.type?"map":"block-seq"===n.type?"seq":"{"===n.start.source?"map":"seq";if(!r||!i||"!"===i||i===ac.tagName&&"map"===o||i===lc.tagName&&"seq"===o||!o)return kl(e,t,n,s,i);let a=t.schema.tags.find((e=>e.tag===i&&e.collection===o));if(!a){const c=t.schema.knownTags[i];if(!c||c.collection!==o)return c?.collection?s(r,"BAD_COLLECTION_TYPE",`${c.tag} used for ${o} collection, but expects ${c.collection}`,!0):s(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${i}`,!0),kl(e,t,n,s,i);t.schema.tags.push(Object.assign({},c,{default:!1})),a=c}const c=kl(e,t,n,s,i,a),l=a.resolve?.(c,(e=>s(r,"TAG_RESOLVE_FAILED",e)),t.options)??c,u=ra(l)?l:new Ca(l);return u.range=c.range,u.tag=i,a?.format&&(u.format=a.format),u}(vl,e,t,a,r),o&&(c.anchor=o.source.substring(1));break;default:r(t,"UNEXPECTED_TOKEN","error"===t.type?t.message:`Unsupported token (type: ${t.type})`),c=Ml(e,t.offset,void 0,null,n,r),l=!1}return o&&""===c.anchor&&r(o,"BAD_ALIAS","Anchor cannot be an empty string"),s&&(c.spaceBefore=!0),i&&("scalar"===t.type&&""===t.source?c.comment=i:c.commentBefore=i),e.options.keepSourceTokens&&l&&(c.srcToken=t),c}function Ml(e,t,n,r,{spaceBefore:s,comment:i,anchor:o,tag:a,end:c},l){const u=Ll(e,{type:"scalar",offset:Rl(t,n,r),indent:-1,source:""},a,l);return o&&(u.anchor=o.source.substring(1),""===u.anchor&&l(o,"BAD_ALIAS","Anchor cannot be an empty string")),s&&(u.spaceBefore=!0),i&&(u.comment=i,u.range[2]=c),u}function Pl(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+("string"==typeof n?n.length:1)]}function xl(e){let t="",n=!1,r=!1;for(let s=0;s{const s=Pl(e);r?this.warnings.push(new fl(s,t,n)):this.errors.push(new pl(s,t,n))},this.directives=new Ea({version:e.version||"1.2"}),this.options=e}decorate(e,t){const{comment:n,afterEmptyLine:r}=xl(this.prelude);if(n){const s=e.contents;if(t)e.comment=e.comment?`${e.comment}\n${n}`:n;else if(r||e.directives.docStart||!s)e.commentBefore=n;else if(na(s)&&!s.flow&&s.items.length>0){let e=s.items[0];Zo(e)&&(e=e.key);const t=e.commentBefore;e.commentBefore=t?`${n}\n${t}`:n}else{const e=s.commentBefore;s.commentBefore=e?`${n}\n${e}`:n}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:xl(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){for(const t of e)yield*this.next(t);yield*this.end(t,n)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,((t,n,r)=>{const s=Pl(e);s[0]+=t,this.onError(s,"BAD_DIRECTIVE",n,r)})),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{const t=function(e,t,{offset:n,start:r,value:s,end:i},o){const a=Object.assign({_directives:t},e),c=new ll(void 0,a),l={atRoot:!0,directives:c.directives,options:c.options,schema:c.schema},u=ml(r,{indicator:"doc-start",next:s??i?.[0],offset:n,onError:o,startOnNewline:!0});u.found&&(c.directives.docStart=!0,!s||"block-map"!==s.type&&"block-seq"!==s.type||u.hasNewline||o(u.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),c.contents=s?wl(l,s,u,o):Ml(l,u.end,r,null,u,o);const h=c.contents.range[2],p=_l(i,h,!1,o);return p.comment&&(c.comment=p.comment),c.range=[n,h,p.offset],c}(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{const t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new pl(Pl(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){const t="Unexpected doc-end without preceding document";this.errors.push(new pl(Pl(e),"UNEXPECTED_TOKEN",t));break}this.doc.directives.docEnd=!0;const t=_l(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){const e=this.doc.comment;this.doc.comment=e?`${e}\n${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new pl(Pl(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){const e=Object.assign({_directives:this.directives},this.options),n=new ll(void 0,e);this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),n.range=[0,t,t],this.decorate(n,!1),yield n}}}function Fl(e,t){if(t)for(const n of t)switch(n.type){case"space":case"comment":e.push(n);break;case"newline":return e.push(n),!0}return!1}function Ul(e,t,n){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=n,e.source=t;break;case"block-scalar":{const r=e.props.slice(1);let s=t.length;"block-scalar-header"===e.props[0].type&&(s-=e.props[0].source.length);for(const e of r)e.offset+=s;delete e.props,Object.assign(e,{type:n,source:t,end:r});break}case"block-map":case"block-seq":{const r={type:"newline",offset:e.offset+t.length,indent:e.indent,source:"\n"};delete e.items,Object.assign(e,{type:n,source:t,end:[r]});break}default:{const r="indent"in e?e.indent:-1,s="end"in e&&Array.isArray(e.end)?e.end.filter((e=>"space"===e.type||"comment"===e.type||"newline"===e.type)):[];for(const t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:n,indent:r,source:t,end:s})}}}function Hl(e){switch(e.type){case"block-scalar":{let t="";for(const n of e.props)t+=Hl(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(const n of e.items)t+=Gl(n);return t}case"flow-collection":{let t=e.start.source;for(const n of e.items)t+=Gl(n);for(const n of e.end)t+=n.source;return t}case"document":{let t=Gl(e);if(e.end)for(const n of e.end)t+=n.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(const n of e.end)t+=n.source;return t}}}function Gl({start:e,key:t,sep:n,value:r}){let s="";for(const t of e)s+=t.source;if(t&&(s+=Hl(t)),n)for(const e of n)s+=e.source;return r&&(s+=Hl(r)),s}const ql=Symbol("break visit"),Yl=Symbol("skip children"),jl=Symbol("remove item");function zl(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),Vl(Object.freeze([]),e,t)}function Vl(e,t,n){let r=n(t,e);if("symbol"==typeof r)return r;for(const s of["key","value"]){const i=t[s];if(i&&"items"in i){for(let t=0;t{let n=e;for(const[e,r]of t){const t=n?.[e];if(!t||!("items"in t))return;n=t.items[r]}return n},zl.parentCollection=(e,t)=>{const n=zl.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],s=n?.[r];if(s&&"items"in s)return s;throw new Error("Parent collection not found")};const Kl="\ufeff",$l="",Ql="",Wl="";function Xl(e){switch(e){case Kl:return"byte-order-mark";case $l:return"doc-mode";case Ql:return"flow-error-end";case Wl:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}var Jl=Object.freeze({__proto__:null,BOM:Kl,DOCUMENT:$l,FLOW_END:Ql,SCALAR:Wl,isCollection:e=>!!e&&"items"in e,isScalar:e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type),prettyToken:function(e){switch(e){case Kl:return"";case $l:return"";case Ql:return"";case Wl:return"";default:return JSON.stringify(e)}},tokenType:Xl,createScalarToken:function(e,t){const{implicitKey:n=!1,indent:r,inFlow:s=!1,offset:i=-1,type:o="PLAIN"}=t,a=Ka({type:o,value:e},{implicitKey:n,indent:r>0?" ".repeat(r):"",inFlow:s,options:{blockQuote:!0,lineWidth:-1}}),c=t.end??[{type:"newline",offset:-1,indent:r,source:"\n"}];switch(a[0]){case"|":case">":{const e=a.indexOf("\n"),t=a.substring(0,e),n=a.substring(e+1)+"\n",s=[{type:"block-scalar-header",offset:i,indent:r,source:t}];return Fl(s,c)||s.push({type:"newline",offset:-1,indent:r,source:"\n"}),{type:"block-scalar",offset:i,indent:r,props:s,source:n}}case'"':return{type:"double-quoted-scalar",offset:i,indent:r,source:a,end:c};case"'":return{type:"single-quoted-scalar",offset:i,indent:r,source:a,end:c};default:return{type:"scalar",offset:i,indent:r,source:a,end:c}}},resolveAsScalar:function(e,t=!0,n){if(e){const r=(e,t,r)=>{const s="number"==typeof e?e:Array.isArray(e)?e[0]:e.offset;if(!n)throw new pl([s,s+1],t,r);n(s,t,r)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return Sl(e,t,r);case"block-scalar":return Nl(e,t,r)}}return null},setScalarValue:function(e,t,n={}){let{afterKey:r=!1,implicitKey:s=!1,inFlow:i=!1,type:o}=n,a="indent"in e?e.indent:null;if(r&&"number"==typeof a&&(a+=2),!o)switch(e.type){case"single-quoted-scalar":o="QUOTE_SINGLE";break;case"double-quoted-scalar":o="QUOTE_DOUBLE";break;case"block-scalar":{const t=e.props[0];if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header");o=">"===t.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:o="PLAIN"}const c=Ka({type:o,value:t},{implicitKey:s||null===a,indent:null!==a&&a>0?" ".repeat(a):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}});switch(c[0]){case"|":case">":!function(e,t){const n=t.indexOf("\n"),r=t.substring(0,n),s=t.substring(n+1)+"\n";if("block-scalar"===e.type){const t=e.props[0];if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header");t.source=r,e.source=s}else{const{offset:t}=e,n="indent"in e?e.indent:-1,i=[{type:"block-scalar-header",offset:t,indent:n,source:r}];Fl(i,"end"in e?e.end:void 0)||i.push({type:"newline",offset:-1,indent:n,source:"\n"});for(const t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:"block-scalar",indent:n,props:i,source:s})}}(e,c);break;case'"':Ul(e,c,"double-quoted-scalar");break;case"'":Ul(e,c,"single-quoted-scalar");break;default:Ul(e,c,"scalar")}},stringify:e=>"type"in e?Hl(e):Gl(e),visit:zl});function Zl(e){switch(e){case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}const eu="0123456789ABCDEFabcdef".split(""),tu="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""),nu=",[]{}".split(""),ru=" ,[]{}\n\r\t".split(""),su=e=>!e||ru.includes(e);class iu{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){e&&(this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null),this.atEnd=!t;let n=this.next??"stream";for(;n&&(t||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||"\t"===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let n=0;for(;" "===t;)t=this.buffer[++n+e];if("\r"===t){const t=this.buffer[n+e+1];if("\n"===t||!t&&!this.atEnd)return e+n+1}return"\n"===t||n>=this.indentNext||!t&&!this.atEnd?e+n:-1}if("-"===t||"."===t){const t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&Zl(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return("number"!=typeof e||-1!==e&&ethis.indentValue&&!Zl(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&Zl(t)){const e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(su),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=(yield*this.parseBlockScalarHeader()),t+=(yield*this.pushSpaces(!0)),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,n=-1;do{e=yield*this.pushNewline(),e>0?(t=yield*this.pushSpaces(!1),this.indentValue=n=t):t=0,t+=(yield*this.pushSpaces(!0))}while(e+t>0);const r=this.getLine();if(null===r)return this.setNext("flow");if(-1!==n&&n"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break}return yield*this.pushUntil((e=>Zl(e)||"#"===e))}*parseBlockScalar(){let e,t=this.pos-1,n=0;e:for(let r=this.pos;e=this.buffer[r];++r)switch(e){case" ":n+=1;break;case"\n":t=r,n=0;break;case"\r":{const e=this.buffer[r+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=n:this.indentNext+=this.blockScalarIndent;do{const e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}if(!this.blockScalarKeep)for(;;){let e=t-1,r=this.buffer[e];"\r"===r&&(r=this.buffer[--e]);const s=e;for(;" "===r||"\t"===r;)r=this.buffer[--e];if(!("\n"===r&&e>=this.pos&&e+1+n>s))break;t=e}return yield Wl,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const e=this.flowLevel>0;let t,n=this.pos-1,r=this.pos-1;for(;t=this.buffer[++r];)if(":"===t){const t=this.buffer[r+1];if(Zl(t)||e&&","===t)break;n=r}else if(Zl(t)){let s=this.buffer[r+1];if("\r"===t&&("\n"===s?(r+=1,t="\n",s=this.buffer[r+1]):n=r),"#"===s||e&&nu.includes(s))break;if("\n"===t){const e=this.continueScalar(r+1);if(-1===e)break;r=Math.max(r,e-2)}}else{if(e&&nu.includes(t))break;n=r}return t||this.atEnd?(yield Wl,yield*this.pushToIndex(n+1,!0),e?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){const n=this.buffer.slice(this.pos,e);return n?(yield n,this.pos+=n.length,n.length):(t&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(su))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const e=this.flowLevel>0,t=this.charAt(1);if(Zl(t)||e&&nu.includes(t))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!Zl(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(tu.includes(t))t=this.buffer[++e];else{if("%"!==t||!eu.includes(this.buffer[e+1])||!eu.includes(this.buffer[e+2]))break;t=this.buffer[e+=3]}return yield*this.pushToIndex(e,!1)}}*pushNewline(){const e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,n=this.pos-1;do{t=this.buffer[++n]}while(" "===t||e&&"\t"===t);const r=n-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=n),r}*pushUntil(e){let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}class ou{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,n=this.lineStarts.length;for(;t>1;this.lineStarts[r]=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;"space"===e[++t]?.type;);return e.splice(t,e.length)}function pu(e){if("flow-seq-start"===e.start.type)for(const t of e.items)!t.sep||t.value||au(t.start,"explicit-key-ind")||au(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,lu(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}class fu{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new iu,this.onNewLine=e}*parse(e,t=!1){this.onNewLine&&0===this.offset&&this.onNewLine(0);for(const n of this.lexer.lex(e,t))yield*this.next(n);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar)return this.atScalar=!1,yield*this.step(),void(this.offset+=e.length);const t=Xl(e);if(t)if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{const t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const e=this.peek(1);if("doc-end"!==this.type||e&&"doc-end"===e.type){if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}else{for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source})}}peek(e){return this.stack[this.stack.length-e]}*pop(e){const t=e??this.stack.pop();if(t)if(0===this.stack.length)yield t;else{const e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&pu(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{const n=e.items[e.items.length-1];if(n.value)return e.items.push({start:[],key:t,sep:[]}),void(this.onKeyLine=!0);if(!n.sep)return Object.assign(n,{key:t,sep:[]}),void(this.onKeyLine=!au(n.start,"explicit-key-ind"));n.value=t;break}case"block-seq":{const n=e.items[e.items.length-1];n.value?e.items.push({start:[],value:t}):n.value=t;break}case"flow-collection":{const n=e.items[e.items.length-1];return void(!n||n.value?e.items.push({start:[],key:t,sep:[]}):n.sep?n.value=t:Object.assign(n,{key:t,sep:[]}))}default:yield*this.pop(),yield*this.pop(t)}if(!("document"!==e.type&&"block-map"!==e.type&&"block-seq"!==e.type||"block-map"!==t.type&&"block-seq"!==t.type)){const n=t.items[t.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&-1===cu(n.start)&&(0===t.indent||n.start.every((e=>"comment"!==e.type||e.indent=e.indent){const n=!this.onKeyLine&&this.indent===e.indent&&t.sep;let r=[];if(n&&t.sep&&!t.value){const n=[];for(let r=0;re.indent&&(n.length=0);break;default:n.length=0}}n.length>=2&&(r=t.sep.splice(n[1]))}switch(this.type){case"anchor":case"tag":return void(n||t.value?(r.push(this.sourceToken),e.items.push({start:r}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"explicit-key-ind":return t.sep||au(t.start,"explicit-key-ind")?n||t.value?(r.push(this.sourceToken),e.items.push({start:r})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]}):t.start.push(this.sourceToken),void(this.onKeyLine=!0);case"map-value-ind":if(au(t.start,"explicit-key-ind"))if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(au(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]});else if(lu(t.key)&&!au(t.sep,"newline")){const e=hu(t.start),n=t.key,r=t.sep;r.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:n,sep:r}]})}else r.length>0?t.sep=t.sep.concat(r,this.sourceToken):t.sep.push(this.sourceToken);else if(au(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{const e=hu(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||n?e.items.push({start:r,key:null,sep:[this.sourceToken]}):au(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return void(this.onKeyLine=!0);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const s=this.flowScalar(this.type);return void(n||t.value?(e.items.push({start:r,key:s,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(s):(Object.assign(t,{key:s,sep:[]}),this.onKeyLine=!0))}default:{const s=this.startBlockValue(e);if(s)return n&&"block-seq"!==s.type&&au(t.start,"explicit-key-ind")&&e.items.push({start:r}),void this.stack.push(s)}}}yield*this.pop(),yield*this.step()}*blockSequence(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){const n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0;"comment"===r?.type?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){const n=e.items[e.items.length-2],r=n?.value?.end;if(Array.isArray(r))return Array.prototype.push.apply(r,t.start),r.push(this.sourceToken),void e.items.pop()}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;return void t.start.push(this.sourceToken);case"seq-item-ind":if(this.indent!==e.indent)break;return void(t.value||au(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken))}if(this.indent>e.indent){const t=this.startBlockValue(e);if(t)return void this.stack.push(t)}yield*this.pop(),yield*this.step()}*flowCollection(e){const t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do{yield*this.pop(),e=this.peek(1)}while(e&&"flow-collection"===e.type)}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":return void(!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken));case"map-value-ind":return void(!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]}));case"space":case"comment":case"newline":case"anchor":case"tag":return void(!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const n=this.flowScalar(this.type);return void(!t||t.value?e.items.push({start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]}))}case"flow-map-end":case"flow-seq-end":return void e.end.push(this.sourceToken)}const n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{const t=this.peek(2);if("block-map"===t.type&&("map-value-ind"===this.type&&t.indent===e.indent||"newline"===this.type&&!t.items[t.items.length-1].sep))yield*this.pop(),yield*this.step();else if("map-value-ind"===this.type&&"flow-collection"!==t.type){const n=hu(uu(t));pu(e);const r=e.end.splice(1,e.end.length);r.push(this.sourceToken);const s={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=s}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const t=hu(uu(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t}]}}case"map-value-ind":{this.onKeyLine=!0;const t=hu(uu(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&(!(this.indent<=t)&&e.every((e=>"newline"===e.type||"space"===e.type)))}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}function du(e){const t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new ou||null,prettyErrors:t}}function mu(e,t={}){const{lineCounter:n,prettyErrors:r}=du(t),s=new fu(n?.addNewLine),i=new Bl(t);let o=null;for(const t of i.compose(s.parse(e),!0,e.length))if(o){if("silent"!==o.options.logLevel){o.errors.push(new pl(t.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else o=t;return r&&n&&(o.errors.forEach(dl(e,n)),o.warnings.forEach(dl(e,n))),o}var Eu=Object.freeze({__proto__:null,CST:Jl,Composer:Bl,Document:ll,Schema:cl,YAMLError:hl,YAMLParseError:pl,YAMLWarning:fl,Alias:ka,isAlias:Wo,isCollection:na,isDocument:Xo,isMap:Jo,isNode:ra,isPair:Zo,isScalar:ea,isSeq:ta,Pair:tc,Scalar:Ca,YAMLMap:ac,YAMLSeq:lc,Lexer:iu,LineCounter:ou,Parser:fu,parse:function(e,t,n){let r;"function"==typeof t?r=t:void 0===n&&t&&"object"==typeof t&&(n=t);const s=mu(e,n);if(!s)return null;if(s.warnings.forEach((e=>Wa(s.options.logLevel,e))),s.errors.length>0){if("silent"!==s.options.logLevel)throw s.errors[0];s.errors=[]}return s.toJS(Object.assign({reviver:r},n))},parseAllDocuments:function(e,t={}){const{lineCounter:n,prettyErrors:r}=du(t),s=new fu(n?.addNewLine),i=new Bl(t),o=Array.from(i.compose(s.parse(e)));if(r&&n)for(const t of o)t.errors.forEach(dl(e,n)),t.warnings.forEach(dl(e,n));return o.length>0?o:Object.assign([],{empty:!0},i.streamInfo())},parseDocument:mu,stringify:function(e,t,n){let r=null;if("function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t),"string"==typeof n&&(n=n.length),"number"==typeof n){const e=Math.round(n);n=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){const{keepUndefined:e}=n??t??{};if(!e)return}return new ll(e,r,n).toString(n)},visit:ca,visitAsync:ua});function gu(e,t){return e&&"run"in e?async function(n,r){const s=Or(n,t);await e.run(s,r)}:function(n){return Or(n,t||e)}}function Tu(e){const t={...this.data("settings"),...e};this.compiler=function(e){return Vs(e,t)}}const Au=/[#.]/g;const _u=new Set(["button","menu","reset","submit"]),yu={}.hasOwnProperty;function bu(e,t,n){const r=n&&function(e){const t={};let n=-1;for(;++n-1&&ee)return{line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e}},toOffset:function(e){const t=e&&e.line,r=e&&e.column;if("number"==typeof t&&"number"==typeof r&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){const e=(n[t-2]||0)+r-1||0;if(e>-1&&e=55296&&e<=57343}function eh(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function th(e){return e>=64976&&e<=65007||ju.has(e)}var nh;!function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"}(nh=nh||(nh={}));class rh{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){const{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.html.charCodeAt(this.pos+1);if(function(e){return e>=56320&&e<=57343}(t))return this.pos++,this._addGap(),1024*(e-55296)+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Vu.EOF;return this._err(nh.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Vu.EOF;const n=this.html.charCodeAt(t);return n===Vu.CARRIAGE_RETURN?Vu.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Vu.EOF;let e=this.html.charCodeAt(this.pos);if(e===Vu.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,Vu.LINE_FEED;if(e===Vu.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,Zu(e)&&(e=this._processSurrogate(e));return null===this.handler.onParseError||e>31&&e<127||e===Vu.LINE_FEED||e===Vu.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){eh(e)?this._err(nh.controlCharacterInInputStream):th(e)&&this._err(nh.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}!function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"}(sh=sh||(sh={}));var oh,ah=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e=>e.charCodeAt(0)))),ch=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));const lh=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),uh=null!==(oh=String.fromCodePoint)&&void 0!==oh?oh:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};var hh;!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(hh||(hh={}));var ph,fh,dh,mh,Eh,gh,Th,Ah;function _h(e){return e>=hh.ZERO&&e<=hh.NINE}function yh(e){return e>=hh.UPPER_A&&e<=hh.UPPER_F||e>=hh.LOWER_A&&e<=hh.LOWER_F}function bh(e){return e===hh.EQUALS||function(e){return e>=hh.UPPER_A&&e<=hh.UPPER_Z||e>=hh.LOWER_A&&e<=hh.LOWER_Z||_h(e)}(e)}!function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(ph||(ph={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(fh||(fh={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(dh||(dh={}));class kh{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=fh.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=dh.Strict}startEntity(e){this.decodeMode=e,this.state=fh.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case fh.EntityStart:return e.charCodeAt(t)===hh.NUM?(this.state=fh.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=fh.NamedEntity,this.stateNamedEntity(e,t));case fh.NumericStart:return this.stateNumericStart(e,t);case fh.NumericDecimal:return this.stateNumericDecimal(e,t);case fh.NumericHex:return this.stateNumericHex(e,t);case fh.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===hh.LOWER_X?(this.state=fh.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=fh.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){const s=n-t;this.result=this.result*Math.pow(r,s)+parseInt(e.substr(t,s),r),this.consumed+=s}}stateNumericHex(e,t){const n=t;for(;t=55296&&e<=57343||e>1114111?65533:null!==(t=lh.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(e!==hh.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this;let r=n[this.treeIndex],s=(r&ph.VALUE_LENGTH)>>14;for(;t>14,0!==s){if(i===hh.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==dh.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this,r=(n[t]&ph.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~ph.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case fh.NamedEntity:return 0===this.result||this.decodeMode===dh.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case fh.NumericDecimal:return this.emitNumericEntity(0,2);case fh.NumericHex:return this.emitNumericEntity(0,3);case fh.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case fh.EntityStart:return 0}}}function Nh(e){let t="";const n=new kh(e,(e=>t+=uh(e)));return function(e,r){let s=0,i=0;for(;(i=e.indexOf("&",i))>=0;){t+=e.slice(s,i),n.startEntity(r);const o=n.write(e,i+1);if(o<0){s=i+n.end();break}s=i+o,i=0===o?s+1:s}const o=t+e.slice(s);return t="",o}}function Sh(e,t,n,r){const s=(t&ph.BRANCH_LENGTH)>>7,i=t&ph.JUMP_TABLE;if(0===s)return 0!==i&&r===i?n:-1;if(i){const t=r-i;return t<0||t>=s?-1:e[n+t]-1}let o=n,a=o+s-1;for(;o<=a;){const t=o+a>>>1,n=e[t];if(nr))return e[t+s];a=t-1}}return-1}Nh(ah),Nh(ch),function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"}(mh=mh||(mh={})),function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"}(Eh=Eh||(Eh={})),function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"}(gh=gh||(gh={})),function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"}(Th=Th||(Th={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SECTION=94]="SECTION",e[e.SELECT=95]="SELECT",e[e.SOURCE=96]="SOURCE",e[e.SMALL=97]="SMALL",e[e.SPAN=98]="SPAN",e[e.STRIKE=99]="STRIKE",e[e.STRONG=100]="STRONG",e[e.STYLE=101]="STYLE",e[e.SUB=102]="SUB",e[e.SUMMARY=103]="SUMMARY",e[e.SUP=104]="SUP",e[e.TABLE=105]="TABLE",e[e.TBODY=106]="TBODY",e[e.TEMPLATE=107]="TEMPLATE",e[e.TEXTAREA=108]="TEXTAREA",e[e.TFOOT=109]="TFOOT",e[e.TD=110]="TD",e[e.TH=111]="TH",e[e.THEAD=112]="THEAD",e[e.TITLE=113]="TITLE",e[e.TR=114]="TR",e[e.TRACK=115]="TRACK",e[e.TT=116]="TT",e[e.U=117]="U",e[e.UL=118]="UL",e[e.SVG=119]="SVG",e[e.VAR=120]="VAR",e[e.WBR=121]="WBR",e[e.XMP=122]="XMP"}(Ah=Ah||(Ah={}));const Ch=new Map([[Th.A,Ah.A],[Th.ADDRESS,Ah.ADDRESS],[Th.ANNOTATION_XML,Ah.ANNOTATION_XML],[Th.APPLET,Ah.APPLET],[Th.AREA,Ah.AREA],[Th.ARTICLE,Ah.ARTICLE],[Th.ASIDE,Ah.ASIDE],[Th.B,Ah.B],[Th.BASE,Ah.BASE],[Th.BASEFONT,Ah.BASEFONT],[Th.BGSOUND,Ah.BGSOUND],[Th.BIG,Ah.BIG],[Th.BLOCKQUOTE,Ah.BLOCKQUOTE],[Th.BODY,Ah.BODY],[Th.BR,Ah.BR],[Th.BUTTON,Ah.BUTTON],[Th.CAPTION,Ah.CAPTION],[Th.CENTER,Ah.CENTER],[Th.CODE,Ah.CODE],[Th.COL,Ah.COL],[Th.COLGROUP,Ah.COLGROUP],[Th.DD,Ah.DD],[Th.DESC,Ah.DESC],[Th.DETAILS,Ah.DETAILS],[Th.DIALOG,Ah.DIALOG],[Th.DIR,Ah.DIR],[Th.DIV,Ah.DIV],[Th.DL,Ah.DL],[Th.DT,Ah.DT],[Th.EM,Ah.EM],[Th.EMBED,Ah.EMBED],[Th.FIELDSET,Ah.FIELDSET],[Th.FIGCAPTION,Ah.FIGCAPTION],[Th.FIGURE,Ah.FIGURE],[Th.FONT,Ah.FONT],[Th.FOOTER,Ah.FOOTER],[Th.FOREIGN_OBJECT,Ah.FOREIGN_OBJECT],[Th.FORM,Ah.FORM],[Th.FRAME,Ah.FRAME],[Th.FRAMESET,Ah.FRAMESET],[Th.H1,Ah.H1],[Th.H2,Ah.H2],[Th.H3,Ah.H3],[Th.H4,Ah.H4],[Th.H5,Ah.H5],[Th.H6,Ah.H6],[Th.HEAD,Ah.HEAD],[Th.HEADER,Ah.HEADER],[Th.HGROUP,Ah.HGROUP],[Th.HR,Ah.HR],[Th.HTML,Ah.HTML],[Th.I,Ah.I],[Th.IMG,Ah.IMG],[Th.IMAGE,Ah.IMAGE],[Th.INPUT,Ah.INPUT],[Th.IFRAME,Ah.IFRAME],[Th.KEYGEN,Ah.KEYGEN],[Th.LABEL,Ah.LABEL],[Th.LI,Ah.LI],[Th.LINK,Ah.LINK],[Th.LISTING,Ah.LISTING],[Th.MAIN,Ah.MAIN],[Th.MALIGNMARK,Ah.MALIGNMARK],[Th.MARQUEE,Ah.MARQUEE],[Th.MATH,Ah.MATH],[Th.MENU,Ah.MENU],[Th.META,Ah.META],[Th.MGLYPH,Ah.MGLYPH],[Th.MI,Ah.MI],[Th.MO,Ah.MO],[Th.MN,Ah.MN],[Th.MS,Ah.MS],[Th.MTEXT,Ah.MTEXT],[Th.NAV,Ah.NAV],[Th.NOBR,Ah.NOBR],[Th.NOFRAMES,Ah.NOFRAMES],[Th.NOEMBED,Ah.NOEMBED],[Th.NOSCRIPT,Ah.NOSCRIPT],[Th.OBJECT,Ah.OBJECT],[Th.OL,Ah.OL],[Th.OPTGROUP,Ah.OPTGROUP],[Th.OPTION,Ah.OPTION],[Th.P,Ah.P],[Th.PARAM,Ah.PARAM],[Th.PLAINTEXT,Ah.PLAINTEXT],[Th.PRE,Ah.PRE],[Th.RB,Ah.RB],[Th.RP,Ah.RP],[Th.RT,Ah.RT],[Th.RTC,Ah.RTC],[Th.RUBY,Ah.RUBY],[Th.S,Ah.S],[Th.SCRIPT,Ah.SCRIPT],[Th.SECTION,Ah.SECTION],[Th.SELECT,Ah.SELECT],[Th.SOURCE,Ah.SOURCE],[Th.SMALL,Ah.SMALL],[Th.SPAN,Ah.SPAN],[Th.STRIKE,Ah.STRIKE],[Th.STRONG,Ah.STRONG],[Th.STYLE,Ah.STYLE],[Th.SUB,Ah.SUB],[Th.SUMMARY,Ah.SUMMARY],[Th.SUP,Ah.SUP],[Th.TABLE,Ah.TABLE],[Th.TBODY,Ah.TBODY],[Th.TEMPLATE,Ah.TEMPLATE],[Th.TEXTAREA,Ah.TEXTAREA],[Th.TFOOT,Ah.TFOOT],[Th.TD,Ah.TD],[Th.TH,Ah.TH],[Th.THEAD,Ah.THEAD],[Th.TITLE,Ah.TITLE],[Th.TR,Ah.TR],[Th.TRACK,Ah.TRACK],[Th.TT,Ah.TT],[Th.U,Ah.U],[Th.UL,Ah.UL],[Th.SVG,Ah.SVG],[Th.VAR,Ah.VAR],[Th.WBR,Ah.WBR],[Th.XMP,Ah.XMP]]);function Ih(e){var t;return null!==(t=Ch.get(e))&&void 0!==t?t:Ah.UNKNOWN}const Oh=Ah,Dh={[mh.HTML]:new Set([Oh.ADDRESS,Oh.APPLET,Oh.AREA,Oh.ARTICLE,Oh.ASIDE,Oh.BASE,Oh.BASEFONT,Oh.BGSOUND,Oh.BLOCKQUOTE,Oh.BODY,Oh.BR,Oh.BUTTON,Oh.CAPTION,Oh.CENTER,Oh.COL,Oh.COLGROUP,Oh.DD,Oh.DETAILS,Oh.DIR,Oh.DIV,Oh.DL,Oh.DT,Oh.EMBED,Oh.FIELDSET,Oh.FIGCAPTION,Oh.FIGURE,Oh.FOOTER,Oh.FORM,Oh.FRAME,Oh.FRAMESET,Oh.H1,Oh.H2,Oh.H3,Oh.H4,Oh.H5,Oh.H6,Oh.HEAD,Oh.HEADER,Oh.HGROUP,Oh.HR,Oh.HTML,Oh.IFRAME,Oh.IMG,Oh.INPUT,Oh.LI,Oh.LINK,Oh.LISTING,Oh.MAIN,Oh.MARQUEE,Oh.MENU,Oh.META,Oh.NAV,Oh.NOEMBED,Oh.NOFRAMES,Oh.NOSCRIPT,Oh.OBJECT,Oh.OL,Oh.P,Oh.PARAM,Oh.PLAINTEXT,Oh.PRE,Oh.SCRIPT,Oh.SECTION,Oh.SELECT,Oh.SOURCE,Oh.STYLE,Oh.SUMMARY,Oh.TABLE,Oh.TBODY,Oh.TD,Oh.TEMPLATE,Oh.TEXTAREA,Oh.TFOOT,Oh.TH,Oh.THEAD,Oh.TITLE,Oh.TR,Oh.TRACK,Oh.UL,Oh.WBR,Oh.XMP]),[mh.MATHML]:new Set([Oh.MI,Oh.MO,Oh.MN,Oh.MS,Oh.MTEXT,Oh.ANNOTATION_XML]),[mh.SVG]:new Set([Oh.TITLE,Oh.FOREIGN_OBJECT,Oh.DESC]),[mh.XLINK]:new Set,[mh.XML]:new Set,[mh.XMLNS]:new Set};function Lh(e){return e===Oh.H1||e===Oh.H2||e===Oh.H3||e===Oh.H4||e===Oh.H5||e===Oh.H6}new Set([Th.STYLE,Th.SCRIPT,Th.XMP,Th.IFRAME,Th.NOEMBED,Th.NOFRAMES,Th.PLAINTEXT]);const Rh=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);var vh;!function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",e[e.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",e[e.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",e[e.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",e[e.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",e[e.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"}(vh||(vh={}));const wh={DATA:vh.DATA,RCDATA:vh.RCDATA,RAWTEXT:vh.RAWTEXT,SCRIPT_DATA:vh.SCRIPT_DATA,PLAINTEXT:vh.PLAINTEXT,CDATA_SECTION:vh.CDATA_SECTION};function Mh(e){return e>=Vu.DIGIT_0&&e<=Vu.DIGIT_9}function Ph(e){return e>=Vu.LATIN_CAPITAL_A&&e<=Vu.LATIN_CAPITAL_Z}function xh(e){return function(e){return e>=Vu.LATIN_SMALL_A&&e<=Vu.LATIN_SMALL_Z}(e)||Ph(e)}function Bh(e){return xh(e)||Mh(e)}function Fh(e){return e>=Vu.LATIN_CAPITAL_A&&e<=Vu.LATIN_CAPITAL_F}function Uh(e){return e>=Vu.LATIN_SMALL_A&&e<=Vu.LATIN_SMALL_F}function Hh(e){return e+32}function Gh(e){return e===Vu.SPACE||e===Vu.LINE_FEED||e===Vu.TABULATION||e===Vu.FORM_FEED}function qh(e){return Gh(e)||e===Vu.SOLIDUS||e===Vu.GREATER_THAN_SIGN}class Yh{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=vh.DATA,this.returnState=vh.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new rh(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(nh.endTagWithAttributes),e.selfClosing&&this._err(nh.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case sh.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case sh.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case sh.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:sh.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type===e)return void(this.currentCharacterToken.chars+=t);this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk()}this._createCharacterToken(e,t)}_emitCodePoint(e){const t=Gh(e)?sh.WHITESPACE_CHARACTER:e===Vu.NULL?sh.NULL_CHARACTER:sh.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(sh.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=ah[0];i>=0&&(i=Sh(ah,o,i+1,e),!(i<0));e=this._consume()){n+=1,o=ah[i];const a=o&ph.VALUE_LENGTH;if(a){const o=(a>>14)-1;if(e!==Vu.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((s=this.preprocessor.peek(1))===Vu.EQUALS_SIGN||Bh(s))?(t=[Vu.AMPERSAND],i+=o):(t=0===o?[ah[i]&~ph.VALUE_LENGTH]:1===o?[ah[++i]]:[ah[++i],ah[++i]],n=0,r=e!==Vu.SEMICOLON),0===o){this._consume();break}}}var s;return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(nh.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===vh.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===vh.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===vh.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case vh.DATA:this._stateData(e);break;case vh.RCDATA:this._stateRcdata(e);break;case vh.RAWTEXT:this._stateRawtext(e);break;case vh.SCRIPT_DATA:this._stateScriptData(e);break;case vh.PLAINTEXT:this._statePlaintext(e);break;case vh.TAG_OPEN:this._stateTagOpen(e);break;case vh.END_TAG_OPEN:this._stateEndTagOpen(e);break;case vh.TAG_NAME:this._stateTagName(e);break;case vh.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case vh.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case vh.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case vh.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case vh.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case vh.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case vh.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case vh.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case vh.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case vh.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case vh.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case vh.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case vh.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case vh.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case vh.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case vh.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case vh.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case vh.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case vh.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case vh.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case vh.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case vh.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case vh.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case vh.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case vh.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case vh.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case vh.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case vh.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case vh.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case vh.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case vh.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case vh.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case vh.BOGUS_COMMENT:this._stateBogusComment(e);break;case vh.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case vh.COMMENT_START:this._stateCommentStart(e);break;case vh.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case vh.COMMENT:this._stateComment(e);break;case vh.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case vh.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case vh.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case vh.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case vh.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case vh.COMMENT_END:this._stateCommentEnd(e);break;case vh.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case vh.DOCTYPE:this._stateDoctype(e);break;case vh.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case vh.DOCTYPE_NAME:this._stateDoctypeName(e);break;case vh.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case vh.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case vh.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case vh.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case vh.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case vh.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case vh.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case vh.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case vh.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case vh.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case vh.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case vh.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case vh.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case vh.CDATA_SECTION:this._stateCdataSection(e);break;case vh.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case vh.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case vh.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case vh.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case vh.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case vh.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case vh.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case vh.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case vh.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case vh.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw new Error("Unknown state")}}_stateData(e){switch(e){case Vu.LESS_THAN_SIGN:this.state=vh.TAG_OPEN;break;case Vu.AMPERSAND:this.returnState=vh.DATA,this.state=vh.CHARACTER_REFERENCE;break;case Vu.NULL:this._err(nh.unexpectedNullCharacter),this._emitCodePoint(e);break;case Vu.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case Vu.AMPERSAND:this.returnState=vh.RCDATA,this.state=vh.CHARACTER_REFERENCE;break;case Vu.LESS_THAN_SIGN:this.state=vh.RCDATA_LESS_THAN_SIGN;break;case Vu.NULL:this._err(nh.unexpectedNullCharacter),this._emitChars(zu);break;case Vu.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case Vu.LESS_THAN_SIGN:this.state=vh.RAWTEXT_LESS_THAN_SIGN;break;case Vu.NULL:this._err(nh.unexpectedNullCharacter),this._emitChars(zu);break;case Vu.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case Vu.LESS_THAN_SIGN:this.state=vh.SCRIPT_DATA_LESS_THAN_SIGN;break;case Vu.NULL:this._err(nh.unexpectedNullCharacter),this._emitChars(zu);break;case Vu.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case Vu.NULL:this._err(nh.unexpectedNullCharacter),this._emitChars(zu);break;case Vu.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(xh(e))this._createStartTagToken(),this.state=vh.TAG_NAME,this._stateTagName(e);else switch(e){case Vu.EXCLAMATION_MARK:this.state=vh.MARKUP_DECLARATION_OPEN;break;case Vu.SOLIDUS:this.state=vh.END_TAG_OPEN;break;case Vu.QUESTION_MARK:this._err(nh.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=vh.BOGUS_COMMENT,this._stateBogusComment(e);break;case Vu.EOF:this._err(nh.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(nh.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=vh.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(xh(e))this._createEndTagToken(),this.state=vh.TAG_NAME,this._stateTagName(e);else switch(e){case Vu.GREATER_THAN_SIGN:this._err(nh.missingEndTagName),this.state=vh.DATA;break;case Vu.EOF:this._err(nh.eofBeforeTagName),this._emitChars("");break;case Vu.NULL:this._err(nh.unexpectedNullCharacter),this.state=vh.SCRIPT_DATA_ESCAPED,this._emitChars(zu);break;case Vu.EOF:this._err(nh.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=vh.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===Vu.SOLIDUS?this.state=vh.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:xh(e)?(this._emitChars("<"),this.state=vh.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=vh.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){xh(e)?(this.state=vh.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case Vu.NULL:this._err(nh.unexpectedNullCharacter),this.state=vh.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(zu);break;case Vu.EOF:this._err(nh.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=vh.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===Vu.SOLIDUS?(this.state=vh.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=vh.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(Wu,!1)&&qh(this.preprocessor.peek(Wu.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(nh.characterReferenceOutsideUnicodeRange),this.charRefCode=Vu.REPLACEMENT_CHARACTER;else if(Zu(this.charRefCode))this._err(nh.surrogateCharacterReference),this.charRefCode=Vu.REPLACEMENT_CHARACTER;else if(th(this.charRefCode))this._err(nh.noncharacterCharacterReference);else if(eh(this.charRefCode)||this.charRefCode===Vu.CARRIAGE_RETURN){this._err(nh.controlCharacterReference);const e=Rh.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}const jh=new Set([Ah.DD,Ah.DT,Ah.LI,Ah.OPTGROUP,Ah.OPTION,Ah.P,Ah.RB,Ah.RP,Ah.RT,Ah.RTC]),zh=new Set([...jh,Ah.CAPTION,Ah.COLGROUP,Ah.TBODY,Ah.TD,Ah.TFOOT,Ah.TH,Ah.THEAD,Ah.TR]),Vh=new Map([[Ah.APPLET,mh.HTML],[Ah.CAPTION,mh.HTML],[Ah.HTML,mh.HTML],[Ah.MARQUEE,mh.HTML],[Ah.OBJECT,mh.HTML],[Ah.TABLE,mh.HTML],[Ah.TD,mh.HTML],[Ah.TEMPLATE,mh.HTML],[Ah.TH,mh.HTML],[Ah.ANNOTATION_XML,mh.MATHML],[Ah.MI,mh.MATHML],[Ah.MN,mh.MATHML],[Ah.MO,mh.MATHML],[Ah.MS,mh.MATHML],[Ah.MTEXT,mh.MATHML],[Ah.DESC,mh.SVG],[Ah.FOREIGN_OBJECT,mh.SVG],[Ah.TITLE,mh.SVG]]),Kh=[Ah.H1,Ah.H2,Ah.H3,Ah.H4,Ah.H5,Ah.H6],$h=[Ah.TR,Ah.TEMPLATE,Ah.HTML],Qh=[Ah.TBODY,Ah.TFOOT,Ah.THEAD,Ah.TEMPLATE,Ah.HTML],Wh=[Ah.TABLE,Ah.TEMPLATE,Ah.HTML],Xh=[Ah.TD,Ah.TH];class Jh{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=Ah.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===Ah.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===mh.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){const r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do{t=this.tagIDs.lastIndexOf(e,t-1)}while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==mh.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return-1}clearBackTo(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(Wh,mh.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Qh,mh.HTML)}clearBackToTableRowContext(){this.clearBackTo($h,mh.HTML)}remove(e){const t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===Ah.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===Ah.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===mh.HTML)return!0;if(Vh.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(Lh(t)&&n===mh.HTML)return!0;if(Vh.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===mh.HTML)return!0;if((n===Ah.UL||n===Ah.OL)&&r===mh.HTML||Vh.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===mh.HTML)return!0;if(n===Ah.BUTTON&&r===mh.HTML||Vh.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===mh.HTML){if(n===e)return!0;if(n===Ah.TABLE||n===Ah.TEMPLATE||n===Ah.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];if(this.treeAdapter.getNamespaceURI(this.items[e])===mh.HTML){if(t===Ah.TBODY||t===Ah.THEAD||t===Ah.TFOOT)return!0;if(t===Ah.TABLE||t===Ah.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===mh.HTML){if(n===e)return!0;if(n!==Ah.OPTION&&n!==Ah.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;jh.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;zh.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&zh.has(this.currentTagId);)this.pop()}}var Zh;!function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"}(Zh=Zh||(Zh={}));const ep={type:Zh.Marker};class tp{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){const n=[],r=t.length,s=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])));let s=0;for(let e=0;er.get(e.name)===e.value))&&(s+=1,s>=3&&this.entries.splice(t.idx,1))}}insertMarker(){this.entries.unshift(ep)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:Zh.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:Zh.Element,element:e,token:t})}removeEntry(e){const t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){const e=this.entries.indexOf(ep);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){const t=this.entries.find((t=>t.type===Zh.Marker||this.treeAdapter.getTagName(t.element)===e));return t&&t.type===Zh.Element?t:null}getElementEntry(e){return this.entries.find((t=>t.type===Zh.Element&&t.element===e))}}function np(e){return{nodeName:"#text",value:e,parentNode:null}}const rp={createDocument:()=>({nodeName:"#document",mode:gh.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){const s=e.childNodes.find((e=>"#documentType"===e.nodeName));if(s)s.name=t,s.publicId=n,s.systemId=r;else{const s={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};rp.appendChild(e,s)}},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(rp.isTextNode(n))return void(n.value+=t)}rp.appendChild(e,np(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&rp.isTextNode(r)?r.value+=t:rp.insertBefore(e,np(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map((e=>e.name)));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},sp="html",ip="about:legacy-compat",op="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",ap=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],cp=[...ap,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],lp=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),up=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],hp=[...up,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function pp(e,t){return t.some((t=>e.startsWith(t)))}const fp={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},dp="definitionurl",mp="definitionURL",Ep=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((e=>[e.toLowerCase(),e]))),gp=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:mh.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:mh.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:mh.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:mh.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:mh.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:mh.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:mh.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:mh.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:mh.XML}],["xml:space",{prefix:"xml",name:"space",namespace:mh.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:mh.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:mh.XMLNS}]]),Tp=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((e=>[e.toLowerCase(),e]))),Ap=new Set([Ah.B,Ah.BIG,Ah.BLOCKQUOTE,Ah.BODY,Ah.BR,Ah.CENTER,Ah.CODE,Ah.DD,Ah.DIV,Ah.DL,Ah.DT,Ah.EM,Ah.EMBED,Ah.H1,Ah.H2,Ah.H3,Ah.H4,Ah.H5,Ah.H6,Ah.HEAD,Ah.HR,Ah.I,Ah.IMG,Ah.LI,Ah.LISTING,Ah.MENU,Ah.META,Ah.NOBR,Ah.OL,Ah.P,Ah.PRE,Ah.RUBY,Ah.S,Ah.SMALL,Ah.SPAN,Ah.STRONG,Ah.STRIKE,Ah.SUB,Ah.SUP,Ah.TABLE,Ah.TT,Ah.U,Ah.UL,Ah.VAR]);function _p(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):({current:e,currentTagId:t}=this.openElements),this._setContextModes(e,t)}}_setContextModes(e,t){const n=e===this.document||this.treeAdapter.getNamespaceURI(e)===mh.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,mh.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=Ip.TEXT}switchToPlaintextParsing(){this.insertionMode=Ip.TEXT,this.originalInsertionMode=Ip.IN_BODY,this.tokenizer.state=wh.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===Th.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===mh.HTML)switch(this.fragmentContextID){case Ah.TITLE:case Ah.TEXTAREA:this.tokenizer.state=wh.RCDATA;break;case Ah.STYLE:case Ah.XMP:case Ah.IFRAME:case Ah.NOEMBED:case Ah.NOFRAMES:case Ah.NOSCRIPT:this.tokenizer.state=wh.RAWTEXT;break;case Ah.SCRIPT:this.tokenizer.state=wh.SCRIPT_DATA;break;case Ah.PLAINTEXT:this.tokenizer.state=wh.PLAINTEXT}}_setDocumentType(e){const t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){const t=this.treeAdapter.getChildNodes(this.document).find((e=>this.treeAdapter.isDocumentTypeNode(e)));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){const n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){const n=this.treeAdapter.createElement(e,mh.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,mh.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(Th.HTML,mh.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,Ah.HTML)}_appendCommentNode(e,t){const n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?(({parent:t,beforeElement:n}=this._findFosterParentingLocation()),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;const r=this.treeAdapter.getChildNodes(t),s=n?r.lastIndexOf(n):r.length,i=r[s-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){const{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const n=t.location,r=this.treeAdapter.getTagName(e),s=t.type===sh.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,s)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,n;return 0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):({current:t,currentTagId:n}=this.openElements),(e.tagID!==Ah.SVG||this.treeAdapter.getTagName(t)!==Th.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==mh.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===Ah.MGLYPH||e.tagID===Ah.MALIGNMARK)&&!this._isIntegrationPoint(n,t,mh.HTML))}_processToken(e){switch(e.type){case sh.CHARACTER:this.onCharacter(e);break;case sh.NULL_CHARACTER:this.onNullCharacter(e);break;case sh.COMMENT:this.onComment(e);break;case sh.DOCTYPE:this.onDoctype(e);break;case sh.START_TAG:this._processStartTag(e);break;case sh.END_TAG:this.onEndTag(e);break;case sh.EOF:this.onEof(e);break;case sh.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){return kp(e,this.treeAdapter.getNamespaceURI(t),this.treeAdapter.getAttrList(t),n)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.entries.length;if(e){const t=this.activeFormattingElements.entries.findIndex((e=>e.type===Zh.Marker||this.openElements.contains(e.element)));for(let n=t<0?e-1:t-1;n>=0;n--){const e=this.activeFormattingElements.entries[n];this._insertElement(e.token,this.treeAdapter.getNamespaceURI(e.element)),e.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Ip.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(Ah.P),this.openElements.popUntilTagNamePopped(Ah.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case Ah.TR:return void(this.insertionMode=Ip.IN_ROW);case Ah.TBODY:case Ah.THEAD:case Ah.TFOOT:return void(this.insertionMode=Ip.IN_TABLE_BODY);case Ah.CAPTION:return void(this.insertionMode=Ip.IN_CAPTION);case Ah.COLGROUP:return void(this.insertionMode=Ip.IN_COLUMN_GROUP);case Ah.TABLE:return void(this.insertionMode=Ip.IN_TABLE);case Ah.BODY:return void(this.insertionMode=Ip.IN_BODY);case Ah.FRAMESET:return void(this.insertionMode=Ip.IN_FRAMESET);case Ah.SELECT:return void this._resetInsertionModeForSelect(e);case Ah.TEMPLATE:return void(this.insertionMode=this.tmplInsertionModeStack[0]);case Ah.HTML:return void(this.insertionMode=this.headElement?Ip.AFTER_HEAD:Ip.BEFORE_HEAD);case Ah.TD:case Ah.TH:if(e>0)return void(this.insertionMode=Ip.IN_CELL);break;case Ah.HEAD:if(e>0)return void(this.insertionMode=Ip.IN_HEAD)}this.insertionMode=Ip.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.tagIDs[t];if(e===Ah.TEMPLATE)break;if(e===Ah.TABLE)return void(this.insertionMode=Ip.IN_SELECT_IN_TABLE)}this.insertionMode=Ip.IN_SELECT}_isElementCausesFosterParenting(e){return Dp.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case Ah.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===mh.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case Ah.TABLE:{const n=this.treeAdapter.getParentNode(t);return n?{parent:n,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){const n=this.treeAdapter.getNamespaceURI(e);return Dh[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e);else switch(this.insertionMode){case Ip.INITIAL:Gp(this,e);break;case Ip.BEFORE_HTML:qp(this,e);break;case Ip.BEFORE_HEAD:Yp(this,e);break;case Ip.IN_HEAD:Vp(this,e);break;case Ip.IN_HEAD_NO_SCRIPT:Kp(this,e);break;case Ip.AFTER_HEAD:$p(this,e);break;case Ip.IN_BODY:case Ip.IN_CAPTION:case Ip.IN_CELL:case Ip.IN_TEMPLATE:Xp(this,e);break;case Ip.TEXT:case Ip.IN_SELECT:case Ip.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case Ip.IN_TABLE:case Ip.IN_TABLE_BODY:case Ip.IN_ROW:af(this,e);break;case Ip.IN_TABLE_TEXT:pf(this,e);break;case Ip.IN_COLUMN_GROUP:Ef(this,e);break;case Ip.AFTER_BODY:Sf(this,e);break;case Ip.AFTER_AFTER_BODY:Cf(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){t.chars=zu,e._insertCharacters(t)}(this,e);else switch(this.insertionMode){case Ip.INITIAL:Gp(this,e);break;case Ip.BEFORE_HTML:qp(this,e);break;case Ip.BEFORE_HEAD:Yp(this,e);break;case Ip.IN_HEAD:Vp(this,e);break;case Ip.IN_HEAD_NO_SCRIPT:Kp(this,e);break;case Ip.AFTER_HEAD:$p(this,e);break;case Ip.TEXT:this._insertCharacters(e);break;case Ip.IN_TABLE:case Ip.IN_TABLE_BODY:case Ip.IN_ROW:af(this,e);break;case Ip.IN_COLUMN_GROUP:Ef(this,e);break;case Ip.AFTER_BODY:Sf(this,e);break;case Ip.AFTER_AFTER_BODY:Cf(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML)Up(this,e);else switch(this.insertionMode){case Ip.INITIAL:case Ip.BEFORE_HTML:case Ip.BEFORE_HEAD:case Ip.IN_HEAD:case Ip.IN_HEAD_NO_SCRIPT:case Ip.AFTER_HEAD:case Ip.IN_BODY:case Ip.IN_TABLE:case Ip.IN_CAPTION:case Ip.IN_COLUMN_GROUP:case Ip.IN_TABLE_BODY:case Ip.IN_ROW:case Ip.IN_CELL:case Ip.IN_SELECT:case Ip.IN_SELECT_IN_TABLE:case Ip.IN_TEMPLATE:case Ip.IN_FRAMESET:case Ip.AFTER_FRAMESET:Up(this,e);break;case Ip.IN_TABLE_TEXT:ff(this,e);break;case Ip.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case Ip.AFTER_AFTER_BODY:case Ip.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case Ip.INITIAL:!function(e,t){e._setDocumentType(t);const n=t.forceQuirks?gh.QUIRKS:function(e){if(e.name!==sp)return gh.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===op)return gh.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),lp.has(n))return gh.QUIRKS;let e=null===t?cp:ap;if(pp(n,e))return gh.QUIRKS;if(e=null===t?up:hp,pp(n,e))return gh.LIMITED_QUIRKS}return gh.NO_QUIRKS}(t);(function(e){return e.name===sp&&null===e.publicId&&(null===e.systemId||e.systemId===ip)})(t)||e._err(t,nh.nonConformingDoctype);e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=Ip.BEFORE_HTML}(this,e);break;case Ip.BEFORE_HEAD:case Ip.IN_HEAD:case Ip.IN_HEAD_NO_SCRIPT:case Ip.AFTER_HEAD:this._err(e,nh.misplacedDoctype);break;case Ip.IN_TABLE_TEXT:ff(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,nh.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){const t=e.tagID;return t===Ah.FONT&&e.attrs.some((({name:e})=>e===Eh.COLOR||e===Eh.SIZE||e===Eh.FACE))||Ap.has(t)}(t))If(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===mh.MATHML?_p(t):r===mh.SVG&&(!function(e){const t=Tp.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=Ih(e.tagName))}(t),yp(t)),bp(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case Ip.INITIAL:Gp(this,e);break;case Ip.BEFORE_HTML:!function(e,t){t.tagID===Ah.HTML?(e._insertElement(t,mh.HTML),e.insertionMode=Ip.BEFORE_HEAD):qp(e,t)}(this,e);break;case Ip.BEFORE_HEAD:!function(e,t){switch(t.tagID){case Ah.HTML:nf(e,t);break;case Ah.HEAD:e._insertElement(t,mh.HTML),e.headElement=e.openElements.current,e.insertionMode=Ip.IN_HEAD;break;default:Yp(e,t)}}(this,e);break;case Ip.IN_HEAD:jp(this,e);break;case Ip.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case Ah.HTML:nf(e,t);break;case Ah.BASEFONT:case Ah.BGSOUND:case Ah.HEAD:case Ah.LINK:case Ah.META:case Ah.NOFRAMES:case Ah.STYLE:jp(e,t);break;case Ah.NOSCRIPT:e._err(t,nh.nestedNoscriptInHead);break;default:Kp(e,t)}}(this,e);break;case Ip.AFTER_HEAD:!function(e,t){switch(t.tagID){case Ah.HTML:nf(e,t);break;case Ah.BODY:e._insertElement(t,mh.HTML),e.framesetOk=!1,e.insertionMode=Ip.IN_BODY;break;case Ah.FRAMESET:e._insertElement(t,mh.HTML),e.insertionMode=Ip.IN_FRAMESET;break;case Ah.BASE:case Ah.BASEFONT:case Ah.BGSOUND:case Ah.LINK:case Ah.META:case Ah.NOFRAMES:case Ah.SCRIPT:case Ah.STYLE:case Ah.TEMPLATE:case Ah.TITLE:e._err(t,nh.abandonedHeadElementChild),e.openElements.push(e.headElement,Ah.HEAD),jp(e,t),e.openElements.remove(e.headElement);break;case Ah.HEAD:e._err(t,nh.misplacedStartTagForHeadElement);break;default:$p(e,t)}}(this,e);break;case Ip.IN_BODY:nf(this,e);break;case Ip.IN_TABLE:cf(this,e);break;case Ip.IN_TABLE_TEXT:ff(this,e);break;case Ip.IN_CAPTION:!function(e,t){const n=t.tagID;df.has(n)?e.openElements.hasInTableScope(Ah.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Ah.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Ip.IN_TABLE,cf(e,t)):nf(e,t)}(this,e);break;case Ip.IN_COLUMN_GROUP:mf(this,e);break;case Ip.IN_TABLE_BODY:gf(this,e);break;case Ip.IN_ROW:Af(this,e);break;case Ip.IN_CELL:!function(e,t){const n=t.tagID;df.has(n)?(e.openElements.hasInTableScope(Ah.TD)||e.openElements.hasInTableScope(Ah.TH))&&(e._closeTableCell(),Af(e,t)):nf(e,t)}(this,e);break;case Ip.IN_SELECT:yf(this,e);break;case Ip.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===Ah.CAPTION||n===Ah.TABLE||n===Ah.TBODY||n===Ah.TFOOT||n===Ah.THEAD||n===Ah.TR||n===Ah.TD||n===Ah.TH?(e.openElements.popUntilTagNamePopped(Ah.SELECT),e._resetInsertionMode(),e._processStartTag(t)):yf(e,t)}(this,e);break;case Ip.IN_TEMPLATE:!function(e,t){switch(t.tagID){case Ah.BASE:case Ah.BASEFONT:case Ah.BGSOUND:case Ah.LINK:case Ah.META:case Ah.NOFRAMES:case Ah.SCRIPT:case Ah.STYLE:case Ah.TEMPLATE:case Ah.TITLE:jp(e,t);break;case Ah.CAPTION:case Ah.COLGROUP:case Ah.TBODY:case Ah.TFOOT:case Ah.THEAD:e.tmplInsertionModeStack[0]=Ip.IN_TABLE,e.insertionMode=Ip.IN_TABLE,cf(e,t);break;case Ah.COL:e.tmplInsertionModeStack[0]=Ip.IN_COLUMN_GROUP,e.insertionMode=Ip.IN_COLUMN_GROUP,mf(e,t);break;case Ah.TR:e.tmplInsertionModeStack[0]=Ip.IN_TABLE_BODY,e.insertionMode=Ip.IN_TABLE_BODY,gf(e,t);break;case Ah.TD:case Ah.TH:e.tmplInsertionModeStack[0]=Ip.IN_ROW,e.insertionMode=Ip.IN_ROW,Af(e,t);break;default:e.tmplInsertionModeStack[0]=Ip.IN_BODY,e.insertionMode=Ip.IN_BODY,nf(e,t)}}(this,e);break;case Ip.AFTER_BODY:!function(e,t){t.tagID===Ah.HTML?nf(e,t):Sf(e,t)}(this,e);break;case Ip.IN_FRAMESET:!function(e,t){switch(t.tagID){case Ah.HTML:nf(e,t);break;case Ah.FRAMESET:e._insertElement(t,mh.HTML);break;case Ah.FRAME:e._appendElement(t,mh.HTML),t.ackSelfClosing=!0;break;case Ah.NOFRAMES:jp(e,t)}}(this,e);break;case Ip.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case Ah.HTML:nf(e,t);break;case Ah.NOFRAMES:jp(e,t)}}(this,e);break;case Ip.AFTER_AFTER_BODY:!function(e,t){t.tagID===Ah.HTML?nf(e,t):Cf(e,t)}(this,e);break;case Ip.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case Ah.HTML:nf(e,t);break;case Ah.NOFRAMES:jp(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===Ah.P||t.tagID===Ah.BR)return If(e),void e._endTagOutsideForeignContent(t);for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===mh.HTML){e._endTagOutsideForeignContent(t);break}const s=e.treeAdapter.getTagName(r);if(s.toLowerCase()===t.tagName){t.tagName=s,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case Ip.INITIAL:Gp(this,e);break;case Ip.BEFORE_HTML:!function(e,t){const n=t.tagID;n!==Ah.HTML&&n!==Ah.HEAD&&n!==Ah.BODY&&n!==Ah.BR||qp(e,t)}(this,e);break;case Ip.BEFORE_HEAD:!function(e,t){const n=t.tagID;n===Ah.HEAD||n===Ah.BODY||n===Ah.HTML||n===Ah.BR?Yp(e,t):e._err(t,nh.endTagWithoutMatchingOpenElement)}(this,e);break;case Ip.IN_HEAD:!function(e,t){switch(t.tagID){case Ah.HEAD:e.openElements.pop(),e.insertionMode=Ip.AFTER_HEAD;break;case Ah.BODY:case Ah.BR:case Ah.HTML:Vp(e,t);break;case Ah.TEMPLATE:zp(e,t);break;default:e._err(t,nh.endTagWithoutMatchingOpenElement)}}(this,e);break;case Ip.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case Ah.NOSCRIPT:e.openElements.pop(),e.insertionMode=Ip.IN_HEAD;break;case Ah.BR:Kp(e,t);break;default:e._err(t,nh.endTagWithoutMatchingOpenElement)}}(this,e);break;case Ip.AFTER_HEAD:!function(e,t){switch(t.tagID){case Ah.BODY:case Ah.HTML:case Ah.BR:$p(e,t);break;case Ah.TEMPLATE:zp(e,t);break;default:e._err(t,nh.endTagWithoutMatchingOpenElement)}}(this,e);break;case Ip.IN_BODY:sf(this,e);break;case Ip.TEXT:!function(e,t){var n;t.tagID===Ah.SCRIPT&&(null===(n=e.scriptHandler)||void 0===n||n.call(e,e.openElements.current));e.openElements.pop(),e.insertionMode=e.originalInsertionMode}(this,e);break;case Ip.IN_TABLE:lf(this,e);break;case Ip.IN_TABLE_TEXT:ff(this,e);break;case Ip.IN_CAPTION:!function(e,t){const n=t.tagID;switch(n){case Ah.CAPTION:case Ah.TABLE:e.openElements.hasInTableScope(Ah.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Ah.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Ip.IN_TABLE,n===Ah.TABLE&&lf(e,t));break;case Ah.BODY:case Ah.COL:case Ah.COLGROUP:case Ah.HTML:case Ah.TBODY:case Ah.TD:case Ah.TFOOT:case Ah.TH:case Ah.THEAD:case Ah.TR:break;default:sf(e,t)}}(this,e);break;case Ip.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case Ah.COLGROUP:e.openElements.currentTagId===Ah.COLGROUP&&(e.openElements.pop(),e.insertionMode=Ip.IN_TABLE);break;case Ah.TEMPLATE:zp(e,t);break;case Ah.COL:break;default:Ef(e,t)}}(this,e);break;case Ip.IN_TABLE_BODY:Tf(this,e);break;case Ip.IN_ROW:_f(this,e);break;case Ip.IN_CELL:!function(e,t){const n=t.tagID;switch(n){case Ah.TD:case Ah.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Ip.IN_ROW);break;case Ah.TABLE:case Ah.TBODY:case Ah.TFOOT:case Ah.THEAD:case Ah.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),_f(e,t));break;case Ah.BODY:case Ah.CAPTION:case Ah.COL:case Ah.COLGROUP:case Ah.HTML:break;default:sf(e,t)}}(this,e);break;case Ip.IN_SELECT:bf(this,e);break;case Ip.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===Ah.CAPTION||n===Ah.TABLE||n===Ah.TBODY||n===Ah.TFOOT||n===Ah.THEAD||n===Ah.TR||n===Ah.TD||n===Ah.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(Ah.SELECT),e._resetInsertionMode(),e.onEndTag(t)):bf(e,t)}(this,e);break;case Ip.IN_TEMPLATE:!function(e,t){t.tagID===Ah.TEMPLATE&&zp(e,t)}(this,e);break;case Ip.AFTER_BODY:Nf(this,e);break;case Ip.IN_FRAMESET:!function(e,t){t.tagID!==Ah.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagId===Ah.FRAMESET||(e.insertionMode=Ip.AFTER_FRAMESET))}(this,e);break;case Ip.AFTER_FRAMESET:!function(e,t){t.tagID===Ah.HTML&&(e.insertionMode=Ip.AFTER_AFTER_FRAMESET)}(this,e);break;case Ip.AFTER_AFTER_BODY:Cf(this,e)}}onEof(e){switch(this.insertionMode){case Ip.INITIAL:Gp(this,e);break;case Ip.BEFORE_HTML:qp(this,e);break;case Ip.BEFORE_HEAD:Yp(this,e);break;case Ip.IN_HEAD:Vp(this,e);break;case Ip.IN_HEAD_NO_SCRIPT:Kp(this,e);break;case Ip.AFTER_HEAD:$p(this,e);break;case Ip.IN_BODY:case Ip.IN_TABLE:case Ip.IN_CAPTION:case Ip.IN_COLUMN_GROUP:case Ip.IN_TABLE_BODY:case Ip.IN_ROW:case Ip.IN_CELL:case Ip.IN_SELECT:case Ip.IN_SELECT_IN_TABLE:of(this,e);break;case Ip.TEXT:!function(e,t){e._err(t,nh.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}(this,e);break;case Ip.IN_TABLE_TEXT:ff(this,e);break;case Ip.IN_TEMPLATE:kf(this,e);break;case Ip.AFTER_BODY:case Ip.IN_FRAMESET:case Ip.AFTER_FRAMESET:case Ip.AFTER_AFTER_BODY:case Ip.AFTER_AFTER_FRAMESET:Hp(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===Vu.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)this._insertCharacters(e);else switch(this.insertionMode){case Ip.IN_HEAD:case Ip.IN_HEAD_NO_SCRIPT:case Ip.AFTER_HEAD:case Ip.TEXT:case Ip.IN_COLUMN_GROUP:case Ip.IN_SELECT:case Ip.IN_SELECT_IN_TABLE:case Ip.IN_FRAMESET:case Ip.AFTER_FRAMESET:this._insertCharacters(e);break;case Ip.IN_BODY:case Ip.IN_CAPTION:case Ip.IN_CELL:case Ip.IN_TEMPLATE:case Ip.AFTER_BODY:case Ip.AFTER_AFTER_BODY:case Ip.AFTER_AFTER_FRAMESET:Wp(this,e);break;case Ip.IN_TABLE:case Ip.IN_TABLE_BODY:case Ip.IN_ROW:af(this,e);break;case Ip.IN_TABLE_TEXT:hf(this,e)}}}function vp(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):rf(e,t),n}function wp(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const s=e.openElements.items[r];if(s===t.element)break;e._isSpecialElement(s,e.openElements.tagIDs[r])&&(n=s)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}function Mp(e,t,n){let r=t,s=e.openElements.getCommonAncestor(t);for(let i=0,o=s;o!==n;i++,o=s){s=e.openElements.getCommonAncestor(o);const n=e.activeFormattingElements.getElementEntry(o),a=n&&i>=Cp;!n||a?(a&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=Pp(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function Pp(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function xp(e,t,n){const r=Ih(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{const s=e.treeAdapter.getNamespaceURI(t);r===Ah.TEMPLATE&&s===mh.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function Bp(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:s}=n,i=e.treeAdapter.createElement(s.tagName,r,s.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,s),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,s.tagID)}function Fp(e,t){for(let n=0;n=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){const n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function Gp(e,t){e._err(t,nh.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,gh.QUIRKS),e.insertionMode=Ip.BEFORE_HTML,e._processToken(t)}function qp(e,t){e._insertFakeRootElement(),e.insertionMode=Ip.BEFORE_HEAD,e._processToken(t)}function Yp(e,t){e._insertFakeElement(Th.HEAD,Ah.HEAD),e.headElement=e.openElements.current,e.insertionMode=Ip.IN_HEAD,e._processToken(t)}function jp(e,t){switch(t.tagID){case Ah.HTML:nf(e,t);break;case Ah.BASE:case Ah.BASEFONT:case Ah.BGSOUND:case Ah.LINK:case Ah.META:e._appendElement(t,mh.HTML),t.ackSelfClosing=!0;break;case Ah.TITLE:e._switchToTextParsing(t,wh.RCDATA);break;case Ah.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,wh.RAWTEXT):(e._insertElement(t,mh.HTML),e.insertionMode=Ip.IN_HEAD_NO_SCRIPT);break;case Ah.NOFRAMES:case Ah.STYLE:e._switchToTextParsing(t,wh.RAWTEXT);break;case Ah.SCRIPT:e._switchToTextParsing(t,wh.SCRIPT_DATA);break;case Ah.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=Ip.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(Ip.IN_TEMPLATE);break;case Ah.HEAD:e._err(t,nh.misplacedStartTagForHeadElement);break;default:Vp(e,t)}}function zp(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==Ah.TEMPLATE&&e._err(t,nh.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(Ah.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,nh.endTagWithoutMatchingOpenElement)}function Vp(e,t){e.openElements.pop(),e.insertionMode=Ip.AFTER_HEAD,e._processToken(t)}function Kp(e,t){const n=t.type===sh.EOF?nh.openElementsLeftAfterEof:nh.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=Ip.IN_HEAD,e._processToken(t)}function $p(e,t){e._insertFakeElement(Th.BODY,Ah.BODY),e.insertionMode=Ip.IN_BODY,Qp(e,t)}function Qp(e,t){switch(t.type){case sh.CHARACTER:Xp(e,t);break;case sh.WHITESPACE_CHARACTER:Wp(e,t);break;case sh.COMMENT:Up(e,t);break;case sh.START_TAG:nf(e,t);break;case sh.END_TAG:sf(e,t);break;case sh.EOF:of(e,t)}}function Wp(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Xp(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Jp(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,mh.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Zp(e){const t=ih(e,Eh.TYPE);return null!=t&&t.toLowerCase()===Np}function ef(e,t){e._switchToTextParsing(t,wh.RAWTEXT)}function tf(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,mh.HTML)}function nf(e,t){switch(t.tagID){case Ah.I:case Ah.S:case Ah.B:case Ah.U:case Ah.EM:case Ah.TT:case Ah.BIG:case Ah.CODE:case Ah.FONT:case Ah.SMALL:case Ah.STRIKE:case Ah.STRONG:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,mh.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case Ah.A:!function(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(Th.A);n&&(Fp(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,mh.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case Ah.H1:case Ah.H2:case Ah.H3:case Ah.H4:case Ah.H5:case Ah.H6:!function(e,t){e.openElements.hasInButtonScope(Ah.P)&&e._closePElement(),Lh(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,mh.HTML)}(e,t);break;case Ah.P:case Ah.DL:case Ah.OL:case Ah.UL:case Ah.DIV:case Ah.DIR:case Ah.NAV:case Ah.MAIN:case Ah.MENU:case Ah.ASIDE:case Ah.CENTER:case Ah.FIGURE:case Ah.FOOTER:case Ah.HEADER:case Ah.HGROUP:case Ah.DIALOG:case Ah.DETAILS:case Ah.ADDRESS:case Ah.ARTICLE:case Ah.SECTION:case Ah.SUMMARY:case Ah.FIELDSET:case Ah.BLOCKQUOTE:case Ah.FIGCAPTION:!function(e,t){e.openElements.hasInButtonScope(Ah.P)&&e._closePElement(),e._insertElement(t,mh.HTML)}(e,t);break;case Ah.LI:case Ah.DD:case Ah.DT:!function(e,t){e.framesetOk=!1;const n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){const r=e.openElements.tagIDs[t];if(n===Ah.LI&&r===Ah.LI||(n===Ah.DD||n===Ah.DT)&&(r===Ah.DD||r===Ah.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==Ah.ADDRESS&&r!==Ah.DIV&&r!==Ah.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(Ah.P)&&e._closePElement(),e._insertElement(t,mh.HTML)}(e,t);break;case Ah.BR:case Ah.IMG:case Ah.WBR:case Ah.AREA:case Ah.EMBED:case Ah.KEYGEN:Jp(e,t);break;case Ah.HR:!function(e,t){e.openElements.hasInButtonScope(Ah.P)&&e._closePElement(),e._appendElement(t,mh.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t);break;case Ah.RB:case Ah.RTC:!function(e,t){e.openElements.hasInScope(Ah.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,mh.HTML)}(e,t);break;case Ah.RT:case Ah.RP:!function(e,t){e.openElements.hasInScope(Ah.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(Ah.RTC),e._insertElement(t,mh.HTML)}(e,t);break;case Ah.PRE:case Ah.LISTING:!function(e,t){e.openElements.hasInButtonScope(Ah.P)&&e._closePElement(),e._insertElement(t,mh.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}(e,t);break;case Ah.XMP:!function(e,t){e.openElements.hasInButtonScope(Ah.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,wh.RAWTEXT)}(e,t);break;case Ah.SVG:!function(e,t){e._reconstructActiveFormattingElements(),yp(t),bp(t),t.selfClosing?e._appendElement(t,mh.SVG):e._insertElement(t,mh.SVG),t.ackSelfClosing=!0}(e,t);break;case Ah.HTML:!function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t);break;case Ah.BASE:case Ah.LINK:case Ah.META:case Ah.STYLE:case Ah.TITLE:case Ah.SCRIPT:case Ah.BGSOUND:case Ah.BASEFONT:case Ah.TEMPLATE:jp(e,t);break;case Ah.BODY:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case Ah.FORM:!function(e,t){const n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(Ah.P)&&e._closePElement(),e._insertElement(t,mh.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case Ah.NOBR:!function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(Ah.NOBR)&&(Fp(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,mh.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case Ah.MATH:!function(e,t){e._reconstructActiveFormattingElements(),_p(t),bp(t),t.selfClosing?e._appendElement(t,mh.MATHML):e._insertElement(t,mh.MATHML),t.ackSelfClosing=!0}(e,t);break;case Ah.TABLE:!function(e,t){e.treeAdapter.getDocumentMode(e.document)!==gh.QUIRKS&&e.openElements.hasInButtonScope(Ah.P)&&e._closePElement(),e._insertElement(t,mh.HTML),e.framesetOk=!1,e.insertionMode=Ip.IN_TABLE}(e,t);break;case Ah.INPUT:!function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,mh.HTML),Zp(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t);break;case Ah.PARAM:case Ah.TRACK:case Ah.SOURCE:!function(e,t){e._appendElement(t,mh.HTML),t.ackSelfClosing=!0}(e,t);break;case Ah.IMAGE:!function(e,t){t.tagName=Th.IMG,t.tagID=Ah.IMG,Jp(e,t)}(e,t);break;case Ah.BUTTON:!function(e,t){e.openElements.hasInScope(Ah.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Ah.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,mh.HTML),e.framesetOk=!1}(e,t);break;case Ah.APPLET:case Ah.OBJECT:case Ah.MARQUEE:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,mh.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}(e,t);break;case Ah.IFRAME:!function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,wh.RAWTEXT)}(e,t);break;case Ah.SELECT:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,mh.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===Ip.IN_TABLE||e.insertionMode===Ip.IN_CAPTION||e.insertionMode===Ip.IN_TABLE_BODY||e.insertionMode===Ip.IN_ROW||e.insertionMode===Ip.IN_CELL?Ip.IN_SELECT_IN_TABLE:Ip.IN_SELECT}(e,t);break;case Ah.OPTION:case Ah.OPTGROUP:!function(e,t){e.openElements.currentTagId===Ah.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,mh.HTML)}(e,t);break;case Ah.NOEMBED:ef(e,t);break;case Ah.FRAMESET:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,mh.HTML),e.insertionMode=Ip.IN_FRAMESET)}(e,t);break;case Ah.TEXTAREA:!function(e,t){e._insertElement(t,mh.HTML),e.skipNextNewLine=!0,e.tokenizer.state=wh.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=Ip.TEXT}(e,t);break;case Ah.NOSCRIPT:e.options.scriptingEnabled?ef(e,t):tf(e,t);break;case Ah.PLAINTEXT:!function(e,t){e.openElements.hasInButtonScope(Ah.P)&&e._closePElement(),e._insertElement(t,mh.HTML),e.tokenizer.state=wh.PLAINTEXT}(e,t);break;case Ah.COL:case Ah.TH:case Ah.TD:case Ah.TR:case Ah.HEAD:case Ah.FRAME:case Ah.TBODY:case Ah.TFOOT:case Ah.THEAD:case Ah.CAPTION:case Ah.COLGROUP:break;default:tf(e,t)}}function rf(e,t){const n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){const s=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==Ah.UNKNOWN||e.treeAdapter.getTagName(s)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(s,i))break}}function sf(e,t){switch(t.tagID){case Ah.A:case Ah.B:case Ah.I:case Ah.S:case Ah.U:case Ah.EM:case Ah.TT:case Ah.BIG:case Ah.CODE:case Ah.FONT:case Ah.NOBR:case Ah.SMALL:case Ah.STRIKE:case Ah.STRONG:Fp(e,t);break;case Ah.P:!function(e){e.openElements.hasInButtonScope(Ah.P)||e._insertFakeElement(Th.P,Ah.P),e._closePElement()}(e);break;case Ah.DL:case Ah.UL:case Ah.OL:case Ah.DIR:case Ah.DIV:case Ah.NAV:case Ah.PRE:case Ah.MAIN:case Ah.MENU:case Ah.ASIDE:case Ah.BUTTON:case Ah.CENTER:case Ah.FIGURE:case Ah.FOOTER:case Ah.HEADER:case Ah.HGROUP:case Ah.DIALOG:case Ah.ADDRESS:case Ah.ARTICLE:case Ah.DETAILS:case Ah.SECTION:case Ah.SUMMARY:case Ah.LISTING:case Ah.FIELDSET:case Ah.BLOCKQUOTE:case Ah.FIGCAPTION:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case Ah.LI:!function(e){e.openElements.hasInListItemScope(Ah.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(Ah.LI),e.openElements.popUntilTagNamePopped(Ah.LI))}(e);break;case Ah.DD:case Ah.DT:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case Ah.H1:case Ah.H2:case Ah.H3:case Ah.H4:case Ah.H5:case Ah.H6:!function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e);break;case Ah.BR:!function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(Th.BR,Ah.BR),e.openElements.pop(),e.framesetOk=!1}(e);break;case Ah.BODY:!function(e,t){if(e.openElements.hasInScope(Ah.BODY)&&(e.insertionMode=Ip.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case Ah.HTML:!function(e,t){e.openElements.hasInScope(Ah.BODY)&&(e.insertionMode=Ip.AFTER_BODY,Nf(e,t))}(e,t);break;case Ah.FORM:!function(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(Ah.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(Ah.FORM):n&&e.openElements.remove(n))}(e);break;case Ah.APPLET:case Ah.OBJECT:case Ah.MARQUEE:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case Ah.TEMPLATE:zp(e,t);break;default:rf(e,t)}}function of(e,t){e.tmplInsertionModeStack.length>0?kf(e,t):Hp(e,t)}function af(e,t){if(Dp.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=Ip.IN_TABLE_TEXT,t.type){case sh.CHARACTER:pf(e,t);break;case sh.WHITESPACE_CHARACTER:hf(e,t)}else uf(e,t)}function cf(e,t){switch(t.tagID){case Ah.TD:case Ah.TH:case Ah.TR:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(Th.TBODY,Ah.TBODY),e.insertionMode=Ip.IN_TABLE_BODY,gf(e,t)}(e,t);break;case Ah.STYLE:case Ah.SCRIPT:case Ah.TEMPLATE:jp(e,t);break;case Ah.COL:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(Th.COLGROUP,Ah.COLGROUP),e.insertionMode=Ip.IN_COLUMN_GROUP,mf(e,t)}(e,t);break;case Ah.FORM:!function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,mh.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t);break;case Ah.TABLE:!function(e,t){e.openElements.hasInTableScope(Ah.TABLE)&&(e.openElements.popUntilTagNamePopped(Ah.TABLE),e._resetInsertionMode(),e._processStartTag(t))}(e,t);break;case Ah.TBODY:case Ah.TFOOT:case Ah.THEAD:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,mh.HTML),e.insertionMode=Ip.IN_TABLE_BODY}(e,t);break;case Ah.INPUT:!function(e,t){Zp(t)?e._appendElement(t,mh.HTML):uf(e,t),t.ackSelfClosing=!0}(e,t);break;case Ah.CAPTION:!function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,mh.HTML),e.insertionMode=Ip.IN_CAPTION}(e,t);break;case Ah.COLGROUP:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,mh.HTML),e.insertionMode=Ip.IN_COLUMN_GROUP}(e,t);break;default:uf(e,t)}}function lf(e,t){switch(t.tagID){case Ah.TABLE:e.openElements.hasInTableScope(Ah.TABLE)&&(e.openElements.popUntilTagNamePopped(Ah.TABLE),e._resetInsertionMode());break;case Ah.TEMPLATE:zp(e,t);break;case Ah.BODY:case Ah.CAPTION:case Ah.COL:case Ah.COLGROUP:case Ah.HTML:case Ah.TBODY:case Ah.TD:case Ah.TFOOT:case Ah.TH:case Ah.THEAD:case Ah.TR:break;default:uf(e,t)}}function uf(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Qp(e,t),e.fosterParentingEnabled=n}function hf(e,t){e.pendingCharacterTokens.push(t)}function pf(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function ff(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===Ah.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===Ah.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===Ah.OPTGROUP&&e.openElements.pop();break;case Ah.OPTION:e.openElements.currentTagId===Ah.OPTION&&e.openElements.pop();break;case Ah.SELECT:e.openElements.hasInSelectScope(Ah.SELECT)&&(e.openElements.popUntilTagNamePopped(Ah.SELECT),e._resetInsertionMode());break;case Ah.TEMPLATE:zp(e,t)}}function kf(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(Ah.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Hp(e,t)}function Nf(e,t){var n;if(t.tagID===Ah.HTML){if(e.fragmentContext||(e.insertionMode=Ip.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===Ah.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)&&e._setEndLocation(r,t)}}else Sf(e,t)}function Sf(e,t){e.insertionMode=Ip.IN_BODY,Qp(e,t)}function Cf(e,t){e.insertionMode=Ip.IN_BODY,Qp(e,t)}function If(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==mh.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}new Set([Th.AREA,Th.BASE,Th.BASEFONT,Th.BGSOUND,Th.BR,Th.COL,Th.EMBED,Th.FRAME,Th.HR,Th.IMG,Th.INPUT,Th.KEYGEN,Th.LINK,Th.META,Th.PARAM,Th.SOURCE,Th.TRACK,Th.WBR]);const Of=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Df={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Lf(e,t){const n=function(e){const t="root"===e.type?e.children[0]:e;return Boolean(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName))}(e),r=lt("type",{handlers:{root:vf,element:wf,text:Mf,comment:Bf,doctype:Pf,raw:Ff},unknown:Uf}),s={parser:n?new Rp(Df):Rp.getFragmentParser(void 0,Df),handle(e){r(e,s)},stitches:!1,options:t||{}};r(e,s),Hf(s,Zn());const i=function(e,t){const n=t||{};return vu({file:n.file||void 0,location:!1,schema:"svg"===n.space?us:ls,verbose:n.verbose||!1},e)}(n?s.parser.document:s.parser.getFragment(),{file:s.options.file});return s.stitches&&Lt(i,"comment",(function(e,t,n){const r=e;if(r.value.stitch&&n&&void 0!==t){return n.children[t]=r.value.stitch,t}})),"root"===i.type&&1===i.children.length&&i.children[0].type===e.type?i.children[0]:i}function Rf(e,t){let n=-1;if(e)for(;++n{jf(e,t,n)}))}function zf(){return e=>{jf(e,"element",(e=>{if("p"===e.tagName&&e.children.length>=2){const t=e.children[0],n=e.children[1];if("text"===t.type&&"!embed"===t.value.trim()&&"element"===n.type&&"a"===n.tagName){const t=n.properties.href,r=function(e){return e.includes("gist.github.com")?"script":e.includes("youtube.com/watch?v=")?"youtube":e.includes("vimeo.com")?"iframe":"default"}(t);switch(r){case"script":const n=`${t}.pibb`;e.type="raw",e.value=`
`;break;case"youtube":const r=function(e){return`https://www.youtube.com/embed/${new URL(e).searchParams.get("v")}`}(t);e.type="raw",e.value=``;break;case"iframe":e.type="raw",e.value=``}}}}))}}async function Vf(e,n={}){if(!e)throw new Error("No markdown content provided");const s={img:"epic-remark-image",table:"epic-remark-table",...n.wrapConfig||{}};let o={},c=null,l=null;const u=qn().use(qo,["yaml"]).use((()=>e=>{const t=e.children.find((e=>"yaml"===e.type));t&&(o=Eu.parse(t.value))})).use(Ws).use(yo).use(gu,{allowDangerousHtml:!0}).use(r,s);n.addHeadingIds&&u.use(t),n.addTableOfContents&&u.use((()=>async e=>{const t=i(e,n.insertTocDirectly);t&&(c=await qn().use((()=>()=>t)).use(Tu).process("").then((e=>e.toString())))})),n.calculateReadingTime&&(l=a(n.readingTimeOptions)(qn().parse(e))),n.renderEmbeds&&u.use(zf).use(Yf);const h=await u.use(Tu).process(e),p=(f=h.toString(),d="markdown",f?`
${f}
`:"");var f,d;return{frontMatter:o,contentHtml:p,toc:c,readingTime:l}}export{t as addHeadingIds,i as addTableOfContents,a as calculateReadingTime,Vf as processMarkdown,r as wrapElements}; +function e(t,n,r){t.type===n&&r(t),t.children&&t.children.forEach((t=>{e(t,n,r)}))}function t(){return t=>{e(t,"element",(e=>{if("h1"===e.tagName||"h2"===e.tagName||"h3"===e.tagName||"h4"===e.tagName||"h5"===e.tagName||"h6"===e.tagName){const t=function(e){return e.toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"")}(n(e));e.properties=e.properties||{},e.properties.id=t}}))}}function n(e){return"text"===e.type?e.value:e.children?e.children.map(n).join(""):""}function r(e){return t=>{s(t,e)}}function s(e,t){e.children&&e.children.forEach(((n,r)=>{if("element"===n.type&&t[n.tagName]){const s={type:"element",tagName:"div",properties:{className:t[n.tagName]},children:[n]};e.children[r]=s}s(n,t)}))}function i(t,n=!1){const r=[];e(t,"element",(e=>{if(function(e){return/^h[1-6]$/.test(e.tagName)}(e)){const n=(t=e.tagName,parseInt(t.charAt(1),10)),s=o(e),i=e.properties?.id||function(e){return e.toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"")}(s);r.push({level:n,text:s,id:i})}var t}));const s=function(e){const t={type:"element",tagName:"ul",properties:{className:"toc markdown"},children:[]};return e.forEach((e=>{t.children.push({type:"element",tagName:"li",properties:{},children:[{type:"element",tagName:"a",properties:{href:`#${e.id}`},children:[{type:"text",value:e.text}]}]})})),t}(r);if(n){const e={type:"element",tagName:"br",properties:{},children:[]},n={type:"element",tagName:"br",properties:{},children:[]};return t.children.unshift(n),t.children.unshift(e),t.children.unshift(s),null}return s}function o(e){return"text"===e.type?e.value:e.children?e.children.map(o).join(""):""}function a(t={}){const n=t.wordsPerMinute||250;return t=>{let r=0;return e(t,"text",(e=>{r+=e.value.split(/\s+/).length})),Math.ceil(r/n)}}function c(e,t,n){e.type===t&&n(e),e.children&&e.children.forEach((e=>{c(e,t,n)}))}function l(){return e=>{c(e,"element",(e=>{if("p"===e.tagName&&e.children.length>=2){const t=e.children[0],n=e.children[1];if("text"===t.type&&"!embed"===t.value.trim()&&"element"===n.type&&"a"===n.tagName){const t=n.properties.href,r=function(e){return e.includes("gist.github.com")?"script":e.includes("youtube.com/watch?v=")?"youtube":e.includes("vimeo.com")?"iframe":"default"}(t);switch(r){case"script":const n=`${t}.pibb`;e.type="raw",e.value=`
`;break;case"youtube":const r=function(e){return`https://www.youtube.com/embed/${new URL(e).searchParams.get("v")}`}(t);e.type="raw",e.value=``;break;case"iframe":e.type="raw",e.value=``}}}}))}}const u={};function h(e,t){const n=t||u;return p(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function p(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return f(e.children,t,n)}return Array.isArray(e)?f(e,t,n):""}function f(e,t,n){const r=[];let s=-1;for(;++s",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"​",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"â",acute:"´",acy:"а",aelig:"æ",af:"⁡",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacute:"í",ic:"⁣",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacute:"ó",oast:"⊛",ocir:"⊚",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslash:"ø",osol:"⊘",otilde:"õ",otimes:"⊗",otimesas:"⨶",ouml:"ö",ovbar:"⌽",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thorn:"þ",tilde:"˜",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},m={}.hasOwnProperty;function E(e){return!!m.call(d,e)&&d[e]}function g(e,t,n,r){const s=e.length;let i,o=0;if(t=t<0?-t>s?0:s+t:t>s?s:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);o0?(g(e,e.length,0,t),e):t}const A={}.hasOwnProperty;function _(e){const t={};let n=-1;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"�":String.fromCodePoint(n)}function N(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const S=F(/\p{P}/u),C=F(/[A-Za-z]/),I=F(/[\dA-Za-z]/),O=F(/[#-'*+\--9=?A-Z^-~]/);function D(e){return null!==e&&(e<32||127===e)}const L=F(/\d/),R=F(/[\dA-Fa-f]/),v=F(/[!-/:-@[-`{-~]/);function w(e){return null!==e&&e<-2}function M(e){return null!==e&&(e<0||32===e)}function P(e){return-2===e||-1===e||32===e}function x(e){return v(e)||S(e)}const B=F(/\s/);function F(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function U(e){const t=[];let n=-1,r=0,s=0;for(;++n55295&&i<57344){const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(o=String.fromCharCode(i,t),s=1):o="�"}else o=String.fromCharCode(i);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+s+1,o=""),s&&(n+=s,s=0)}return t.join("")+e.slice(r)}function H(e,t,n,r){const s=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){if(P(r))return e.enter(n),o(r);return t(r)};function o(r){return P(r)&&i++i))return;const n=t.events.length;let s,a,c=n;for(;c--;)if("exit"===t.events[c][0]&&"chunkFlow"===t.events[c][1].type){if(s){a=t.events[c][1].end;break}s=!0}for(T(o),e=n;er;){const r=n[s];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function A(){r.write([null]),s=void 0,r=void 0,t.containerState._closeFlow=void 0}}},Y={tokenize:function(e,t,n){return H(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};function j(e){return null===e||M(e)||B(e)?1:x(e)?2:void 0}function z(e,t,n){const r=[];let s=-1;for(;++s1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;const h=Object.assign({},e[n][1].end),p=Object.assign({},e[u][1].start);K(h,-a),K(p,a),i={type:a>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},e[n][1].end)},o={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:p},s={type:a>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[u][1].start)},r={type:a>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},o.end)},e[n][1].end=Object.assign({},i.start),e[u][1].start=Object.assign({},o.end),c=[],e[n][1].end.offset-e[n][1].start.offset&&(c=T(c,[["enter",e[n][1],t],["exit",e[n][1],t]])),c=T(c,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",s,t]]),c=T(c,z(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),c=T(c,[["exit",s,t],["enter",o,t],["exit",o,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(l=2,c=T(c,[["enter",e[u][1],t],["exit",e[u][1],t]])):l=0,g(e,n-1,u-n+3,c),u=n+c.length-l-2;break}u=-1;for(;++u=a?(e.exit("codeFencedFenceSequence"),P(t)?H(e,h,"whitespace")(t):h(t)):n(t)}function h(r){return null===r||w(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let i,o=0,a=0;return function(t){return function(t){const n=r.events[r.events.length-1];return o=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,i=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(t)}(t)};function c(t){return t===i?(a++,e.consume(t),c):a<3?n(t):(e.exit("codeFencedFenceSequence"),P(t)?H(e,l,"whitespace")(t):l(t))}function l(n){return null===n||w(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Z,f,T)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){return null===t||w(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(t)):P(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),H(e,h,"whitespace")(t)):96===t&&t===i?n(t):(e.consume(t),u)}function h(t){return null===t||w(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(t))}function p(t){return null===t||w(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(t)):96===t&&t===i?n(t):(e.consume(t),p)}function f(t){return e.attempt(s,T,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return o>0&&P(t)?H(e,E,"linePrefix",o+1)(t):E(t)}function E(t){return null===t||w(t)?e.check(Z,f,T)(t):(e.enter("codeFlowValue"),g(t))}function g(t){return null===t||w(t)?(e.exit("codeFlowValue"),E(t)):(e.consume(t),g)}function T(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const te={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),H(e,s,"linePrefix",5)(t)};function s(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?i(e):n(e)}function i(t){return null===t?a(t):w(t)?e.attempt(ne,i,a)(t):(e.enter("codeFlowValue"),o(t))}function o(t){return null===t||w(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),o)}function a(n){return e.exit("codeIndented"),t(n)}}},ne={tokenize:function(e,t,n){const r=this;return s;function s(t){return r.parser.lazy[r.now().line]?n(t):w(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):H(e,i,"linePrefix",5)(t)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):w(e)?s(e):n(e)}},partial:!0};const re={name:"codeText",tokenize:function(e,t,n){let r,s,i=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),o(t)};function o(t){return 96===t?(e.consume(t),i++,o):(e.exit("codeTextSequence"),a(t))}function a(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),a):96===t?(s=e.enter("codeTextSequence"),r=0,l(t)):w(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(e.enter("codeTextData"),c(t))}function c(t){return null===t||32===t||96===t||w(t)?(e.exit("codeTextData"),a(t)):(e.consume(t),c)}function l(n){return 96===n?(e.consume(n),r++,l):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(s.type="codeTextData",c(n))}},resolve:function(e){let t,n,r=e.length-4,s=3;if(!("lineEnding"!==e[s][1].type&&"space"!==e[s][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=s;++t=4?t(s):e.interrupt(r.parser.constructs.flow,n,t)(s)}},partial:!0};function ce(e,t,n,r,s,i,o,a,c){const l=c||Number.POSITIVE_INFINITY;let u=0;return function(t){if(60===t)return e.enter(r),e.enter(s),e.enter(i),e.consume(t),e.exit(i),h;if(null===t||32===t||41===t||D(t))return n(t);return e.enter(r),e.enter(o),e.enter(a),e.enter("chunkString",{contentType:"string"}),d(t)};function h(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(s),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(a),h(t)):null===t||60===t||w(t)?n(t):(e.consume(t),92===t?f:p)}function f(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function d(s){return u||null!==s&&41!==s&&!M(s)?u999||null===h||91===h||93===h&&!a||94===h&&!c&&"_hiddenFootnoteSupport"in o.parser.constructs?n(h):93===h?(e.exit(i),e.enter(s),e.consume(h),e.exit(s),e.exit(r),t):w(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),l):(e.enter("chunkString",{contentType:"string"}),u(h))}function u(t){return null===t||91===t||93===t||w(t)||c++>999?(e.exit("chunkString"),l(t)):(e.consume(t),a||(a=!P(t)),92===t?h:u)}function h(t){return 91===t||92===t||93===t?(e.consume(t),c++,u):u(t)}}function ue(e,t,n,r,s,i){let o;return function(t){if(34===t||39===t||40===t)return e.enter(r),e.enter(s),e.consume(t),e.exit(s),o=40===t?41:t,a;return n(t)};function a(n){return n===o?(e.enter(s),e.consume(n),e.exit(s),e.exit(r),t):(e.enter(i),c(n))}function c(t){return t===o?(e.exit(i),a(o)):null===t?n(t):w(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),H(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),l(t))}function l(t){return t===o||null===t||w(t)?(e.exit("chunkString"),c(t)):(e.consume(t),92===t?u:l)}function u(t){return t===o||92===t?(e.consume(t),l):l(t)}}function he(e,t){let n;return function r(s){if(w(s))return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),n=!0,r;if(P(s))return H(e,r,n?"linePrefix":"lineSuffix")(s);return t(s)}}const pe={name:"definition",tokenize:function(e,t,n){const r=this;let s;return function(t){return e.enter("definition"),function(t){return le.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function i(t){return s=N(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o):n(t)}function o(t){return M(t)?he(e,a)(t):a(t)}function a(t){return ce(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function c(t){return e.attempt(fe,l,l)(t)}function l(t){return P(t)?H(e,u,"whitespace")(t):u(t)}function u(i){return null===i||w(i)?(e.exit("definition"),r.parser.defined.push(s),t(i)):n(i)}}},fe={tokenize:function(e,t,n){return function(t){return M(t)?he(e,r)(t):n(t)};function r(t){return ue(e,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function s(t){return P(t)?H(e,i,"whitespace")(t):i(t)}function i(e){return null===e||w(e)?t(e):n(e)}},partial:!0};const de={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return w(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}};const me={name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),s(t)}(t)};function s(t){return 35===t&&r++<6?(e.consume(t),s):null===t||M(t)?(e.exit("atxHeadingSequence"),i(t)):n(t)}function i(n){return 35===n?(e.enter("atxHeadingSequence"),o(n)):null===n||w(n)?(e.exit("atxHeading"),t(n)):P(n)?H(e,i,"whitespace")(n):(e.enter("atxHeadingText"),a(n))}function o(t){return 35===t?(e.consume(t),o):(e.exit("atxHeadingSequence"),i(t))}function a(t){return null===t||35===t||M(t)?(e.exit("atxHeadingText"),i(t)):(e.consume(t),a)}},resolve:function(e,t){let n,r,s=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);s-2>i&&"whitespace"===e[s][1].type&&(s-=2);"atxHeadingSequence"===e[s][1].type&&(i===s-1||s-4>i&&"whitespace"===e[s-2][1].type)&&(s-=i+1===s?2:4);s>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[s][1].end},r={type:"chunkText",start:e[i][1].start,end:e[s][1].end,contentType:"text"},g(e,i,s-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};const Ee=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ge=["pre","script","style","textarea"],Te={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let s,i,o,a,c;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),l}(t)};function l(a){return 33===a?(e.consume(a),u):47===a?(e.consume(a),i=!0,f):63===a?(e.consume(a),s=3,r.interrupt?t:U):C(a)?(e.consume(a),o=String.fromCharCode(a),d):n(a)}function u(i){return 45===i?(e.consume(i),s=2,h):91===i?(e.consume(i),s=5,a=0,p):C(i)?(e.consume(i),s=4,r.interrupt?t:U):n(i)}function h(s){return 45===s?(e.consume(s),r.interrupt?t:U):n(s)}function p(s){const i="CDATA[";return s===i.charCodeAt(a++)?(e.consume(s),6===a?r.interrupt?t:O:p):n(s)}function f(t){return C(t)?(e.consume(t),o=String.fromCharCode(t),d):n(t)}function d(a){if(null===a||47===a||62===a||M(a)){const c=47===a,l=o.toLowerCase();return c||i||!ge.includes(l)?Ee.includes(o.toLowerCase())?(s=6,c?(e.consume(a),m):r.interrupt?t(a):O(a)):(s=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(a):i?E(a):g(a)):(s=1,r.interrupt?t(a):O(a))}return 45===a||I(a)?(e.consume(a),o+=String.fromCharCode(a),d):n(a)}function m(s){return 62===s?(e.consume(s),r.interrupt?t:O):n(s)}function E(t){return P(t)?(e.consume(t),E):N(t)}function g(t){return 47===t?(e.consume(t),N):58===t||95===t||C(t)?(e.consume(t),T):P(t)?(e.consume(t),g):N(t)}function T(t){return 45===t||46===t||58===t||95===t||I(t)?(e.consume(t),T):A(t)}function A(t){return 61===t?(e.consume(t),_):P(t)?(e.consume(t),A):g(t)}function _(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),c=t,y):P(t)?(e.consume(t),_):b(t)}function y(t){return t===c?(e.consume(t),c=null,k):null===t||w(t)?n(t):(e.consume(t),y)}function b(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||M(t)?A(t):(e.consume(t),b)}function k(e){return 47===e||62===e||P(e)?g(e):n(e)}function N(t){return 62===t?(e.consume(t),S):n(t)}function S(t){return null===t||w(t)?O(t):P(t)?(e.consume(t),S):n(t)}function O(t){return 45===t&&2===s?(e.consume(t),v):60===t&&1===s?(e.consume(t),x):62===t&&4===s?(e.consume(t),H):63===t&&3===s?(e.consume(t),U):93===t&&5===s?(e.consume(t),F):!w(t)||6!==s&&7!==s?null===t||w(t)?(e.exit("htmlFlowData"),D(t)):(e.consume(t),O):(e.exit("htmlFlowData"),e.check(Ae,G,D)(t))}function D(t){return e.check(_e,L,G)(t)}function L(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),R}function R(t){return null===t||w(t)?D(t):(e.enter("htmlFlowData"),O(t))}function v(t){return 45===t?(e.consume(t),U):O(t)}function x(t){return 47===t?(e.consume(t),o="",B):O(t)}function B(t){if(62===t){const n=o.toLowerCase();return ge.includes(n)?(e.consume(t),H):O(t)}return C(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),B):O(t)}function F(t){return 93===t?(e.consume(t),U):O(t)}function U(t){return 62===t?(e.consume(t),H):45===t&&2===s?(e.consume(t),U):O(t)}function H(t){return null===t||w(t)?(e.exit("htmlFlowData"),G(t)):(e.consume(t),H)}function G(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},Ae={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(Q,t,n)}},partial:!0},_e={tokenize:function(e,t,n){const r=this;return function(t){if(w(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s;return n(t)};function s(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0};const ye={name:"htmlText",tokenize:function(e,t,n){const r=this;let s,i,o;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),a};function a(t){return 33===t?(e.consume(t),c):47===t?(e.consume(t),_):63===t?(e.consume(t),T):C(t)?(e.consume(t),k):n(t)}function c(t){return 45===t?(e.consume(t),l):91===t?(e.consume(t),i=0,f):C(t)?(e.consume(t),g):n(t)}function l(t){return 45===t?(e.consume(t),p):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),h):w(t)?(o=u,B(t)):(e.consume(t),u)}function h(t){return 45===t?(e.consume(t),p):u(t)}function p(e){return 62===e?x(e):45===e?h(e):u(e)}function f(t){const r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),6===i?d:f):n(t)}function d(t){return null===t?n(t):93===t?(e.consume(t),m):w(t)?(o=d,B(t)):(e.consume(t),d)}function m(t){return 93===t?(e.consume(t),E):d(t)}function E(t){return 62===t?x(t):93===t?(e.consume(t),E):d(t)}function g(t){return null===t||62===t?x(t):w(t)?(o=g,B(t)):(e.consume(t),g)}function T(t){return null===t?n(t):63===t?(e.consume(t),A):w(t)?(o=T,B(t)):(e.consume(t),T)}function A(e){return 62===e?x(e):T(e)}function _(t){return C(t)?(e.consume(t),y):n(t)}function y(t){return 45===t||I(t)?(e.consume(t),y):b(t)}function b(t){return w(t)?(o=b,B(t)):P(t)?(e.consume(t),b):x(t)}function k(t){return 45===t||I(t)?(e.consume(t),k):47===t||62===t||M(t)?N(t):n(t)}function N(t){return 47===t?(e.consume(t),x):58===t||95===t||C(t)?(e.consume(t),S):w(t)?(o=N,B(t)):P(t)?(e.consume(t),N):x(t)}function S(t){return 45===t||46===t||58===t||95===t||I(t)?(e.consume(t),S):O(t)}function O(t){return 61===t?(e.consume(t),D):w(t)?(o=O,B(t)):P(t)?(e.consume(t),O):N(t)}function D(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,L):w(t)?(o=D,B(t)):P(t)?(e.consume(t),D):(e.consume(t),R)}function L(t){return t===s?(e.consume(t),s=void 0,v):null===t?n(t):w(t)?(o=L,B(t)):(e.consume(t),L)}function R(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||M(t)?N(t):(e.consume(t),R)}function v(e){return 47===e||62===e||M(e)?N(e):n(e)}function x(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function B(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),F}function F(t){return P(t)?H(e,U,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):U(t)}function U(t){return e.enter("htmlTextData"),o(t)}}};const be={name:"labelEnd",tokenize:function(e,t,n){const r=this;let s,i,o=r.events.length;for(;o--;)if(("labelImage"===r.events[o][1].type||"labelLink"===r.events[o][1].type)&&!r.events[o][1]._balanced){s=r.events[o][1];break}return function(t){if(!s)return n(t);if(s._inactive)return u(t);return i=r.parser.defined.includes(N(r.sliceSerialize({start:s.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),a};function a(t){return 40===t?e.attempt(ke,l,i?l:u)(t):91===t?e.attempt(Ne,l,i?c:u)(t):i?l(t):u(t)}function c(t){return e.attempt(Se,l,u)(t)}function l(e){return t(e)}function u(e){return s._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,s,i,o=e.length,a=0;for(;o--;)if(n=e[o][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[o][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(s){if("enter"===e[o][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=o,"labelLink"!==n.type)){a=2;break}}else"labelEnd"===n.type&&(s=o);const c={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},l={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[s][1].end)},u={type:"labelText",start:Object.assign({},e[r+a+2][1].end),end:Object.assign({},e[s-2][1].start)};return i=[["enter",c,t],["enter",l,t]],i=T(i,e.slice(r+1,r+a+3)),i=T(i,[["enter",u,t]]),i=T(i,z(t.parser.constructs.insideSpan.null,e.slice(r+a+4,s-3),t)),i=T(i,[["exit",u,t],e[s-2],e[s-1],["exit",l,t]]),i=T(i,e.slice(s+1)),i=T(i,[["exit",c,t]]),g(e,r,e.length,i),e},resolveAll:function(e){let t=-1;for(;++t=3&&(null===i||w(i))?(e.exit("thematicBreak"),t(i)):n(i)}function o(t){return t===r?(e.consume(t),s++,o):(e.exit("thematicBreakSequence"),P(t)?H(e,i,"whitespace")(t):i(t))}}};const Le={name:"list",tokenize:function(e,t,n){const r=this,s=r.events[r.events.length-1];let i=s&&"linePrefix"===s[1].type?s[2].sliceSerialize(s[1],!0).length:0,o=0;return function(t){const s=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===s?!r.containerState.marker||t===r.containerState.marker:L(t)){if(r.containerState.type||(r.containerState.type=s,e.enter(s,{_container:!0})),"listUnordered"===s)return e.enter("listItemPrefix"),42===t||45===t?e.check(De,n,c)(t):c(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(t)}return n(t)};function a(t){return L(t)&&++o<10?(e.consume(t),a):(!r.interrupt||o<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),c(t)):n(t)}function c(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(Q,r.interrupt?n:l,e.attempt(Re,h,u))}function l(e){return r.containerState.initialBlankLine=!0,i++,h(e)}function u(t){return P(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),h):n(t)}function h(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Q,s,i);function s(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,H(e,t,"listItemIndent",r.containerState.size+1)(n)}function i(n){return r.containerState.furtherBlankLines||!P(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(ve,t,o)(n))}function o(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,H(e,e.attempt(Le,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}},exit:function(e){e.exit(this.containerState.type)}},Re={tokenize:function(e,t,n){const r=this;return H(e,(function(e){const s=r.events[r.events.length-1];return!P(e)&&s&&"listItemPrefixWhitespace"===s[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},ve={tokenize:function(e,t,n){const r=this;return H(e,(function(e){const s=r.events[r.events.length-1];return s&&"listItemIndent"===s[1].type&&s[2].sliceSerialize(s[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};const we={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let s;return function(t){let o,a=r.events.length;for(;a--;)if("lineEnding"!==r.events[a][1].type&&"linePrefix"!==r.events[a][1].type&&"content"!==r.events[a][1].type){o="paragraph"===r.events[a][1].type;break}if(!r.parser.lazy[r.now().line]&&(r.interrupt||o))return e.enter("setextHeadingLine"),s=t,function(t){return e.enter("setextHeadingLineSequence"),i(t)}(t);return n(t)};function i(t){return t===s?(e.consume(t),i):(e.exit("setextHeadingLineSequence"),P(t)?H(e,o,"lineSuffix")(t):o(t))}function o(r){return null===r||w(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,s,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),s||"definition"!==e[i][1].type||(s=i);const o={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",s?(e.splice(r,0,["enter",o,t]),e.splice(s+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[s][1].end)):e[n][1]=o;return e.push(["exit",o,t]),e}};const Me={tokenize:function(e){const t=this,n=e.attempt(Q,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,r,H(e,e.attempt(this.parser.constructs.flow,r,e.attempt(oe,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}};const Pe={resolveAll:Ue()},xe=Fe("string"),Be=Fe("text");function Fe(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],s=t.attempt(r,i,o);return i;function i(e){return c(e)?s(e):o(e)}function o(e){if(null!==e)return t.enter("data"),t.consume(e),a;t.consume(e)}function a(e){return c(e)?(t.exit("data"),s(e)):(t.consume(e),a)}function c(e){if(null===e)return!0;const t=r[e];let s=-1;if(t)for(;++s-1){const e=o[0];"string"==typeof e?o[0]=e.slice(r):o.shift()}i>0&&o.push(e[s].slice(0,i))}return o}(o,e)}function p(){const{line:e,column:t,offset:n,_index:s,_bufferIndex:i}=r;return{line:e,column:t,offset:n,_index:s,_bufferIndex:i}}function f(){let e;for(;r._index0){const e=i.tokenStack[i.tokenStack.length-1];(e[1]||lt).call(i,void 0,e[0])}for(r.position={start:ot(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:ot(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},h=-1;++h"+(n?"":" ")+e}function gt(e,t){return Tt(e,t.inConstruct,!0)&&!Tt(e,t.notInConstruct,!1)}function Tt(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r":"")+")"})}return u;function u(){let l,u,h,p=It;if((!t||i(s,a,c[c.length-1]||void 0))&&(p=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[Ot,e];return null==e?It:[e]}(n(s,c)),p[0]===Dt))return p;if("children"in s&&s.children){const t=s;if(t.children&&p[0]!==Lt)for(u=(r?t.children.length:-1)+o,h=c.concat(t);u>-1&&u",...c.current()})),l+=c.move(">")):(a=n.enter("destinationRaw"),l+=c.move(n.safe(e.url,{before:l,after:e.title?" ":")",...c.current()}))),a(),e.title&&(a=n.enter(`title${i}`),l+=c.move(" "+s),l+=c.move(n.safe(e.title,{before:l,after:s,...c.current()})),l+=c.move(s),a()),l+=c.move(")"),o(),l}function xt(e,t,n,r){const s=e.referenceType,i=n.enter("imageReference");let o=n.enter("label");const a=n.createTracker(r);let c=a.move("![");const l=n.safe(e.alt,{before:c,after:"]",...a.current()});c+=a.move(l+"]["),o();const u=n.stack;n.stack=[],o=n.enter("reference");const h=n.safe(n.associationId(e),{before:c,after:"]",...a.current()});return o(),n.stack=u,i(),"full"!==s&&l&&l===h?"shortcut"===s?c=c.slice(0,-1):c+=a.move("]"):c+=a.move(h+"]"),c}function Bt(e,t,n){let r=e.value||"",s="`",i=-1;for(;new RegExp("(^|[^`])"+s+"([^`]|$)").test(r);)s+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function Ut(e,t,n,r){const s=bt(n),i='"'===s?"Quote":"Apostrophe",o=n.createTracker(r);let a,c;if(Ft(e,n)){const t=n.stack;n.stack=[],a=n.enter("autolink");let r=o.move("<");return r+=o.move(n.containerPhrasing(e,{before:r,after:">",...o.current()})),r+=o.move(">"),a(),n.stack=t,r}a=n.enter("link"),c=n.enter("label");let l=o.move("[");return l+=o.move(n.containerPhrasing(e,{before:l,after:"](",...o.current()})),l+=o.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),l+=o.move("<"),l+=o.move(n.safe(e.url,{before:l,after:">",...o.current()})),l+=o.move(">")):(c=n.enter("destinationRaw"),l+=o.move(n.safe(e.url,{before:l,after:e.title?" ":")",...o.current()}))),c(),e.title&&(c=n.enter(`title${i}`),l+=o.move(" "+s),l+=o.move(n.safe(e.title,{before:l,after:s,...o.current()})),l+=o.move(s),c()),l+=o.move(")"),a(),l}function Ht(e,t,n,r){const s=e.referenceType,i=n.enter("linkReference");let o=n.enter("label");const a=n.createTracker(r);let c=a.move("[");const l=n.containerPhrasing(e,{before:c,after:"]",...a.current()});c+=a.move(l+"]["),o();const u=n.stack;n.stack=[],o=n.enter("reference");const h=n.safe(n.associationId(e),{before:c,after:"]",...a.current()});return o(),n.stack=u,i(),"full"!==s&&l&&l===h?"shortcut"===s?c=c.slice(0,-1):c+=a.move("]"):c+=a.move(h+"]"),c}function Gt(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function qt(e){const t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}Mt.peek=function(){return"<"},Pt.peek=function(){return"!"},xt.peek=function(){return"!"},Bt.peek=function(){return"`"},Ut.peek=function(e,t,n){return Ft(e,n)?"<":"["},Ht.peek=function(){return"["};const Yt=Nt(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);function jt(e,t,n,r){const s=function(e){const t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r);let a=o.move(s+s);return a+=o.move(n.containerPhrasing(e,{before:a,after:s,...o.current()})),a+=o.move(s+s),i(),a}jt.peek=function(e,t,n){return n.options.strong||"*"};const zt={blockquote:function(e,t,n,r){const s=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);const o=n.indentLines(n.containerFlow(e,i.current()),Et);return s(),o},break:At,code:function(e,t,n,r){const s=function(e){const t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===s?"GraveAccent":"Tilde";if(_t(e,n)){const e=n.enter("codeIndented"),t=n.indentLines(i,yt);return e(),t}const a=n.createTracker(r),c=s.repeat(Math.max(function(e,t){const n=String(e);let r=n.indexOf(t),s=r,i=0,o=0;if("string"!=typeof t)throw new TypeError("Expected substring");for(;-1!==r;)r===s?++i>o&&(o=i):i=1,s=r+t.length,r=n.indexOf(t,s);return o}(i,s)+1,3)),l=n.enter("codeFenced");let u=a.move(c);if(e.lang){const t=n.enter(`codeFencedLang${o}`);u+=a.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...a.current()})),t()}if(e.lang&&e.meta){const t=n.enter(`codeFencedMeta${o}`);u+=a.move(" "),u+=a.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...a.current()})),t()}return u+=a.move("\n"),i&&(u+=a.move(i+"\n")),u+=a.move(c),l(),u},definition:function(e,t,n,r){const s=bt(n),i='"'===s?"Quote":"Apostrophe",o=n.enter("definition");let a=n.enter("label");const c=n.createTracker(r);let l=c.move("[");return l+=c.move(n.safe(n.associationId(e),{before:l,after:"]",...c.current()})),l+=c.move("]: "),a(),!e.url||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),l+=c.move("<"),l+=c.move(n.safe(e.url,{before:l,after:">",...c.current()})),l+=c.move(">")):(a=n.enter("destinationRaw"),l+=c.move(n.safe(e.url,{before:l,after:e.title?" ":"\n",...c.current()}))),a(),e.title&&(a=n.enter(`title${i}`),l+=c.move(" "+s),l+=c.move(n.safe(e.title,{before:l,after:s,...c.current()})),l+=c.move(s),a()),o(),l},emphasis:kt,hardBreak:At,heading:function(e,t,n,r){const s=Math.max(Math.min(6,e.depth||1),1),i=n.createTracker(r);if(wt(e,n)){const t=n.enter("headingSetext"),r=n.enter("phrasing"),o=n.containerPhrasing(e,{...i.current(),before:"\n",after:"\n"});return r(),t(),o+"\n"+(1===s?"=":"-").repeat(o.length-(Math.max(o.lastIndexOf("\r"),o.lastIndexOf("\n"))+1))}const o="#".repeat(s),a=n.enter("headingAtx"),c=n.enter("phrasing");i.move(o+" ");let l=n.containerPhrasing(e,{before:"# ",after:"\n",...i.current()});return/^[\t ]/.test(l)&&(l="&#x"+l.charCodeAt(0).toString(16).toUpperCase()+";"+l.slice(1)),l=l?o+" "+l:o,n.options.closeAtx&&(l+=" "+o),c(),a(),l},html:Mt,image:Pt,imageReference:xt,inlineCode:Bt,link:Ut,linkReference:Ht,list:function(e,t,n,r){const s=n.enter("list"),i=n.bulletCurrent;let o=e.ordered?function(e){const t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):Gt(n);const a=e.ordered?"."===o?")":".":function(e){const t=Gt(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n);let c=!(!t||!n.bulletLastUsed)&&o===n.bulletLastUsed;if(!e.ordered){const t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(c=!0),qt(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===s||"mixed"===s&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));const a=n.createTracker(r);a.move(i+" ".repeat(o-i.length)),a.shift(o);const c=n.enter("listItem"),l=n.indentLines(n.containerFlow(e,a.current()),(function(e,t,n){if(t)return(n?"":" ".repeat(o))+e;return(n?i:i+" ".repeat(o-i.length))+e}));return c(),l},paragraph:function(e,t,n,r){const s=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),s(),o},root:function(e,t,n,r){return(e.children.some((function(e){return Yt(e)}))?n.containerPhrasing:n.containerFlow).call(n,e,r)},strong:jt,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){const r=(qt(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}},Vt=[function(e,t,n,r){if("code"===t.type&&_t(t,r)&&("list"===e.type||e.type===t.type&&_t(e,r)))return!1;if("spread"in n&&"boolean"==typeof n.spread){if("paragraph"===e.type&&(e.type===t.type||"definition"===t.type||"heading"===t.type&&wt(t,r)))return;return n.spread?1:0}}];const Kt=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],$t=[{character:"\t",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",before:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\n",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:Kt},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:Kt},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:"(?:[ \t\r\n*])"},{character:"*",inConstruct:"phrasing",notInConstruct:Kt},{atBreak:!0,character:"+",after:"(?:[ \t\r\n])"},{atBreak:!0,character:"-",after:"(?:[ \t\r\n-])"},{atBreak:!0,before:"\\d+",character:".",after:"(?:[ \t\r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:Kt},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:Kt},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:Kt},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:Kt},{atBreak:!0,character:"~"}];function Qt(e){return e.label||!e.identifier?e.label||"":Je(e.identifier)}function Wt(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function Xt(e,t,n,r){let s=r.join.length;for(;s--;){const i=r.join[s](e,t,n,r);if(!0===i||1===i)break;if("number"==typeof i)return"\n".repeat(1+i);if(!1===i)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}const Jt=/\r?\n|\r/g;function Zt(e,t){const n=[];let r,s=0,i=0;for(;r=Jt.exec(e);)o(e.slice(s,r.index)),n.push(r[0]),s=r.index+r[0].length,i++;return o(e.slice(s)),n.join("");function o(e){n.push(t(e,i,!e))}}function en(e,t){return e-t}function tn(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],s=[],i=e+t;let o,a=-1,c=0;for(;o=n.exec(i);)r.push(o.index);for(;++a0&&("\r"===a||"\n"===a)&&"html"===l.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),a=" ",c=t.createTracker(n),c.move(i.join(""))),i.push(c.move(t.handle(l,e,t,{...c.current(),before:a,after:u}))),a=i[i.length-1].slice(-1)}return r.pop(),i.join("")}(e,this,t)}function ln(e,t){return function(e,t,n){const r=t.indexStack,s=e.children||[],i=t.createTracker(n),o=[];let a=-1;for(r.push(-1);++a=l||e+1t.length;let o;r&&t.push(s);try{o=e.apply(this,t)}catch(e){if(r&&n)throw e;return s(e)}r||(o instanceof Promise?o.then(i,s):o instanceof Error?s(o):i(o))}function s(e,...r){n||(n=!0,t(e,...r))}function i(e){s(null,e)}}(a,s)(...o):r(null,...o)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}class Nn extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",s={},i=!1;if(t&&(s="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!s.cause&&e&&(i=!0,r=e.message,s.cause=e),!s.ruleId&&!s.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?s.ruleId=n:(s.source=n.slice(0,e),s.ruleId=n.slice(e+1))}if(!s.place&&s.ancestors&&s.ancestors){const e=s.ancestors[s.ancestors.length-1];e&&(s.place=e.position)}const o=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=o?o.line:void 0,this.name=et(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=i&&s.cause&&"string"==typeof s.cause.stack?s.cause.stack:"",this.actual,this.expected,this.note,this.url}}Nn.prototype.file="",Nn.prototype.name="",Nn.prototype.reason="",Nn.prototype.message="",Nn.prototype.stack="",Nn.prototype.column=void 0,Nn.prototype.line=void 0,Nn.prototype.ancestors=void 0,Nn.prototype.cause=void 0,Nn.prototype.fatal=void 0,Nn.prototype.place=void 0,Nn.prototype.ruleId=void 0,Nn.prototype.source=void 0;const Sn={basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');Cn(e);let n,r=0,s=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else s<0&&(n=!0,s=i+1);return s<0?"":e.slice(r,s)}if(t===e)return"";let o=-1,a=t.length-1;for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(s=i):(a=-1,s=o));r===s?s=o:s<0&&(s=e.length);return e.slice(r,s)},dirname:function(e){if(Cn(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){Cn(e);let t,n=e.length,r=-1,s=0,i=-1,o=0;for(;n--;){const a=e.codePointAt(n);if(47!==a)r<0&&(t=!0,r=n+1),46===a?i<0?i=n:1!==o&&(o=1):i>-1&&(o=-1);else if(t){s=n+1;break}}if(i<0||r<0||0===o||1===o&&i===r-1&&i===s+1)return"";return e.slice(i,r)},join:function(...e){let t,n=-1;for(;++n2){if(r=s.lastIndexOf("/"),r!==s.length-1){r<0?(s="",i=0):(s=s.slice(0,r),i=s.length-1-s.lastIndexOf("/")),o=c,a=0;continue}}else if(s.length>0){s="",i=0,o=c,a=0;continue}t&&(s=s.length>0?s+"/..":"..",i=2)}else s.length>0?s+="/"+e.slice(o+1,c):s=e.slice(o+1,c),i=c-o-1;o=c,a=0}else 46===n&&a>-1?a++:a=-1}return s}(e,!t);0!==n.length||t||(n=".");n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/");return t?"/"+n:n}(t)},sep:"/"};function Cn(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const In={cwd:function(){return"/"}};function On(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function Dn(e){if("string"==typeof e)e=new URL(e);else if(!On(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n0){let[r,...i]=t;const o=n[s][1];bn(o)&&bn(r)&&(r=yn(!0,o,r)),n[s]=[e,r,...i]}}}}function Fn(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function Un(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function Hn(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Gn(e){if(!bn(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function qn(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Yn(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new Rn(e)}const jn=(new Bn).freeze()().use((function(e){const t=this;t.parser=function(n){return it(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}})).use((function(e){const t=this;t.compiler=function(n){return rn(n,{...t.data("settings"),...e,extensions:t.data("toMarkdownExtensions")||[]})}})).freeze(),zn="object"==typeof self?self:globalThis,Vn=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=s=>{if(e.has(s))return e.get(s);const[i,o]=t[s];switch(i){case 0:case-1:return n(o,s);case 1:{const e=n([],s);for(const t of o)e.push(r(t));return e}case 2:{const e=n({},s);for(const[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),s);case 4:{const{source:e,flags:t}=o;return n(new RegExp(e,t),s)}case 5:{const e=n(new Map,s);for(const[t,n]of o)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,s);for(const t of o)e.add(r(t));return e}case 7:{const{name:e,message:t}=o;return n(new zn[e](t),s)}case 8:return n(BigInt(o),s);case"BigInt":return n(Object(BigInt(o)),s)}return n(new zn[i](o),s)};return r})(new Map,e)(0),Kn="",{toString:$n}={},{keys:Qn}=Object,Wn=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=$n.call(e).slice(8,-1);switch(n){case"Array":return[1,Kn];case"Object":return[2,Kn];case"Date":return[3,Kn];case"RegExp":return[4,Kn];case"Map":return[5,Kn];case"Set":return[6,Kn]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},Xn=([e,t])=>0===e&&("function"===t||"symbol"===t),Jn=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const s=(e,t)=>{const s=r.push(e)-1;return n.set(t,s),s},i=r=>{if(n.has(r))return n.get(r);let[o,a]=Wn(r);switch(o){case 0:{let t=r;switch(a){case"bigint":o=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+a);t=null;break;case"undefined":return s([-1],r)}return s([o,t],r)}case 1:{if(a)return s([a,[...r]],r);const e=[],t=s([o,e],r);for(const t of r)e.push(i(t));return t}case 2:{if(a)switch(a){case"BigInt":return s([a,r.toString()],r);case"Boolean":case"Number":case"String":return s([a,r.valueOf()],r)}if(t&&"toJSON"in r)return i(r.toJSON());const n=[],c=s([o,n],r);for(const t of Qn(r))!e&&Xn(Wn(r[t]))||n.push([i(t),i(r[t])]);return c}case 3:return s([o,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return s([o,{source:e,flags:t}],r)}case 5:{const t=[],n=s([o,t],r);for(const[n,s]of r)(e||!Xn(Wn(n))&&!Xn(Wn(s)))&&t.push([i(n),i(s)]);return n}case 6:{const t=[],n=s([o,t],r);for(const n of r)!e&&Xn(Wn(n))||t.push(i(n));return n}}const{message:c}=r;return s([o,{name:a,message:c}],r)};return i})(!(t||n),!!t,new Map,r)(e),r};var Zn="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?Vn(Jn(e,t)):structuredClone(e):(e,t)=>Vn(Jn(e,t));const er=nr("end"),tr=nr("start");function nr(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function rr(e){const t=tr(e),n=er(e);if(t&&n)return{start:t,end:n}}const sr=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],ir={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...sr,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...sr],h2:[["className","sr-only"]],img:[...sr,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...sr,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...sr],table:[...sr],ul:[...sr,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]},or={}.hasOwnProperty;function ar(e,t){if(t&&"object"==typeof t){const n=t;switch("string"==typeof n.type?n.type:""){case"comment":return function(e,t){if(e.schema.allowComments){const e="string"==typeof t.value?t.value:"",n=e.indexOf("--\x3e"),r={type:"comment",value:n<0?e:e.slice(0,n)};return hr(r,t),r}}(e,n);case"doctype":return function(e,t){if(e.schema.allowDoctypes){const e={type:"doctype"};return hr(e,t),e}}(e,n);case"element":return function(e,t){const n="string"==typeof t.tagName?t.tagName:"";e.stack.push(n);const r=cr(e,t.children),s=function(e,t){const n=e.stack[e.stack.length-1],r=e.schema.attributes,s=e.schema.required,i=r&&or.call(r,n)?r[n]:void 0,o=r&&or.call(r,"*")?r["*"]:void 0,a=t&&"object"==typeof t?t:{},c={};let l;for(l in a)if(or.call(a,l)){const t=a[l];let n=lr(e,pr(i,l),l,t);null==n&&(n=lr(e,pr(o,l),l,t)),null!=n&&(c[l]=n)}if(s&&or.call(s,n)){const e=s[n];for(l in e)or.call(e,l)&&!or.call(c,l)&&(c[l]=e[l])}return c}(e,t.properties);e.stack.pop();let i=!1;if(n&&"*"!==n&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(i=!0,e.schema.ancestors&&or.call(e.schema.ancestors,n))){const t=e.schema.ancestors[n];let r=-1;for(i=!1;++r-1&&i>c||o>-1&&i>o||a>-1&&i>a)return!0;let l=-1;for(;++l1){let e=!1,n=0;for(;++n4&&"data"===t.slice(0,4).toLowerCase())return n}function fr(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];const s=e.all(t),i=s[0];i&&"text"===i.type?i.value="["+i.value:s.unshift({type:"text",value:"["});const o=s[s.length-1];return o&&"text"===o.type?o.value+=r:s.push({type:"text",value:r}),s}function dr(e){const t=e.spread;return null==t?e.children.length>1:t}const mr=9,Er=32;function gr(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),s=0;const i=[];for(;r;)i.push(Tr(t.slice(s,r.index),s>0,!0),r[0]),s=r.index+r[0].length,r=n.exec(t);return i.push(Tr(t.slice(s),s>0,!1)),i.join("")}function Tr(e,t,n){let r=0,s=e.length;if(t){let t=e.codePointAt(r);for(;t===mr||t===Er;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(s-1);for(;t===mr||t===Er;)s--,t=e.codePointAt(s-1)}return s>r?e.slice(r,s):""}const Ar={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let s={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(s.data={meta:t.meta}),e.patch(t,s),s=e.applyData(t,s),s={type:"element",tagName:"pre",properties:{},children:[s]},e.patch(t,s),s},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),s=U(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let o,a=e.footnoteCounts.get(r);void 0===a?(a=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=i+1,a+=1,e.footnoteCounts.set(r,a);const c={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+s,id:n+"fnref-"+s+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,c);const l={type:"element",tagName:"sup",properties:{},children:[c]};return e.patch(t,l),e.applyData(t,l)},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return fr(e,t);const s={src:U(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(s.title=r.title);const i={type:"element",tagName:"img",properties:s,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const n={src:U(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return fr(e,t);const s={href:U(r.url||"")};null!==r.title&&void 0!==r.title&&(s.title=r.title);const i={type:"element",tagName:"a",properties:s,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const n={href:U(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),s=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let a=-1;for(;++a0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=tr(t.children[1]),o=er(t.children[t.children.length-1]);i&&o&&(r.position={start:i,end:o}),s.push(r)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(s,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,s=0===(r?r.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,o=i?i.length:t.children.length;let a=-1;const c=[];for(;++a1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function br(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const kr={}.hasOwnProperty,Nr={};function Sr(e,t){e.position&&(t.position=rr(e))}function Cr(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,s=e.data.hProperties;if("string"==typeof t)if("element"===n.type)n.tagName=t;else{n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}}"element"===n.type&&s&&Object.assign(n.properties,Zn(s)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function Ir(e,t){const n=t.data||{},r=!("value"in t)||kr.call(n,"hProperties")||kr.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}function Or(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:"\n"});++r0&&n.push({type:"text",value:"\n"}),n}function Dr(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function Lr(e,t){const n=function(e,t){const n=t||Nr,r=new Map,s=new Map,i=new Map,o={...Ar,...n.handlers},a={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r0&&h.push({type:"text",value:" "});let e="string"==typeof n?n:n(c,u);"string"==typeof e&&(e={type:"text",value:e}),h.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+l+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(c,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const f=i[i.length-1];if(f&&"element"===f.type&&"p"===f.tagName){const e=f.children[f.children.length-1];e&&"text"===e.type?e.value+=" ":f.children.push({type:"text",value:" "}),f.children.push(...h)}else i.push(...h);const d={type:"element",tagName:"li",properties:{id:t+"fn-"+l},children:e.wrap(i,!0)};e.patch(s,d),a.push(d)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...Zn(o),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:"\n"}]}}(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return s&&i.children.push({type:"text",value:"\n"},s),i}const Rr=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class vr{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function wr(e,t){const n={},r={};let s=-1;for(;++s"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Jr=Wr({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Zr(e,t){return t in e?e[t]:t}function es(e,t){return Zr(e,t.toLowerCase())}const ts=Wr({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:es,properties:{xmlns:null,xmlnsXLink:null}}),ns=Wr({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:Fr,ariaAutoComplete:null,ariaBusy:Fr,ariaChecked:Fr,ariaColCount:Hr,ariaColIndex:Hr,ariaColSpan:Hr,ariaControls:Gr,ariaCurrent:null,ariaDescribedBy:Gr,ariaDetails:null,ariaDisabled:Fr,ariaDropEffect:Gr,ariaErrorMessage:null,ariaExpanded:Fr,ariaFlowTo:Gr,ariaGrabbed:Fr,ariaHasPopup:null,ariaHidden:Fr,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Gr,ariaLevel:Hr,ariaLive:null,ariaModal:Fr,ariaMultiLine:Fr,ariaMultiSelectable:Fr,ariaOrientation:null,ariaOwns:Gr,ariaPlaceholder:null,ariaPosInSet:Hr,ariaPressed:Fr,ariaReadOnly:Fr,ariaRelevant:null,ariaRequired:Fr,ariaRoleDescription:Gr,ariaRowCount:Hr,ariaRowIndex:Hr,ariaRowSpan:Hr,ariaSelected:Fr,ariaSetSize:Hr,ariaSort:null,ariaValueMax:Hr,ariaValueMin:Hr,ariaValueNow:Hr,ariaValueText:null,role:null}}),rs=Wr({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:es,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:qr,acceptCharset:Gr,accessKey:Gr,action:null,allow:null,allowFullScreen:Br,allowPaymentRequest:Br,allowUserMedia:Br,alt:null,as:null,async:Br,autoCapitalize:null,autoComplete:Gr,autoFocus:Br,autoPlay:Br,blocking:Gr,capture:Br,charSet:null,checked:Br,cite:null,className:Gr,cols:Hr,colSpan:null,content:null,contentEditable:Fr,controls:Br,controlsList:Gr,coords:Hr|qr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Br,defer:Br,dir:null,dirName:null,disabled:Br,download:Ur,draggable:Fr,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Br,formTarget:null,headers:Gr,height:Hr,hidden:Br,high:Hr,href:null,hrefLang:null,htmlFor:Gr,httpEquiv:Gr,id:null,imageSizes:null,imageSrcSet:null,inert:Br,inputMode:null,integrity:null,is:null,isMap:Br,itemId:null,itemProp:Gr,itemRef:Gr,itemScope:Br,itemType:Gr,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Br,low:Hr,manifest:null,max:null,maxLength:Hr,media:null,method:null,min:null,minLength:Hr,multiple:Br,muted:Br,name:null,nonce:null,noModule:Br,noValidate:Br,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:Br,optimum:Hr,pattern:null,ping:Gr,placeholder:null,playsInline:Br,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Br,referrerPolicy:null,rel:Gr,required:Br,reversed:Br,rows:Hr,rowSpan:Hr,sandbox:Gr,scope:null,scoped:Br,seamless:Br,selected:Br,shadowRootDelegatesFocus:Br,shadowRootMode:null,shape:null,size:Hr,sizes:null,slot:null,span:Hr,spellCheck:Fr,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Hr,step:null,style:null,tabIndex:Hr,target:null,title:null,translate:null,type:null,typeMustMatch:Br,useMap:null,value:Fr,width:Hr,wrap:null,align:null,aLink:null,archive:Gr,axis:null,background:null,bgColor:null,border:Hr,borderColor:null,bottomMargin:Hr,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Br,declare:Br,event:null,face:null,frame:null,frameBorder:null,hSpace:Hr,leftMargin:Hr,link:null,longDesc:null,lowSrc:null,marginHeight:Hr,marginWidth:Hr,noResize:Br,noHref:Br,noShade:Br,noWrap:Br,object:null,profile:null,prompt:null,rev:null,rightMargin:Hr,rules:null,scheme:null,scrolling:Fr,standby:null,summary:null,text:null,topMargin:Hr,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Hr,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Br,disableRemotePlayback:Br,prefix:null,property:null,results:Hr,security:null,unselectable:null}}),ss=Wr({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:Zr,properties:{about:Yr,accentHeight:Hr,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Hr,amplitude:Hr,arabicForm:null,ascent:Hr,attributeName:null,attributeType:null,azimuth:Hr,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Hr,by:null,calcMode:null,capHeight:Hr,className:Gr,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:Hr,diffuseConstant:Hr,direction:null,display:null,dur:null,divisor:Hr,dominantBaseline:null,download:Br,dx:null,dy:null,edgeMode:null,editable:null,elevation:Hr,enableBackground:null,end:null,event:null,exponent:Hr,externalResourcesRequired:null,fill:null,fillOpacity:Hr,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:qr,g2:qr,glyphName:qr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Hr,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Hr,horizOriginX:Hr,horizOriginY:Hr,id:null,ideographic:Hr,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Hr,k:Hr,k1:Hr,k2:Hr,k3:Hr,k4:Hr,kernelMatrix:Yr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Hr,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:Hr,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:Hr,overlineThickness:Hr,paintOrder:null,panose1:null,path:null,pathLength:Hr,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Gr,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Hr,pointsAtY:Hr,pointsAtZ:Hr,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Yr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Yr,rev:Yr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Yr,requiredFeatures:Yr,requiredFonts:Yr,requiredFormats:Yr,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:Hr,specularExponent:Hr,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Hr,strikethroughThickness:Hr,string:null,stroke:null,strokeDashArray:Yr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Hr,strokeOpacity:Hr,strokeWidth:null,style:null,surfaceScale:Hr,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Yr,tabIndex:Hr,tableValues:null,target:null,targetX:Hr,targetY:Hr,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Yr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Hr,underlineThickness:Hr,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Hr,values:null,vAlphabetic:Hr,vMathematical:Hr,vectorEffect:null,vHanging:Hr,vIdeographic:Hr,version:null,vertAdvY:Hr,vertOriginX:Hr,vertOriginY:Hr,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Hr,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),is=/^data[-\w.:]+$/i,os=/-[a-z]/g,as=/[A-Z]/g;function cs(e,t){const n=Mr(t);let r=t,s=Pr;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&is.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(os,us);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!os.test(e)){let n=e.replace(as,ls);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}s=Kr}return new s(r,t)}function ls(e){return"-"+e.toLowerCase()}function us(e){return e.charAt(1).toUpperCase()}const hs=wr([Jr,Xr,ts,ns,rs],"html"),ps=wr([Jr,Xr,ts,ns,ss],"svg");function fs(e,t){return e=e.replace(t.subset?function(e){const t=[];let n=-1;for(;++n`]/g,n),t.subset||t.escapeOnly?e:e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,(function(e,n,r){return t.format(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)})).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,n);function n(e,n,r){return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}const ds=["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"],ms={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},Es=["cent","copy","divide","gt","lt","not","para","times"],gs={}.hasOwnProperty,Ts={};let As;for(As in ms)gs.call(ms,As)&&(Ts[ms[As]]=As);function _s(e,t,n){let r,s=function(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);if((n.useNamedReferences||n.useShortestReferences)&&(r=function(e,t,n,r){const s=String.fromCharCode(e);if(gs.call(Ts,s)){const e=Ts[s],i="&"+e;return n&&ds.includes(e)&&!Es.includes(e)&&(!r||t&&61!==t&&/[^\da-z]/i.test(String.fromCharCode(t)))?i:i+";"}return""}(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!r)&&n.useShortestReferences){const r=function(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);r.length0},html:function(e){const t=Ls(e,-1);return!t||"comment"!==t.type},tbody:function(e,t,n){const r=Rs(n,t),s=Ls(e,-1);if(n&&r&&"element"===r.type&&("thead"===r.tagName||"tbody"===r.tagName)&&xs(r,n.children.indexOf(r),n))return!1;return Boolean(s&&"element"===s.type&&"tr"===s.tagName)}});const Gs={name:[["\t\n\f\r &/=>".split(""),"\t\n\f\r \"&'/=>`".split("")],["\0\t\n\f\r \"&'/<=>".split(""),"\0\t\n\f\r \"&'/<=>`".split("")]],unquoted:[["\t\n\f\r &>".split(""),"\0\t\n\f\r \"&'<=>`".split("")],["\0\t\n\f\r \"&'<=>`".split(""),"\0\t\n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function qs(e,t,n){const r=cs(e.schema,t),s=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,i=e.settings.allowDangerousCharacters?0:1;let o,a=e.quote;if(!r.overloadedBoolean||n!==r.attribute&&""!==n?(r.boolean||r.overloadedBoolean&&"string"!=typeof n)&&(n=Boolean(n)):n=!0,null==n||!1===n||"number"==typeof n&&Number.isNaN(n))return"";const c=ys(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Gs.name[s][i]}));return!0===n?c:(n=Array.isArray(n)?(r.commaSeparated?Ns:Cs)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n?c:(e.settings.preferUnquoted&&(o=ys(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Gs.unquoted[s][i]}))),o!==n&&(e.settings.quoteSmart&&bs(n,a)>bs(n,e.alternative)&&(a=e.alternative),o=a+ys(n,Object.assign({},e.settings.characterReferences,{subset:("'"===a?Gs.single:Gs.double)[s][i],attribute:!0}))+a),c+(o?"="+o:o)))}function Ys(e,t,n,r){return!n||"element"!==n.type||"script"!==n.tagName&&"style"!==n.tagName?ys(e.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]})):e.value}const js=ht("type",{invalid:function(e){throw new Error("Expected node, not `"+e+"`")},unknown:function(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")},handlers:{comment:function(e,t,n,r){return r.settings.bogusComments?""]}))+">":"\x3c!--"+e.value.replace(/^>|^->||--!>|"]}))}))+"--\x3e"},doctype:function(e,t,n,r){return""},element:function(e,t,n,r){const s=r.schema,i="svg"!==s.space&&r.settings.omitOptionalTags;let o="svg"===s.space?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const a=[];let c;"html"===s.space&&"svg"===e.tagName&&(r.schema=ps);const l=function(e,t){const n=[];let r,s=-1;if(t)for(r in t)if(null!==t[r]&&void 0!==t[r]){const s=qs(e,r,t[r]);s&&n.push(s)}for(;++s")),a.push(u),o||i&&xs(e,t,n)||a.push(""),a.join("")},raw:function(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Ys(e,0,n,r)},root:function(e,t,n,r){return r.all(e)},text:Ys}});const zs={},Vs={},Ks=[];function $s(e,t){const n=t||zs,r=n.quote||'"',s='"'===r?"'":'"';if('"'!==r&&"'"!==r)throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:Qs,all:Ws,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||Rr,characterReferences:n.characterReferences||Vs,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:"svg"===n.space?ps:hs,quote:r,alternative:s}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function Qs(e,t,n){return js(e,t,n,this)}function Ws(e){const t=[],n=e&&e.children||Ks;let r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(a!==n&&h.push({type:"text",value:e.value.slice(a,n)}),Array.isArray(i)?h.push(...i):i&&h.push(i),a=n+p[0].length,u=!0),!r.global)break;p=r.exec(e.value)}u?(a?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const s=bs(e,"(");let i=bs(e,")");for(;-1!==r&&s>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}(n+r);if(!o[0])return!1;const a={type:"link",title:null,url:i+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[a,{type:"text",value:o[1]}]:a}function pi(e,t,n,r){return!(!fi(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function fi(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||B(n)||x(n))&&(!t||47!==n)}function di(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function mi(){this.buffer()}function Ei(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=N(this.sliceSerialize(e)).toLowerCase()}function gi(e){this.exit(e)}function Ti(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Ai(){this.buffer()}function _i(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=N(this.sliceSerialize(e)).toLowerCase()}function yi(e){this.exit(e)}function bi(e,t,n,r){const s=n.createTracker(r);let i=s.move("[^");const o=n.enter("footnoteReference"),a=n.enter("reference");return i+=s.move(n.safe(n.associationId(e),{...s.current(),before:i,after:"]"})),a(),o(),i+=s.move("]"),i}function ki(e,t,n,r){const s=n.createTracker(r);let i=s.move("[^");const o=n.enter("footnoteDefinition"),a=n.enter("label");return i+=s.move(n.safe(n.associationId(e),{...s.current(),before:i,after:"]"})),a(),i+=s.move("]:"+(e.children&&e.children.length>0?" ":"")),s.shift(4),i+=s.move(n.indentLines(n.containerFlow(e,s.current()),Ni)),o(),i}function Ni(e,t,n){return 0===t?e:(n?"":" ")+e}bi.peek=function(){return"["};const Si=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function Ci(e){this.enter({type:"delete",children:[]},e)}function Ii(e){this.exit(e)}function Oi(e,t,n,r){const s=n.createTracker(r),i=n.enter("strikethrough");let o=s.move("~~");return o+=n.containerPhrasing(e,{...s.current(),before:o,after:"~"}),o+=s.move("~~"),i(),o}function Di(e){return null==e?"":String(e)}function Li(e){return e.length}function Ri(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function vi(e){const t=e._align;this.enter({type:"table",align:t.map((function(e){return"none"===e?null:e})),children:[]},e),this.data.inTable=!0}function wi(e){this.exit(e),this.data.inTable=void 0}function Mi(e){this.enter({type:"tableRow",children:[]},e)}function Pi(e){this.exit(e)}function xi(e){this.enter({type:"tableCell",children:[]},e)}function Bi(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,Fi));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function Fi(e,t){return"|"===t?t:e}function Ui(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,s=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[\t :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=zt.inlineCode(e,t,n);n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&"));return r},table:function(e,t,n,r){return a(function(e,t,n){const r=e.children;let s=-1;const i=[],o=t.enter("table");for(;++sc&&(c=e[l].length);++ua[u])&&(a[u]=e)}n.push(i)}i[l]=n,o[l]=s}let u=-1;if("object"==typeof n&&"length"in n)for(;++ua[u]&&(a[u]=i),p[u]=i),h[u]=o}i.splice(1,0,h),o.splice(1,0,p),l=-1;const f=[];for(;++l0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}Xi[43]=Wi,Xi[45]=Wi,Xi[46]=Wi,Xi[95]=Wi,Xi[72]=[Wi,Qi],Xi[104]=[Wi,Qi],Xi[87]=[Wi,$i],Xi[119]=[Wi,$i];const so={tokenize:function(e,t,n){const r=this;return H(e,(function(e){const s=r.events[r.events.length-1];return s&&"gfmFootnoteDefinitionIndent"===s[1].type&&4===s[2].sliceSerialize(s[1],!0).length?t(e):n(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function io(e,t,n){const r=this;let s=r.events.length;const i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;s--;){const e=r.events[s][1];if("labelImage"===e.type){o=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(s){if(!o||!o._balanced)return n(s);const a=N(r.sliceSerialize({start:o.end,end:r.now()}));if(94!==a.codePointAt(0)||!i.includes(a.slice(1)))return n(s);return e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),t(s)}}function oo(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},a=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",s,t],["exit",s,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...a),e}function ao(e,t,n){const r=this,s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,o=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),a};function a(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(a){if(o>999||93===a&&!i||null===a||91===a||M(a))return n(a);if(93===a){e.exit("chunkString");const i=e.exit("gfmFootnoteCallString");return s.includes(N(r.sliceSerialize(i)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(a)}return M(a)||(i=!0),o++,e.consume(a),92===a?l:c}function l(t){return 91===t||92===t||93===t?(e.consume(t),o++,c):c(t)}}function co(e,t,n){const r=this,s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,o,a=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",l):n(t)}function l(t){if(a>999||93===t&&!o||null===t||91===t||M(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return i=N(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return M(t)||(o=!0),a++,e.consume(t),92===t?u:l}function u(t){return 91===t||92===t||93===t?(e.consume(t),a++,l):l(t)}function h(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(i)||s.push(i),H(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}function p(e){return t(e)}}function lo(e,t,n){return e.check(Q,t,e.attempt(so,t,n))}function uo(e){e.exit("gfmFootnoteDefinition")}function ho(e){let t=(e||{}).singleTilde;const n={tokenize:function(e,n,r){const s=this.previous,i=this.events;let o=0;return function(t){if(126===s&&"characterEscape"!==i[i.length-1][1].type)return r(t);return e.enter("strikethroughSequenceTemporary"),a(t)};function a(i){const c=j(s);if(126===i)return o>1?r(i):(e.consume(i),o++,a);if(o<2&&!t)return r(i);const l=e.exit("strikethroughSequenceTemporary"),u=j(i);return l._open=!u||2===u&&Boolean(c),l._close=!c||2===c&&Boolean(u),n(i)}},resolveAll:function(e,t){let n=-1;for(;++n0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function fo(e,t){let n=!1;const r=[];for(;t-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const s=t>-1?r.events[t][1].type:null,i="tableHead"===s||"tableRow"===s?_:a;if(i===_&&r.parser.lazy[r.now().line])return n(e);return i(e)};function a(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){if(124===e)return c(e);return s=!0,o+=1,c(e)}(t)}function c(t){return null===t?n(t):w(t)?o>1?(o=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),h):n(t):P(t)?H(e,c,"whitespace")(t):(o+=1,s&&(s=!1,i+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),s=!0,c):(e.enter("data"),l(t)))}function l(t){return null===t||124===t||M(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?u:l)}function u(t){return 92===t||124===t?(e.consume(t),l):l(t)}function h(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),s=!1,P(t)?H(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))}function p(t){return 45===t||58===t?d(t):124===t?(s=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):A(t)}function f(t){return P(t)?H(e,d,"whitespace")(t):d(t)}function d(t){return 58===t?(o+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(o+=1,m(t)):null===t||w(t)?T(t):A(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),E(t)):A(t)}function E(t){return 45===t?(e.consume(t),E):58===t?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):(e.exit("tableDelimiterFiller"),g(t))}function g(t){return P(t)?H(e,T,"whitespace")(t):T(t)}function T(n){return 124===n?p(n):(null===n||w(n))&&s&&i===o?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):A(n)}function A(e){return n(e)}function _(t){return e.enter("tableRow"),y(t)}function y(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),y):null===n||w(n)?(e.exit("tableRow"),t(n)):P(n)?H(e,y,"whitespace")(n):(e.enter("data"),b(n))}function b(t){return null===t||124===t||M(t)?(e.exit("data"),y(t)):(e.consume(t),92===t?k:b)}function k(t){return 92===t||124===t?(e.consume(t),b):b(t)}}function Eo(e,t){let n,r,s,i=-1,o=!0,a=0,c=[0,0,0,0],l=[0,0,0,0],u=!1,h=0;const p=new po;for(;++in[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==s&&(i.end=Object.assign({},Ao(t.events,s)),e.add(s,0,[["exit",i,t]]),i=void 0),i}function To(e,t,n,r,s){const i=[],o=Ao(t.events,n);s&&(s.end=Object.assign({},o),i.push(["exit",s,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function Ao(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const _o={tokenize:function(e,t,n){const r=this;return function(t){if(null!==r.previous||!r._gfmTasklistFirstContentOfListItem)return n(t);return e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),s};function s(t){return M(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),i):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),i):n(t)}function i(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(t)}function o(r){return w(r)?t(r):P(r)?e.check({tokenize:yo},t,n)(r):n(r)}}};function yo(e,t,n){return H(e,(function(e){return null===e?n(e):t(e)}),"whitespace")}const bo={};function ko(e){const t=e||bo,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),s=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(e){return _([{text:Xi},{document:{91:{tokenize:co,continuation:{tokenize:lo},exit:uo}},text:{91:{tokenize:ao},93:{add:"after",tokenize:io,resolveTo:oo}}},ho(e),{flow:{null:{tokenize:mo,resolveAll:Eo}}},{text:{91:_o}}])}(t)),s.push([{transforms:[ui],enter:{literalAutolink:si,literalAutolinkEmail:ii,literalAutolinkHttp:ii,literalAutolinkWww:ii},exit:{literalAutolink:li,literalAutolinkEmail:ci,literalAutolinkHttp:oi,literalAutolinkWww:ai}},{enter:{gfmFootnoteDefinition:di,gfmFootnoteDefinitionLabelString:mi,gfmFootnoteCall:Ti,gfmFootnoteCallString:Ai},exit:{gfmFootnoteDefinition:gi,gfmFootnoteDefinitionLabelString:Ei,gfmFootnoteCall:yi,gfmFootnoteCallString:_i}},{canContainEols:["delete"],enter:{strikethrough:Ci},exit:{strikethrough:Ii}},{enter:{table:vi,tableData:xi,tableHeader:xi,tableRow:Mi},exit:{codeText:Bi,table:wi,tableData:Pi,tableHeader:Pi,tableRow:Pi}},{exit:{taskListCheckValueChecked:Hi,taskListCheckValueUnchecked:Hi,paragraph:Gi}}]),i.push(function(e){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:ni,notInConstruct:ri},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:ni,notInConstruct:ri},{character:":",before:"[ps]",after:"\\/",inConstruct:ni,notInConstruct:ri}]},{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:ki,footnoteReference:bi}},{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Si}],handlers:{delete:Oi}},Ui(e),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:qi}}]}}(t))}var No,So={exports:{}};No=So,function(){var e;function t(e){for(var t,n,r,s,i=1,o=[].slice.call(arguments),a=0,c=e.length,l="",u=!1,h=!1,p=function(){return o[i++]},f=function(){for(var n="";/\d/.test(e[a]);)n+=e[a++],t=e[a];return n.length>0?parseInt(n):null};a!!e&&"object"==typeof e&&e[Xo]===zo,Zo=e=>!!e&&"object"==typeof e&&e[Xo]===Vo,ea=e=>!!e&&"object"==typeof e&&e[Xo]===Ko,ta=e=>!!e&&"object"==typeof e&&e[Xo]===$o,na=e=>!!e&&"object"==typeof e&&e[Xo]===Qo,ra=e=>!!e&&"object"==typeof e&&e[Xo]===Wo;function sa(e){if(e&&"object"==typeof e)switch(e[Xo]){case Ko:case Wo:return!0}return!1}function ia(e){if(e&&"object"==typeof e)switch(e[Xo]){case zo:case Ko:case Qo:case Wo:return!0}return!1}const oa=e=>(na(e)||sa(e))&&!!e.anchor,aa=Symbol("break visit"),ca=Symbol("skip children"),la=Symbol("remove node");function ua(e,t){const n=da(t);if(Zo(e)){ha(null,e.contents,n,Object.freeze([e]))===la&&(e.contents=null)}else ha(null,e,n,Object.freeze([]))}function ha(e,t,n,r){const s=ma(e,t,n,r);if(ia(s)||ta(s))return Ea(e,r,s),ha(e,s,n,r);if("symbol"!=typeof s)if(sa(t)){r=Object.freeze(r.concat(t));for(let e=0;e"!==e[e.length-1]&&t("Verbatim tags must end with a >"),n)}const[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);const s=this.tags[n];if(s)try{return s+decodeURIComponent(r)}catch(e){return t(String(e)),null}return"!"===n?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(const[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+e.substring(n.length).replace(/[!,[\]{}]/g,(e=>ga[e]));return"!"===e[0]?e:`!<${e}>`}toString(e){const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags);let r;if(e&&n.length>0&&ia(e.contents)){const t={};ua(e.contents,((e,n)=>{ia(n)&&n.tag&&(t[n.tag]=!0)})),r=Object.keys(t)}else r=[];for(const[s,i]of n)"!!"===s&&"tag:yaml.org,2002:"===i||e&&!r.some((e=>e.startsWith(i)))||t.push(`%TAG ${s} ${i}`);return t.join("\n")}}function Aa(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const t=JSON.stringify(e);throw new Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0}function _a(e){const t=new Set;return ua(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function ya(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}function ba(e,t,n,r){if(r&&"object"==typeof r)if(Array.isArray(r))for(let t=0,n=r.length;tka(e,String(t),n)));if(e&&"function"==typeof e.toJSON){if(!n||!oa(e))return e.toJSON(t,n);const r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=e=>{r.res=e,delete n.onCreate};const s=e.toJSON(t,n);return n.onCreate&&n.onCreate(s),s}return"bigint"!=typeof e||n?.keep?e:Number(e)}Ta.defaultYaml={explicit:!1,version:"1.2"},Ta.defaultTags={"!!":"tag:yaml.org,2002:"};class Na{constructor(e){Object.defineProperty(this,Xo,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:r,reviver:s}={}){if(!Zo(e))throw new TypeError("A document argument is required");const i={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},o=ka(this,"",i);if("function"==typeof r)for(const{count:e,res:t}of i.anchors.values())r(t,e);return"function"==typeof s?ba(s,{"":o},"",o):o}}class Sa extends Na{constructor(e){super(zo),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e){let t;return ua(e,{Node:(e,n)=>{if(n===this)return ua.BREAK;n.anchor===this.source&&(t=n)}}),t}toJSON(e,t){if(!t)return{source:this.source};const{anchors:n,doc:r,maxAliasCount:s}=t,i=this.resolve(r);if(!i){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(e)}let o=n.get(i);if(o||(ka(i,null,t),o=n.get(i)),!o||void 0===o.res){throw new ReferenceError("This should not happen: Alias anchor was not resolved?")}if(s>=0&&(o.count+=1,0===o.aliasCount&&(o.aliasCount=Ca(r,i,n)),o.count*o.aliasCount>s)){throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack")}return o.res}toString(e,t,n){const r=`*${this.source}`;if(e){if(Aa(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(e)}if(e.implicitKey)return`${r} `}return r}}function Ca(e,t,n){if(Jo(t)){const r=t.resolve(e),s=n&&r&&n.get(r);return s?s.count*s.aliasCount:0}if(sa(t)){let r=0;for(const s of t.items){const t=Ca(e,s,n);t>r&&(r=t)}return r}if(ta(t)){const r=Ca(e,t.key,n),s=Ca(e,t.value,n);return Math.max(r,s)}return 1}const Ia=e=>!e||"function"!=typeof e&&"object"!=typeof e;class Oa extends Na{constructor(e){super(Qo),this.value=e}toJSON(e,t){return t?.keep?this.value:ka(this.value,e,t)}toString(){return String(this.value)}}Oa.BLOCK_FOLDED="BLOCK_FOLDED",Oa.BLOCK_LITERAL="BLOCK_LITERAL",Oa.PLAIN="PLAIN",Oa.QUOTE_DOUBLE="QUOTE_DOUBLE",Oa.QUOTE_SINGLE="QUOTE_SINGLE";const Da="tag:yaml.org,2002:";function La(e,t,n){if(Zo(e)&&(e=e.contents),ia(e))return e;if(ta(e)){const t=n.schema[Ko].createNode?.(n.schema,null,n);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:r,onAnchor:s,onTagObj:i,schema:o,sourceObjects:a}=n;let c;if(r&&e&&"object"==typeof e){if(c=a.get(e),c)return c.anchor||(c.anchor=s(e)),new Sa(c.anchor);c={anchor:null,node:null},a.set(e,c)}t?.startsWith("!!")&&(t=Da+t.slice(2));let l=function(e,t,n){if(t){const e=n.filter((e=>e.tag===t)),r=e.find((e=>!e.format))??e[0];if(!r)throw new Error(`Tag ${t} not found`);return r}return n.find((t=>t.identify?.(e)&&!t.format))}(e,t,o.tags);if(!l){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){const t=new Oa(e);return c&&(c.node=t),t}l=e instanceof Map?o[Ko]:Symbol.iterator in Object(e)?o[Wo]:o[Ko]}i&&(i(l),delete n.onTagObj);const u=l?.createNode?l.createNode(n.schema,e,n):"function"==typeof l?.nodeClass?.from?l.nodeClass.from(n.schema,e,n):new Oa(e);return t?u.tag=t:l.default||(u.tag=l.tag),c&&(c.node=u),u}function Ra(e,t,n){let r=n;for(let e=t.length-1;e>=0;--e){const n=t[e];if("number"==typeof n&&Number.isInteger(n)&&n>=0){const e=[];e[n]=r,r=e}else r=new Map([[n,r]])}return La(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const va=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class wa extends Na{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map((t=>ia(t)||ta(t)?t.clone(e):t)),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(va(e))this.add(t);else{const[n,...r]=e,s=this.get(n,!0);if(sa(s))s.addIn(r,t);else{if(void 0!==s||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,Ra(this.schema,r,t))}}}deleteIn(e){const[t,...n]=e;if(0===n.length)return this.delete(t);const r=this.get(t,!0);if(sa(r))return r.deleteIn(n);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){const[n,...r]=e,s=this.get(n,!0);return 0===r.length?!t&&na(s)?s.value:s:sa(s)?s.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every((t=>{if(!ta(t))return!1;const n=t.value;return null==n||e&&na(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag}))}hasIn(e){const[t,...n]=e;if(0===n.length)return this.has(t);const r=this.get(t,!0);return!!sa(r)&&r.hasIn(n)}setIn(e,t){const[n,...r]=e;if(0===r.length)this.set(n,t);else{const e=this.get(n,!0);if(sa(e))e.setIn(r,t);else{if(void 0!==e||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,Ra(this.schema,r,t))}}}}wa.maxFlowStringSingleLineLength=60;const Ma=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function Pa(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const xa=(e,t,n)=>e.endsWith("\n")?Pa(n,t):n.includes("\n")?"\n"+Pa(n,t):(e.endsWith(" ")?"":" ")+n,Ba="flow",Fa="block",Ua="quoted";function Ha(e,t,n="flow",{indentAtStart:r,lineWidth:s=80,minContentWidth:i=20,onFold:o,onOverflow:a}={}){if(!s||s<0)return e;const c=Math.max(1+i,1+s-t.length);if(e.length<=c)return e;const l=[],u={};let h,p,f=s-t.length;"number"==typeof r&&(r>s-Math.max(2,i)?l.push(0):f=s-r);let d=!1,m=-1,E=-1,g=-1;n===Fa&&(m=Ga(e,m),-1!==m&&(f=m+c));for(let t;t=e[m+=1];){if(n===Ua&&"\\"===t){switch(E=m,e[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}g=m}if("\n"===t)n===Fa&&(m=Ga(e,m)),f=m+c,h=void 0;else{if(" "===t&&p&&" "!==p&&"\n"!==p&&"\t"!==p){const t=e[m+1];t&&" "!==t&&"\n"!==t&&"\t"!==t&&(h=m)}if(m>=f)if(h)l.push(h),f=h+c,h=void 0;else if(n===Ua){for(;" "===p||"\t"===p;)p=t,t=e[m+=1],d=!0;const n=m>g+1?m-2:E-1;if(u[n])return e;l.push(n),u[n]=!0,f=n+c,h=void 0}else d=!0}p=t}if(d&&a&&a(),0===l.length)return e;o&&o();let T=e.slice(0,l[0]);for(let r=0;r({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),Ya=e=>/^(%|---|\.\.\.)/m.test(e);function ja(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,s=t.options.doubleQuotedMinMultiLineLength,i=t.indent||(Ya(e)?" ":"");let o="",a=0;for(let e=0,t=n[e];t;t=n[++e])if(" "===t&&"\\"===n[e+1]&&"n"===n[e+2]&&(o+=n.slice(a,e)+"\\ ",e+=1,a=e,t="\\"),"\\"===t)switch(n[e+1]){case"u":{o+=n.slice(a,e);const t=n.substr(e+2,4);switch(t){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:"00"===t.substr(0,2)?o+="\\x"+t.substr(2):o+=n.substr(e,6)}e+=5,a=e+1}break;case"n":if(r||'"'===n[e+2]||n.lengthr)return!0;if(n=t+1,s-n<=r)return!1}return!0}(n,c,l.length));if(!n)return u?"|\n":">\n";let h,p;for(p=n.length;p>0;--p){const e=n[p-1];if("\n"!==e&&"\t"!==e&&" "!==e)break}let f=n.substring(p);const d=f.indexOf("\n");-1===d?h="-":n===f||d!==f.length-1?(h="+",i&&i()):h="",f&&(n=n.slice(0,-f.length),"\n"===f[f.length-1]&&(f=f.slice(0,-1)),f=f.replace(Ka,`$&${l}`));let m,E=!1,g=-1;for(m=0;m")+(E?l?"2":"1":"")+h;if(e&&(A+=" "+a(e.replace(/ ?[\r\n]+/g," ")),s&&s()),u)return`${A}\n${l}${T}${n=n.replace(/\n+/g,`$&${l}`)}${f}`;return`${A}\n${l}${Ha(`${T}${n=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${l}`)}${f}`,l,Fa,qa(r,!0))}`}function Qa(e,t,n,r){const{implicitKey:s,inFlow:i}=t,o="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)});let{type:a}=e;a!==Oa.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(a=Oa.QUOTE_DOUBLE);const c=e=>{switch(e){case Oa.BLOCK_FOLDED:case Oa.BLOCK_LITERAL:return s||i?Va(o.value,t):$a(o,t,n,r);case Oa.QUOTE_DOUBLE:return ja(o.value,t);case Oa.QUOTE_SINGLE:return za(o.value,t);case Oa.PLAIN:return function(e,t,n,r){const{type:s,value:i}=e,{actualString:o,implicitKey:a,indent:c,indentStep:l,inFlow:u}=t;if(a&&i.includes("\n")||u&&/[[\]{},]/.test(i))return Va(i,t);if(!i||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(i))return a||u||!i.includes("\n")?Va(i,t):$a(e,t,n,r);if(!a&&!u&&s!==Oa.PLAIN&&i.includes("\n"))return $a(e,t,n,r);if(Ya(i)){if(""===c)return t.forceBlockIndent=!0,$a(e,t,n,r);if(a&&c===l)return Va(i,t)}const h=i.replace(/\n+/g,`$&\n${c}`);if(o){const e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(h),{compat:n,tags:r}=t.doc.schema;if(r.some(e)||n?.some(e))return Va(i,t)}return a?h:Ha(h,c,Ba,qa(t,!1))}(o,t,n,r);default:return null}};let l=c(a);if(null===l){const{defaultKeyType:e,defaultStringType:n}=t.options,r=s&&e||n;if(l=c(r),null===l)throw new Error(`Unsupported default string type ${r}`)}return l}function Wa(e,t){const n=Object.assign({blockQuote:!0,commentString:Ma,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof n.indent?" ".repeat(n.indent):" ",inFlow:r,options:n}}function Xa(e,t,n,r){if(ta(e))return e.toString(t,n,r);if(Jo(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let s;const i=ia(e)?e:t.doc.createNode(e,{onTagObj:e=>s=e});s||(s=function(e,t){if(t.tag){const n=e.filter((e=>e.tag===t.tag));if(n.length>0)return n.find((e=>e.format===t.format))??n[0]}let n,r;if(na(t)){r=t.value;const s=e.filter((e=>e.identify?.(r)));n=s.find((e=>e.format===t.format))??s.find((e=>!e.format))}else r=t,n=e.find((e=>e.nodeClass&&r instanceof e.nodeClass));if(!n)throw new Error(`Tag not resolved for ${r?.constructor?.name??typeof r} value`);return n}(t.doc.schema.tags,i));const o=function(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const s=[],i=(na(e)||sa(e))&&e.anchor;i&&Aa(i)&&(n.add(i),s.push(`&${i}`));const o=e.tag?e.tag:t.default?null:t.tag;return o&&s.push(r.directives.tagString(o)),s.join(" ")}(i,s,t);o.length>0&&(t.indentAtStart=(t.indentAtStart??0)+o.length+1);const a="function"==typeof s.stringify?s.stringify(i,t,n,r):na(i)?Qa(i,t,n,r):i.toString(t,n,r);return o?na(i)||"{"===a[0]||"["===a[0]?`${o} ${a}`:`${o}\n${t.indent}${a}`:a}function Ja(e,t){"debug"!==e&&"warn"!==e||("undefined"!=typeof process&&process.emitWarning?process.emitWarning(t):console.warn(t))}function Za(e,t,{key:n,value:r}){if(e?.doc.schema.merge&&ec(n))if(r=Jo(r)?r.resolve(e.doc):r,ra(r))for(const n of r.items)tc(e,t,n);else if(Array.isArray(r))for(const n of r)tc(e,t,n);else tc(e,t,r);else{const s=ka(n,"",e);if(t instanceof Map)t.set(s,ka(r,s,e));else if(t instanceof Set)t.add(s);else{const i=function(e,t,n){if(null===t)return"";if("object"!=typeof t)return String(t);if(ia(e)&&n?.doc){const t=Wa(n.doc,{});t.anchors=new Set;for(const e of n.anchors.keys())t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;const r=e.toString(t);if(!n.mapKeyWarned){let e=JSON.stringify(r);e.length>40&&(e=e.substring(0,36)+'..."'),Ja(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(t)}(n,s,e),o=ka(r,i,e);i in t?Object.defineProperty(t,i,{value:o,writable:!0,enumerable:!0,configurable:!0}):t[i]=o}}return t}const ec=e=>"<<"===e||na(e)&&"<<"===e.value&&(!e.type||e.type===Oa.PLAIN);function tc(e,t,n){const r=e&&Jo(n)?n.resolve(e.doc):n;if(!ea(r))throw new Error("Merge sources must be maps or map aliases");const s=r.toJSON(null,e,Map);for(const[e,n]of s)t instanceof Map?t.has(e)||t.set(e,n):t instanceof Set?t.add(e):Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!0,configurable:!0});return t}function nc(e,t,n){const r=La(e,void 0,n),s=La(t,void 0,n);return new rc(r,s)}class rc{constructor(e,t=null){Object.defineProperty(this,Xo,{value:$o}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this;return ia(t)&&(t=t.clone(e)),ia(n)&&(n=n.clone(e)),new rc(t,n)}toJSON(e,t){return Za(t,t?.mapAsMap?new Map:{},this)}toString(e,t,n){return e?.doc?function({key:e,value:t},n,r,s){const{allNullValues:i,doc:o,indent:a,indentStep:c,options:{commentString:l,indentSeq:u,simpleKeys:h}}=n;let p=ia(e)&&e.comment||null;if(h){if(p)throw new Error("With simple keys, key nodes cannot have comments");if(sa(e))throw new Error("With simple keys, collection cannot be used as a key value")}let f=!h&&(!e||p&&null==t&&!n.inFlow||sa(e)||(na(e)?e.type===Oa.BLOCK_FOLDED||e.type===Oa.BLOCK_LITERAL:"object"==typeof e));n=Object.assign({},n,{allNullValues:!1,implicitKey:!f&&(h||!i),indent:a+c});let d,m,E,g=!1,T=!1,A=Xa(e,n,(()=>g=!0),(()=>T=!0));if(!f&&!n.inFlow&&A.length>1024){if(h)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");f=!0}if(n.inFlow){if(i||null==t)return g&&r&&r(),""===A?"?":f?`? ${A}`:A}else if(i&&!h||null==t&&f)return A=`? ${A}`,p&&!g?A+=xa(A,n.indent,l(p)):T&&s&&s(),A;g&&(p=null),f?(p&&(A+=xa(A,n.indent,l(p))),A=`? ${A}\n${a}:`):(A=`${A}:`,p&&(A+=xa(A,n.indent,l(p)))),ia(t)?(d=!!t.spaceBefore,m=t.commentBefore,E=t.comment):(d=!1,m=null,E=null,t&&"object"==typeof t&&(t=o.createNode(t))),n.implicitKey=!1,f||p||!na(t)||(n.indentAtStart=A.length+1),T=!1,u||!(c.length>=2)||n.inFlow||f||!ra(t)||t.flow||t.tag||t.anchor||(n.indent=n.indent.substring(2));let _=!1;const y=Xa(t,n,(()=>_=!0),(()=>T=!0));let b=" ";if(p||d||m)b=d?"\n":"",m&&(b+=`\n${Pa(l(m),n.indent)}`),""!==y||n.inFlow?b+=`\n${n.indent}`:"\n"===b&&(b="\n\n");else if(!f&&sa(t)){const e=y[0],r=y.indexOf("\n"),s=-1!==r,i=n.inFlow??t.flow??0===t.items.length;if(s||!i){let t=!1;if(s&&("&"===e||"!"===e)){let n=y.indexOf(" ");"&"===e&&-1!==n&&no=null),(()=>h=!0));o&&(a+=xa(a,i,l(o))),h&&o&&(h=!1),p.push(r+a)}let f;if(0===p.length)f=s.start+s.end;else{f=p[0];for(let e=1;ei=null));ep||o.includes("\n"))&&(h=!0),f.push(o),p=f.length}let d;const{start:m,end:E}=r;if(0===f.length)d=m+E;else{if(!h){h=f.reduce(((e,t)=>e+t.length+2),2)>wa.maxFlowStringSingleLineLength}if(h){d=m;for(const e of f)d+=e?`\n${a}${o}${e}`:"\n";d+=`\n${o}${E}`}else d=`${m}${c}${f.join(" ")}${c}${E}`}return e&&(d+=xa(d,o,l(e)),i&&i()),d}function ac({indent:e,options:{commentString:t}},n,r,s){if(r&&s&&(r=r.replace(/^\n+/,"")),r){const s=Pa(t(r),e);n.push(s.trimStart())}}function cc(e,t){const n=na(t)?t.value:t;for(const r of e)if(ta(r)){if(r.key===t||r.key===n)return r;if(na(r.key)&&r.key.value===n)return r}}class lc extends wa{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(Ko,e),this.items=[]}static from(e,t,n){const{keepUndefined:r,replacer:s}=n,i=new this(e),o=(e,o)=>{if("function"==typeof s)o=s.call(t,e,o);else if(Array.isArray(s)&&!s.includes(e))return;(void 0!==o||r)&&i.items.push(nc(e,o,n))};if(t instanceof Map)for(const[e,n]of t)o(e,n);else if(t&&"object"==typeof t)for(const e of Object.keys(t))o(e,t[e]);return"function"==typeof e.sortMapEntries&&i.items.sort(e.sortMapEntries),i}add(e,t){let n;n=ta(e)?e:e&&"object"==typeof e&&"key"in e?new rc(e.key,e.value):new rc(e,e?.value);const r=cc(this.items,n.key),s=this.schema?.sortMapEntries;if(r){if(!t)throw new Error(`Key ${n.key} already set`);na(r.value)&&Ia(n.value)?r.value.value=n.value:r.value=n.value}else if(s){const e=this.items.findIndex((e=>s(n,e)<0));-1===e?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){const t=cc(this.items,e);if(!t)return!1;return this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){const n=cc(this.items,e),r=n?.value;return(!t&&na(r)?r.value:r)??void 0}has(e){return!!cc(this.items,e)}set(e,t){this.add(new rc(e,t),!0)}toJSON(e,t,n){const r=n?new n:t?.mapAsMap?new Map:{};t?.onCreate&&t.onCreate(r);for(const e of this.items)Za(t,r,e);return r}toString(e,t,n){if(!e)return JSON.stringify(this);for(const e of this.items)if(!ta(e))throw new Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),sc(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}const uc={collection:"map",default:!0,nodeClass:lc,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(ea(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,n)=>lc.from(e,t,n)};class hc extends wa{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(Wo,e),this.items=[]}add(e){this.items.push(e)}delete(e){const t=pc(e);if("number"!=typeof t)return!1;return this.items.splice(t,1).length>0}get(e,t){const n=pc(e);if("number"!=typeof n)return;const r=this.items[n];return!t&&na(r)?r.value:r}has(e){const t=pc(e);return"number"==typeof t&&t=0?t:null}const fc={collection:"seq",default:!0,nodeClass:hc,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(ra(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,n)=>hc.from(e,t,n)},dc={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,n,r)=>Qa(e,t=Object.assign({actualString:!0},t),n,r)},mc={identify:e=>null==e,createNode:()=>new Oa(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new Oa(null),stringify:({source:e},t)=>"string"==typeof e&&mc.test.test(e)?e:t.options.nullStr},Ec={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new Oa("t"===e[0]||"T"===e[0]),stringify({source:e,value:t},n){if(e&&Ec.test.test(e)){if(t===("t"===e[0]||"T"===e[0]))return e}return t?n.options.trueStr:n.options.falseStr}};function gc({format:e,minFractionDigits:t,tag:n,value:r}){if("bigint"==typeof r)return String(r);const s="number"==typeof r?r:Number(r);if(!isFinite(s))return isNaN(s)?".nan":s<0?"-.inf":".inf";let i=JSON.stringify(r);if(!e&&t&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(i)){let e=i.indexOf(".");e<0&&(e=i.length,i+=".");let n=t-(i.length-e-1);for(;n-- >0;)i+="0"}return i}const Tc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN))$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:gc},Ac={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():gc(e)}},_c={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new Oa(parseFloat(e)),n=e.indexOf(".");return-1!==n&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-n-1),t},stringify:gc},yc=e=>"bigint"==typeof e||Number.isInteger(e),bc=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function kc(e,t,n){const{value:r}=e;return yc(r)&&r>=0?n+r.toString(t):gc(e)}const Nc={identify:e=>yc(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>bc(e,2,8,n),stringify:e=>kc(e,8,"0o")},Sc={identify:yc,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>bc(e,0,10,n),stringify:gc},Cc={identify:e=>yc(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>bc(e,2,16,n),stringify:e=>kc(e,16,"0x")},Ic=[uc,fc,dc,mc,Ec,Nc,Sc,Cc,Tc,Ac,_c];function Oc(e){return"bigint"==typeof e||Number.isInteger(e)}const Dc=({value:e})=>JSON.stringify(e),Lc=[{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:Dc},{identify:e=>null==e,createNode:()=>new Oa(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:Dc},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,stringify:Dc},{identify:Oc,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>Oc(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:Dc}],Rc=[uc,fc].concat(Lc,{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),vc={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"==typeof Buffer)return Buffer.from(e,"base64");if("function"==typeof atob){const t=atob(e.replace(/[\n\r]/g,"")),n=new Uint8Array(t.length);for(let e=0;e1&&t("Each pair must have its own sequence indicator");const e=r.items[0]||new rc(new Oa(null));if(r.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${r.commentBefore}\n${e.key.commentBefore}`:r.commentBefore),r.comment){const t=e.value??e.key;t.comment=t.comment?`${r.comment}\n${t.comment}`:r.comment}r=e}e.items[n]=ta(r)?r:new rc(r)}}else t("Expected a sequence for this tag");return e}function Mc(e,t,n){const{replacer:r}=n,s=new hc(e);s.tag="tag:yaml.org,2002:pairs";let i=0;if(t&&Symbol.iterator in Object(t))for(let e of t){let o,a;if("function"==typeof r&&(e=r.call(t,String(i++),e)),Array.isArray(e)){if(2!==e.length)throw new TypeError(`Expected [key, value] tuple: ${e}`);o=e[0],a=e[1]}else if(e&&e instanceof Object){const t=Object.keys(e);if(1!==t.length)throw new TypeError(`Expected tuple with one key, not ${t.length} keys`);o=t[0],a=e[o]}else o=e;s.items.push(nc(o,a,n))}return s}const Pc={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:wc,createNode:Mc};class xc extends hc{constructor(){super(),this.add=lc.prototype.add.bind(this),this.delete=lc.prototype.delete.bind(this),this.get=lc.prototype.get.bind(this),this.has=lc.prototype.has.bind(this),this.set=lc.prototype.set.bind(this),this.tag=xc.tag}toJSON(e,t){if(!t)return super.toJSON(e);const n=new Map;t?.onCreate&&t.onCreate(n);for(const e of this.items){let r,s;if(ta(e)?(r=ka(e.key,"",t),s=ka(e.value,r,t)):r=ka(e,"",t),n.has(r))throw new Error("Ordered maps must not include duplicate keys");n.set(r,s)}return n}static from(e,t,n){const r=Mc(e,t,n),s=new this;return s.items=r.items,s}}xc.tag="tag:yaml.org,2002:omap";const Bc={collection:"seq",identify:e=>e instanceof Map,nodeClass:xc,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=wc(e,t),r=[];for(const{key:e}of n.items)na(e)&&(r.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):r.push(e.value));return Object.assign(new xc,n)},createNode:(e,t,n)=>xc.from(e,t,n)};function Fc({value:e,source:t},n){return t&&(e?Uc:Hc).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const Uc={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new Oa(!0),stringify:Fc},Hc={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>new Oa(!1),stringify:Fc},Gc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?\.(?:inf|Inf|INF|nan|NaN|NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:gc},qc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():gc(e)}},Yc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new Oa(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(-1!==n){const r=e.substring(n+1).replace(/_/g,"");"0"===r[r.length-1]&&(t.minFractionDigits=r.length)}return t},stringify:gc},jc=e=>"bigint"==typeof e||Number.isInteger(e);function zc(e,t,n,{intAsBigInt:r}){const s=e[0];if("-"!==s&&"+"!==s||(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}const t=BigInt(e);return"-"===s?BigInt(-1)*t:t}const i=parseInt(e,n);return"-"===s?-1*i:i}function Vc(e,t,n){const{value:r}=e;if(jc(r)){const e=r.toString(t);return r<0?"-"+n+e.substr(1):n+e}return gc(e)}const Kc={identify:jc,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>zc(e,2,2,n),stringify:e=>Vc(e,2,"0b")},$c={identify:jc,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>zc(e,1,8,n),stringify:e=>Vc(e,8,"0")},Qc={identify:jc,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>zc(e,0,10,n),stringify:gc},Wc={identify:jc,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>zc(e,2,16,n),stringify:e=>Vc(e,16,"0x")};class Xc extends lc{constructor(e){super(e),this.tag=Xc.tag}add(e){let t;t=ta(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new rc(e.key,null):new rc(e,null);cc(this.items,t.key)||this.items.push(t)}get(e,t){const n=cc(this.items,e);return!t&&ta(n)?na(n.key)?n.key.value:n.key:n}set(e,t){if("boolean"!=typeof t)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof t);const n=cc(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new rc(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw new Error("Set items must all have null values")}static from(e,t,n){const{replacer:r}=n,s=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)"function"==typeof r&&(e=r.call(t,e,e)),s.items.push(nc(e,null,n));return s}}Xc.tag="tag:yaml.org,2002:set";const Jc={collection:"map",identify:e=>e instanceof Set,nodeClass:Xc,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>Xc.from(e,t,n),resolve(e,t){if(ea(e)){if(e.hasAllNullValues(!0))return Object.assign(new Xc,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function Zc(e,t){const n=e[0],r="-"===n||"+"===n?e.substring(1):e,s=e=>t?BigInt(e):Number(e),i=r.replace(/_/g,"").split(":").reduce(((e,t)=>e*s(60)+s(t)),s(0));return"-"===n?s(-1)*i:i}function el(e){let{value:t}=e,n=e=>e;if("bigint"==typeof t)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return gc(e);let r="";t<0&&(r="-",t*=n(-1));const s=n(60),i=[t%s];return t<60?i.unshift(0):(t=(t-i[0])/s,i.unshift(t%s),t>=60&&(t=(t-i[0])/s,i.unshift(t))),r+i.map((e=>String(e).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}const tl={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>Zc(e,n),stringify:el},nl={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>Zc(e,!1),stringify:el},rl={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(rl.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,s,i,o,a]=t.map(Number),c=t[7]?Number((t[7]+"00").substr(1,3)):0;let l=Date.UTC(n,r-1,s,i||0,o||0,a||0,c);const u=t[8];if(u&&"Z"!==u){let e=Zc(u,!1);Math.abs(e)<30&&(e*=60),l-=6e4*e}return new Date(l)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},sl=[uc,fc,dc,mc,Uc,Hc,Kc,$c,Qc,Wc,Gc,qc,Yc,vc,Bc,Pc,Jc,tl,nl,rl],il=new Map([["core",Ic],["failsafe",[uc,fc,dc]],["json",Rc],["yaml11",sl],["yaml-1.1",sl]]),ol={binary:vc,bool:Ec,float:_c,floatExp:Ac,floatNaN:Tc,floatTime:nl,int:Sc,intHex:Cc,intOct:Nc,intTime:tl,map:uc,null:mc,omap:Bc,pairs:Pc,seq:fc,set:Jc,timestamp:rl},al={"tag:yaml.org,2002:binary":vc,"tag:yaml.org,2002:omap":Bc,"tag:yaml.org,2002:pairs":Pc,"tag:yaml.org,2002:set":Jc,"tag:yaml.org,2002:timestamp":rl};function cl(e,t){let n=il.get(t);if(!n){if(!Array.isArray(e)){const e=Array.from(il.keys()).filter((e=>"yaml11"!==e)).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}n=[]}if(Array.isArray(e))for(const t of e)n=n.concat(t);else"function"==typeof e&&(n=e(n.slice()));return n.map((e=>{if("string"!=typeof e)return e;const t=ol[e];if(t)return t;const n=Object.keys(ol).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag "${e}"; use one of ${n}`)}))}const ll=(e,t)=>e.keyt.key?1:0;class ul{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:r,schema:s,sortMapEntries:i,toStringDefaults:o}){this.compat=Array.isArray(e)?cl(e,"compat"):e?cl(null,e):null,this.merge=!!n,this.name="string"==typeof s&&s||"core",this.knownTags=r?al:{},this.tags=cl(t,this.name),this.toStringOptions=o??null,Object.defineProperty(this,Ko,{value:uc}),Object.defineProperty(this,Qo,{value:dc}),Object.defineProperty(this,Wo,{value:fc}),this.sortMapEntries="function"==typeof i?i:!0===i?ll:null}clone(){const e=Object.create(ul.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}class hl{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Xo,{value:Vo});let r=null;"function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t,t=void 0);const s=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},n);this.options=s;let{version:i}=s;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(i=this.directives.yaml.version)):this.directives=new Ta({version:i}),this.setSchema(i,n),this.contents=void 0===e?null:this.createNode(e,r,n)}clone(){const e=Object.create(hl.prototype,{[Xo]:{value:Vo}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=ia(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){pl(this.contents)&&this.contents.add(e)}addIn(e,t){pl(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){const n=_a(this);e.anchor=!t||n.has(t)?ya(t||"a",n):t}return new Sa(e.anchor)}createNode(e,t,n){let r;if("function"==typeof t)e=t.call({"":e},"",e),r=t;else if(Array.isArray(t)){const e=e=>"number"==typeof e||e instanceof String||e instanceof Number,n=t.filter(e).map(String);n.length>0&&(t=t.concat(n)),r=t}else void 0===n&&t&&(n=t,t=void 0);const{aliasDuplicateObjects:s,anchorPrefix:i,flow:o,keepUndefined:a,onTagObj:c,tag:l}=n??{},{onAnchor:u,setAnchors:h,sourceObjects:p}=function(e,t){const n=[],r=new Map;let s=null;return{onAnchor:r=>{n.push(r),s||(s=_a(e));const i=ya(t,s);return s.add(i),i},setAnchors:()=>{for(const e of n){const t=r.get(e);if("object"!=typeof t||!t.anchor||!na(t.node)&&!sa(t.node)){const t=new Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}t.node.anchor=t.anchor}},sourceObjects:r}}(this,i||"a"),f=La(e,l,{aliasDuplicateObjects:s??!0,keepUndefined:a??!1,onAnchor:u,onTagObj:c,replacer:r,schema:this.schema,sourceObjects:p});return o&&sa(f)&&(f.flow=!0),h(),f}createPair(e,t,n={}){const r=this.createNode(e,null,n),s=this.createNode(t,null,n);return new rc(r,s)}delete(e){return!!pl(this.contents)&&this.contents.delete(e)}deleteIn(e){return va(e)?null!=this.contents&&(this.contents=null,!0):!!pl(this.contents)&&this.contents.deleteIn(e)}get(e,t){return sa(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return va(e)?!t&&na(this.contents)?this.contents.value:this.contents:sa(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!sa(this.contents)&&this.contents.has(e)}hasIn(e){return va(e)?void 0!==this.contents:!!sa(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=Ra(this.schema,[e],t):pl(this.contents)&&this.contents.set(e,t)}setIn(e,t){va(e)?this.contents=t:null==this.contents?this.contents=Ra(this.schema,Array.from(e),t):pl(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let n;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new Ta({version:"1.1"}),n={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new Ta({version:e}),n={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{const t=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else{if(!n)throw new Error("With a null YAML version, the { schema: Schema } option is required");this.schema=new ul(Object.assign(n,t))}}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:s,reviver:i}={}){const o={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===n,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},a=ka(this.contents,t??"",o);if("function"==typeof s)for(const{count:e,res:t}of o.anchors.values())s(t,e);return"function"==typeof i?ba(i,{"":a},"",a):a}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){const t=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${t}`)}return function(e,t){const n=[];let r=!0===t.directives;if(!1!==t.directives&&e.directives){const t=e.directives.toString(e);t?(n.push(t),r=!0):e.directives.docStart&&(r=!0)}r&&n.push("---");const s=Wa(e,t),{commentString:i}=s.options;if(e.commentBefore){1!==n.length&&n.unshift("");const t=i(e.commentBefore);n.unshift(Pa(t,""))}let o=!1,a=null;if(e.contents){if(ia(e.contents)){if(e.contents.spaceBefore&&r&&n.push(""),e.contents.commentBefore){const t=i(e.contents.commentBefore);n.push(Pa(t,""))}s.forceBlockIndent=!!e.comment,a=e.contents.comment}const t=a?void 0:()=>o=!0;let c=Xa(e.contents,s,(()=>a=null),t);a&&(c+=xa(c,"",i(a))),"|"!==c[0]&&">"!==c[0]||"---"!==n[n.length-1]?n.push(c):n[n.length-1]=`--- ${c}`}else n.push(Xa(e.contents,s));if(e.directives?.docEnd)if(e.comment){const t=i(e.comment);t.includes("\n")?(n.push("..."),n.push(Pa(t,""))):n.push(`... ${t}`)}else n.push("...");else{let t=e.comment;t&&o&&(t=t.replace(/^\n+/,"")),t&&(o&&!a||""===n[n.length-1]||n.push(""),n.push(Pa(i(t),"")))}return n.join("\n")+"\n"}(this,e)}}function pl(e){if(sa(e))return!0;throw new Error("Expected a YAML collection as document contents")}class fl extends Error{constructor(e,t,n,r){super(),this.name=e,this.code=n,this.message=r,this.pos=t}}class dl extends fl{constructor(e,t,n){super("YAMLParseError",e,t,n)}}class ml extends fl{constructor(e,t,n){super("YAMLWarning",e,t,n)}}const El=(e,t)=>n=>{if(-1===n.pos[0])return;n.linePos=n.pos.map((e=>t.linePos(e)));const{line:r,col:s}=n.linePos[0];n.message+=` at line ${r}, column ${s}`;let i=s-1,o=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(i>=60&&o.length>80){const e=Math.min(i-39,o.length-79);o="…"+o.substring(e),i-=e-1}if(o.length>80&&(o=o.substring(0,79)+"…"),r>1&&/^ *$/.test(o.substring(0,i))){let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+"…\n"),o=n+o}if(/[^ ]/.test(o)){let e=1;const t=n.linePos[1];t&&t.line===r&&t.col>s&&(e=Math.max(1,Math.min(t.col-s,80-i)));const a=" ".repeat(i)+"^".repeat(e);n.message+=`:\n\n${o}\n${a}\n`}};function gl(e,{flow:t,indicator:n,next:r,offset:s,onError:i,startOnNewline:o}){let a=!1,c=o,l=o,u="",h="",p=!1,f=!1,d=!1,m=null,E=null,g=null,T=null,A=null;for(const r of e)switch(d&&("space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&i(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),d=!1),r.type){case"space":!t&&c&&"doc-start"!==n&&"\t"===r.source[0]&&i(r,"TAB_AS_INDENT","Tabs are not allowed as indentation"),l=!0;break;case"comment":{l||i(r,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const e=r.source.substring(1)||" ";u?u+=h+e:u=e,h="",c=!1;break}case"newline":c?u?u+=r.source:a=!0:h+=r.source,c=!0,p=!0,(m||E)&&(f=!0),l=!0;break;case"anchor":m&&i(r,"MULTIPLE_ANCHORS","A node can have at most one anchor"),r.source.endsWith(":")&&i(r.offset+r.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),m=r,null===A&&(A=r.offset),c=!1,l=!1,d=!0;break;case"tag":E&&i(r,"MULTIPLE_TAGS","A node can have at most one tag"),E=r,null===A&&(A=r.offset),c=!1,l=!1,d=!0;break;case n:(m||E)&&i(r,"BAD_PROP_ORDER",`Anchors and tags must be after the ${r.source} indicator`),T&&i(r,"UNEXPECTED_TOKEN",`Unexpected ${r.source} in ${t??"collection"}`),T=r,c=!1,l=!1;break;case"comma":if(t){g&&i(r,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),g=r,c=!1,l=!1;break}default:i(r,"UNEXPECTED_TOKEN",`Unexpected ${r.type} token`),c=!1,l=!1}const _=e[e.length-1],y=_?_.offset+_.source.length:s;return d&&r&&"space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&("scalar"!==r.type||""!==r.source)&&i(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),{comma:g,found:T,spaceBefore:a,comment:u,hasNewline:p,hasNewlineAfterProp:f,anchor:m,tag:E,end:y,start:A??y}}function Tl(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end)for(const t of e.end)if("newline"===t.type)return!0;return!1;case"flow-collection":for(const t of e.items){for(const e of t.start)if("newline"===e.type)return!0;if(t.sep)for(const e of t.sep)if("newline"===e.type)return!0;if(Tl(t.key)||Tl(t.value))return!0}return!1;default:return!0}}function Al(e,t,n){if("flow-collection"===t?.type){const r=t.end[0];if(r.indent===e&&("]"===r.source||"}"===r.source)&&Tl(t)){n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}}function _l(e,t,n){const{uniqueKeys:r}=e.options;if(!1===r)return!1;const s="function"==typeof r?r:(t,n)=>t===n||na(t)&&na(n)&&t.value===n.value&&!("<<"===t.value&&e.schema.merge);return t.some((e=>s(e.key,n)))}const yl="All mapping items must start at the same column";function bl(e,t,n,r){let s="";if(e){let i=!1,o="";for(const a of e){const{source:e,type:c}=a;switch(c){case"space":i=!0;break;case"comment":{n&&!i&&r(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const t=e.substring(1)||" ";s?s+=o+t:s=t,o="";break}case"newline":s&&(o+=e),i=!0;break;default:r(a,"UNEXPECTED_TOKEN",`Unexpected ${c} at node end`)}t+=e.length}}return{comment:s,offset:t}}const kl="Block collections are not allowed within flow collections",Nl=e=>e&&("block-map"===e.type||"block-seq"===e.type);function Sl(e,t,n,r,s,i){const o="block-map"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,s,i){const o=new(i?.nodeClass??lc)(n.schema);n.atRoot&&(n.atRoot=!1);let a=r.offset,c=null;for(const i of r.items){const{start:l,key:u,sep:h,value:p}=i,f=gl(l,{indicator:"explicit-key-ind",next:u??h?.[0],offset:a,onError:s,startOnNewline:!0}),d=!f.found;if(d){if(u&&("block-seq"===u.type?s(a,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in u&&u.indent!==r.indent&&s(a,"BAD_INDENT",yl)),!f.anchor&&!f.tag&&!h){c=f.end,f.comment&&(o.comment?o.comment+="\n"+f.comment:o.comment=f.comment);continue}(f.hasNewlineAfterProp||Tl(u))&&s(u??l[l.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else f.found?.indent!==r.indent&&s(a,"BAD_INDENT",yl);const m=f.end,E=u?e(n,u,f,s):t(n,m,l,null,f,s);n.schema.compat&&Al(r.indent,u,s),_l(n,o.items,E)&&s(m,"DUPLICATE_KEY","Map keys must be unique");const g=gl(h??[],{indicator:"map-value-ind",next:p,offset:E.range[2],onError:s,startOnNewline:!u||"block-scalar"===u.type});if(a=g.end,g.found){d&&("block-map"!==p?.type||g.hasNewline||s(a,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&f.start0){const e=bl(f,d,n.options.strict,s);e.comment&&(c.comment?c.comment+="\n"+e.comment:c.comment=e.comment),c.range=[r.offset,d,e.offset]}else c.range=[r.offset,d,d];return c}(e,t,n,r,i),a=o.constructor;return"!"===s||s===a.tagName?(o.tag=a.tagName,o):(s&&(o.tag=s),o)}function Cl(e,t,n){const r=e.offset,s=function({offset:e,props:t},n,r){if("block-scalar-header"!==t[0].type)return r(t[0],"IMPOSSIBLE","Block scalar header not found"),null;const{source:s}=t[0],i=s[0];let o=0,a="",c=-1;for(let t=1;t=0;--e){const t=o[e][1];if(""!==t&&"\r"!==t)break;a=e}if(0===a){const t="+"===s.chomp&&o.length>0?"\n".repeat(Math.max(1,o.length-1)):"";let n=r+s.length;return e.source&&(n+=e.source.length),{value:t,type:i,comment:s.comment,range:[r,n,n]}}let c=e.indent+s.indent,l=e.offset+s.length,u=0;for(let e=0;ec&&(c=t.length),l+=t.length+r.length+1}for(let e=o.length-1;e>=a;--e)o[e][0].length>c&&(a=e+1);let h="",p="",f=!1;for(let e=0;ec||"\t"===r[0]?(" "===p?p="\n":f||"\n"!==p||(p="\n\n"),h+=p+t.slice(c)+r,p="\n",f=!0):""===r?"\n"===p?h+="\n":p="\n":(h+=p+r,p=" ",f=!1)}switch(s.chomp){case"-":break;case"+":for(let e=a;en(r+e,t,s);switch(s){case"scalar":a=Oa.PLAIN,c=function(e,t){let n="";switch(e[0]){case"\t":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":n=`block scalar indicator ${e[0]}`;break;case"@":case"`":n=`reserved character ${e[0]}`}n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`);return Ol(e)}(i,l);break;case"single-quoted-scalar":a=Oa.QUOTE_SINGLE,c=function(e,t){"'"===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR","Missing closing 'quote");return Ol(e.slice(1,-1)).replace(/''/g,"'")}(i,l);break;case"double-quoted-scalar":a=Oa.QUOTE_DOUBLE,c=function(e,t){let n="";for(let r=1;rt?e.slice(t,r+1):s)}else n+=s}'"'===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR",'Missing closing "quote');return n}(i,l);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${s}`),{value:"",type:null,comment:"",range:[r,r+i.length,r+i.length]}}const u=r+i.length,h=bl(o,u,t,n);return{value:c,type:a,comment:h.comment,range:[r,u,h.offset]}}function Ol(e){let t,n;try{t=new RegExp("(.*?)(?r(n,"TAG_RESOLVE_FAILED",e))):null,l=n&&c?function(e,t,n,r,s){if("!"===n)return e[Qo];const i=[];for(const t of e.tags)if(!t.collection&&t.tag===n){if(!t.default||!t.test)return t;i.push(t)}for(const e of i)if(e.test?.test(t))return e;const o=e.knownTags[n];if(o&&!o.collection)return e.tags.push(Object.assign({},o,{default:!1,test:void 0})),o;return s(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,"tag:yaml.org,2002:str"!==n),e[Qo]}(e.schema,s,c,n,r):"scalar"===t.type?function({directives:e,schema:t},n,r,s){const i=t.tags.find((e=>e.default&&e.test?.test(n)))||t[Qo];if(t.compat){const o=t.compat.find((e=>e.default&&e.test?.test(n)))??t[Qo];if(i.tag!==o.tag){s(r,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${e.tagString(i.tag)} or ${e.tagString(o.tag)}`,!0)}}return i}(e,s,t,r):e.schema[Qo];let u;try{const i=l.resolve(s,(e=>r(n??t,"TAG_RESOLVE_FAILED",e)),e.options);u=na(i)?i:new Oa(i)}catch(e){const i=e instanceof Error?e.message:String(e);r(n??t,"TAG_RESOLVE_FAILED",i),u=new Oa(s)}return u.range=a,u.source=s,i&&(u.type=i),c&&(u.tag=c),l.format&&(u.format=l.format),o&&(u.comment=o),u}function wl(e,t,n){if(t){null===n&&(n=t.length);for(let r=n-1;r>=0;--r){let n=t[r];switch(n.type){case"space":case"comment":case"newline":e-=n.source.length;continue}for(n=t[++r];"space"===n?.type;)e+=n.source.length,n=t[++r];break}}return e}const Ml={composeNode:Pl,composeEmptyNode:xl};function Pl(e,t,n,r){const{spaceBefore:s,comment:i,anchor:o,tag:a}=n;let c,l=!0;switch(t.type){case"alias":c=function({options:e},{offset:t,source:n,end:r},s){const i=new Sa(n.substring(1));""===i.source&&s(t,"BAD_ALIAS","Alias cannot be an empty string");i.source.endsWith(":")&&s(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const o=t+n.length,a=bl(r,o,e.strict,s);i.range=[t,o,a.offset],a.comment&&(i.comment=a.comment);return i}(e,t,r),(o||a)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":c=vl(e,t,a,r),o&&(c.anchor=o.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":c=function(e,t,n,r,s){const i=r?t.directives.tagName(r.source,(e=>s(r,"TAG_RESOLVE_FAILED",e))):null,o="block-map"===n.type?"map":"block-seq"===n.type?"seq":"{"===n.start.source?"map":"seq";if(!r||!i||"!"===i||i===lc.tagName&&"map"===o||i===hc.tagName&&"seq"===o||!o)return Sl(e,t,n,s,i);let a=t.schema.tags.find((e=>e.tag===i&&e.collection===o));if(!a){const c=t.schema.knownTags[i];if(!c||c.collection!==o)return c?.collection?s(r,"BAD_COLLECTION_TYPE",`${c.tag} used for ${o} collection, but expects ${c.collection}`,!0):s(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${i}`,!0),Sl(e,t,n,s,i);t.schema.tags.push(Object.assign({},c,{default:!1})),a=c}const c=Sl(e,t,n,s,i,a),l=a.resolve?.(c,(e=>s(r,"TAG_RESOLVE_FAILED",e)),t.options)??c,u=ia(l)?l:new Oa(l);return u.range=c.range,u.tag=i,a?.format&&(u.format=a.format),u}(Ml,e,t,a,r),o&&(c.anchor=o.source.substring(1));break;default:r(t,"UNEXPECTED_TOKEN","error"===t.type?t.message:`Unsupported token (type: ${t.type})`),c=xl(e,t.offset,void 0,null,n,r),l=!1}return o&&""===c.anchor&&r(o,"BAD_ALIAS","Anchor cannot be an empty string"),s&&(c.spaceBefore=!0),i&&("scalar"===t.type&&""===t.source?c.comment=i:c.commentBefore=i),e.options.keepSourceTokens&&l&&(c.srcToken=t),c}function xl(e,t,n,r,{spaceBefore:s,comment:i,anchor:o,tag:a,end:c},l){const u=vl(e,{type:"scalar",offset:wl(t,n,r),indent:-1,source:""},a,l);return o&&(u.anchor=o.source.substring(1),""===u.anchor&&l(o,"BAD_ALIAS","Anchor cannot be an empty string")),s&&(u.spaceBefore=!0),i&&(u.comment=i,u.range[2]=c),u}function Bl(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+("string"==typeof n?n.length:1)]}function Fl(e){let t="",n=!1,r=!1;for(let s=0;s{const s=Bl(e);r?this.warnings.push(new ml(s,t,n)):this.errors.push(new dl(s,t,n))},this.directives=new Ta({version:e.version||"1.2"}),this.options=e}decorate(e,t){const{comment:n,afterEmptyLine:r}=Fl(this.prelude);if(n){const s=e.contents;if(t)e.comment=e.comment?`${e.comment}\n${n}`:n;else if(r||e.directives.docStart||!s)e.commentBefore=n;else if(sa(s)&&!s.flow&&s.items.length>0){let e=s.items[0];ta(e)&&(e=e.key);const t=e.commentBefore;e.commentBefore=t?`${n}\n${t}`:n}else{const e=s.commentBefore;s.commentBefore=e?`${n}\n${e}`:n}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:Fl(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){for(const t of e)yield*this.next(t);yield*this.end(t,n)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,((t,n,r)=>{const s=Bl(e);s[0]+=t,this.onError(s,"BAD_DIRECTIVE",n,r)})),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{const t=function(e,t,{offset:n,start:r,value:s,end:i},o){const a=Object.assign({_directives:t},e),c=new hl(void 0,a),l={atRoot:!0,directives:c.directives,options:c.options,schema:c.schema},u=gl(r,{indicator:"doc-start",next:s??i?.[0],offset:n,onError:o,startOnNewline:!0});u.found&&(c.directives.docStart=!0,!s||"block-map"!==s.type&&"block-seq"!==s.type||u.hasNewline||o(u.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),c.contents=s?Pl(l,s,u,o):xl(l,u.end,r,null,u,o);const h=c.contents.range[2],p=bl(i,h,!1,o);return p.comment&&(c.comment=p.comment),c.range=[n,h,p.offset],c}(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{const t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new dl(Bl(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){const t="Unexpected doc-end without preceding document";this.errors.push(new dl(Bl(e),"UNEXPECTED_TOKEN",t));break}this.doc.directives.docEnd=!0;const t=bl(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){const e=this.doc.comment;this.doc.comment=e?`${e}\n${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new dl(Bl(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){const e=Object.assign({_directives:this.directives},this.options),n=new hl(void 0,e);this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),n.range=[0,t,t],this.decorate(n,!1),yield n}}}function Hl(e,t){if(t)for(const n of t)switch(n.type){case"space":case"comment":e.push(n);break;case"newline":return e.push(n),!0}return!1}function Gl(e,t,n){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=n,e.source=t;break;case"block-scalar":{const r=e.props.slice(1);let s=t.length;"block-scalar-header"===e.props[0].type&&(s-=e.props[0].source.length);for(const e of r)e.offset+=s;delete e.props,Object.assign(e,{type:n,source:t,end:r});break}case"block-map":case"block-seq":{const r={type:"newline",offset:e.offset+t.length,indent:e.indent,source:"\n"};delete e.items,Object.assign(e,{type:n,source:t,end:[r]});break}default:{const r="indent"in e?e.indent:-1,s="end"in e&&Array.isArray(e.end)?e.end.filter((e=>"space"===e.type||"comment"===e.type||"newline"===e.type)):[];for(const t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:n,indent:r,source:t,end:s})}}}function ql(e){switch(e.type){case"block-scalar":{let t="";for(const n of e.props)t+=ql(n);return t+e.source}case"block-map":case"block-seq":{let t="";for(const n of e.items)t+=Yl(n);return t}case"flow-collection":{let t=e.start.source;for(const n of e.items)t+=Yl(n);for(const n of e.end)t+=n.source;return t}case"document":{let t=Yl(e);if(e.end)for(const n of e.end)t+=n.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(const n of e.end)t+=n.source;return t}}}function Yl({start:e,key:t,sep:n,value:r}){let s="";for(const t of e)s+=t.source;if(t&&(s+=ql(t)),n)for(const e of n)s+=e.source;return r&&(s+=ql(r)),s}const jl=Symbol("break visit"),zl=Symbol("skip children"),Vl=Symbol("remove item");function Kl(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),$l(Object.freeze([]),e,t)}function $l(e,t,n){let r=n(t,e);if("symbol"==typeof r)return r;for(const s of["key","value"]){const i=t[s];if(i&&"items"in i){for(let t=0;t{let n=e;for(const[e,r]of t){const t=n?.[e];if(!t||!("items"in t))return;n=t.items[r]}return n},Kl.parentCollection=(e,t)=>{const n=Kl.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],s=n?.[r];if(s&&"items"in s)return s;throw new Error("Parent collection not found")};const Ql="\ufeff",Wl="",Xl="",Jl="";function Zl(e){switch(e){case Ql:return"byte-order-mark";case Wl:return"doc-mode";case Xl:return"flow-error-end";case Jl:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}var eu=Object.freeze({__proto__:null,BOM:Ql,DOCUMENT:Wl,FLOW_END:Xl,SCALAR:Jl,isCollection:e=>!!e&&"items"in e,isScalar:e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type),prettyToken:function(e){switch(e){case Ql:return"";case Wl:return"";case Xl:return"";case Jl:return"";default:return JSON.stringify(e)}},tokenType:Zl,createScalarToken:function(e,t){const{implicitKey:n=!1,indent:r,inFlow:s=!1,offset:i=-1,type:o="PLAIN"}=t,a=Qa({type:o,value:e},{implicitKey:n,indent:r>0?" ".repeat(r):"",inFlow:s,options:{blockQuote:!0,lineWidth:-1}}),c=t.end??[{type:"newline",offset:-1,indent:r,source:"\n"}];switch(a[0]){case"|":case">":{const e=a.indexOf("\n"),t=a.substring(0,e),n=a.substring(e+1)+"\n",s=[{type:"block-scalar-header",offset:i,indent:r,source:t}];return Hl(s,c)||s.push({type:"newline",offset:-1,indent:r,source:"\n"}),{type:"block-scalar",offset:i,indent:r,props:s,source:n}}case'"':return{type:"double-quoted-scalar",offset:i,indent:r,source:a,end:c};case"'":return{type:"single-quoted-scalar",offset:i,indent:r,source:a,end:c};default:return{type:"scalar",offset:i,indent:r,source:a,end:c}}},resolveAsScalar:function(e,t=!0,n){if(e){const r=(e,t,r)=>{const s="number"==typeof e?e:Array.isArray(e)?e[0]:e.offset;if(!n)throw new dl([s,s+1],t,r);n(s,t,r)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return Il(e,t,r);case"block-scalar":return Cl(e,t,r)}}return null},setScalarValue:function(e,t,n={}){let{afterKey:r=!1,implicitKey:s=!1,inFlow:i=!1,type:o}=n,a="indent"in e?e.indent:null;if(r&&"number"==typeof a&&(a+=2),!o)switch(e.type){case"single-quoted-scalar":o="QUOTE_SINGLE";break;case"double-quoted-scalar":o="QUOTE_DOUBLE";break;case"block-scalar":{const t=e.props[0];if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header");o=">"===t.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:o="PLAIN"}const c=Qa({type:o,value:t},{implicitKey:s||null===a,indent:null!==a&&a>0?" ".repeat(a):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}});switch(c[0]){case"|":case">":!function(e,t){const n=t.indexOf("\n"),r=t.substring(0,n),s=t.substring(n+1)+"\n";if("block-scalar"===e.type){const t=e.props[0];if("block-scalar-header"!==t.type)throw new Error("Invalid block scalar header");t.source=r,e.source=s}else{const{offset:t}=e,n="indent"in e?e.indent:-1,i=[{type:"block-scalar-header",offset:t,indent:n,source:r}];Hl(i,"end"in e?e.end:void 0)||i.push({type:"newline",offset:-1,indent:n,source:"\n"});for(const t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:"block-scalar",indent:n,props:i,source:s})}}(e,c);break;case'"':Gl(e,c,"double-quoted-scalar");break;case"'":Gl(e,c,"single-quoted-scalar");break;default:Gl(e,c,"scalar")}},stringify:e=>"type"in e?ql(e):Yl(e),visit:Kl});function tu(e){switch(e){case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}const nu="0123456789ABCDEFabcdef".split(""),ru="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()".split(""),su=",[]{}".split(""),iu=" ,[]{}\n\r\t".split(""),ou=e=>!e||iu.includes(e);class au{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){e&&(this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null),this.atEnd=!t;let n=this.next??"stream";for(;n&&(t||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||"\t"===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let n=0;for(;" "===t;)t=this.buffer[++n+e];if("\r"===t){const t=this.buffer[n+e+1];if("\n"===t||!t&&!this.atEnd)return e+n+1}return"\n"===t||n>=this.indentNext||!t&&!this.atEnd?e+n:-1}if("-"===t||"."===t){const t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&tu(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return("number"!=typeof e||-1!==e&&ethis.indentValue&&!tu(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&tu(t)){const e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(ou),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=(yield*this.parseBlockScalarHeader()),t+=(yield*this.pushSpaces(!0)),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,n=-1;do{e=yield*this.pushNewline(),e>0?(t=yield*this.pushSpaces(!1),this.indentValue=n=t):t=0,t+=(yield*this.pushSpaces(!0))}while(e+t>0);const r=this.getLine();if(null===r)return this.setNext("flow");if(-1!==n&&n"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break}return yield*this.pushUntil((e=>tu(e)||"#"===e))}*parseBlockScalar(){let e,t=this.pos-1,n=0;e:for(let r=this.pos;e=this.buffer[r];++r)switch(e){case" ":n+=1;break;case"\n":t=r,n=0;break;case"\r":{const e=this.buffer[r+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=n:this.indentNext+=this.blockScalarIndent;do{const e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}if(!this.blockScalarKeep)for(;;){let e=t-1,r=this.buffer[e];"\r"===r&&(r=this.buffer[--e]);const s=e;for(;" "===r||"\t"===r;)r=this.buffer[--e];if(!("\n"===r&&e>=this.pos&&e+1+n>s))break;t=e}return yield Jl,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const e=this.flowLevel>0;let t,n=this.pos-1,r=this.pos-1;for(;t=this.buffer[++r];)if(":"===t){const t=this.buffer[r+1];if(tu(t)||e&&","===t)break;n=r}else if(tu(t)){let s=this.buffer[r+1];if("\r"===t&&("\n"===s?(r+=1,t="\n",s=this.buffer[r+1]):n=r),"#"===s||e&&su.includes(s))break;if("\n"===t){const e=this.continueScalar(r+1);if(-1===e)break;r=Math.max(r,e-2)}}else{if(e&&su.includes(t))break;n=r}return t||this.atEnd?(yield Jl,yield*this.pushToIndex(n+1,!0),e?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){const n=this.buffer.slice(this.pos,e);return n?(yield n,this.pos+=n.length,n.length):(t&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(ou))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const e=this.flowLevel>0,t=this.charAt(1);if(tu(t)||e&&su.includes(t))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!tu(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(ru.includes(t))t=this.buffer[++e];else{if("%"!==t||!nu.includes(this.buffer[e+1])||!nu.includes(this.buffer[e+2]))break;t=this.buffer[e+=3]}return yield*this.pushToIndex(e,!1)}}*pushNewline(){const e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,n=this.pos-1;do{t=this.buffer[++n]}while(" "===t||e&&"\t"===t);const r=n-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=n),r}*pushUntil(e){let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}class cu{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,n=this.lineStarts.length;for(;t>1;this.lineStarts[r]=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;"space"===e[++t]?.type;);return e.splice(t,e.length)}function du(e){if("flow-seq-start"===e.start.type)for(const t of e.items)!t.sep||t.value||lu(t.start,"explicit-key-ind")||lu(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,hu(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}class mu{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new au,this.onNewLine=e}*parse(e,t=!1){this.onNewLine&&0===this.offset&&this.onNewLine(0);for(const n of this.lexer.lex(e,t))yield*this.next(n);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar)return this.atScalar=!1,yield*this.step(),void(this.offset+=e.length);const t=Zl(e);if(t)if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{const t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const e=this.peek(1);if("doc-end"!==this.type||e&&"doc-end"===e.type){if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}else{for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source})}}peek(e){return this.stack[this.stack.length-e]}*pop(e){const t=e??this.stack.pop();if(t)if(0===this.stack.length)yield t;else{const e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&du(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{const n=e.items[e.items.length-1];if(n.value)return e.items.push({start:[],key:t,sep:[]}),void(this.onKeyLine=!0);if(!n.sep)return Object.assign(n,{key:t,sep:[]}),void(this.onKeyLine=!lu(n.start,"explicit-key-ind"));n.value=t;break}case"block-seq":{const n=e.items[e.items.length-1];n.value?e.items.push({start:[],value:t}):n.value=t;break}case"flow-collection":{const n=e.items[e.items.length-1];return void(!n||n.value?e.items.push({start:[],key:t,sep:[]}):n.sep?n.value=t:Object.assign(n,{key:t,sep:[]}))}default:yield*this.pop(),yield*this.pop(t)}if(!("document"!==e.type&&"block-map"!==e.type&&"block-seq"!==e.type||"block-map"!==t.type&&"block-seq"!==t.type)){const n=t.items[t.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&-1===uu(n.start)&&(0===t.indent||n.start.every((e=>"comment"!==e.type||e.indent=e.indent){const n=!this.onKeyLine&&this.indent===e.indent&&t.sep;let r=[];if(n&&t.sep&&!t.value){const n=[];for(let r=0;re.indent&&(n.length=0);break;default:n.length=0}}n.length>=2&&(r=t.sep.splice(n[1]))}switch(this.type){case"anchor":case"tag":return void(n||t.value?(r.push(this.sourceToken),e.items.push({start:r}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"explicit-key-ind":return t.sep||lu(t.start,"explicit-key-ind")?n||t.value?(r.push(this.sourceToken),e.items.push({start:r})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]}):t.start.push(this.sourceToken),void(this.onKeyLine=!0);case"map-value-ind":if(lu(t.start,"explicit-key-ind"))if(t.sep)if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(lu(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]});else if(hu(t.key)&&!lu(t.sep,"newline")){const e=fu(t.start),n=t.key,r=t.sep;r.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:n,sep:r}]})}else r.length>0?t.sep=t.sep.concat(r,this.sourceToken):t.sep.push(this.sourceToken);else if(lu(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{const e=fu(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||n?e.items.push({start:r,key:null,sep:[this.sourceToken]}):lu(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return void(this.onKeyLine=!0);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const s=this.flowScalar(this.type);return void(n||t.value?(e.items.push({start:r,key:s,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(s):(Object.assign(t,{key:s,sep:[]}),this.onKeyLine=!0))}default:{const s=this.startBlockValue(e);if(s)return n&&"block-seq"!==s.type&&lu(t.start,"explicit-key-ind")&&e.items.push({start:r}),void this.stack.push(s)}}}yield*this.pop(),yield*this.step()}*blockSequence(e){const t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){const n="end"in t.value?t.value.end:void 0,r=Array.isArray(n)?n[n.length-1]:void 0;"comment"===r?.type?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){const n=e.items[e.items.length-2],r=n?.value?.end;if(Array.isArray(r))return Array.prototype.push.apply(r,t.start),r.push(this.sourceToken),void e.items.pop()}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;return void t.start.push(this.sourceToken);case"seq-item-ind":if(this.indent!==e.indent)break;return void(t.value||lu(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken))}if(this.indent>e.indent){const t=this.startBlockValue(e);if(t)return void this.stack.push(t)}yield*this.pop(),yield*this.step()}*flowCollection(e){const t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do{yield*this.pop(),e=this.peek(1)}while(e&&"flow-collection"===e.type)}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":return void(!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken));case"map-value-ind":return void(!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]}));case"space":case"comment":case"newline":case"anchor":case"tag":return void(!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const n=this.flowScalar(this.type);return void(!t||t.value?e.items.push({start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]}))}case"flow-map-end":case"flow-seq-end":return void e.end.push(this.sourceToken)}const n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{const t=this.peek(2);if("block-map"===t.type&&("map-value-ind"===this.type&&t.indent===e.indent||"newline"===this.type&&!t.items[t.items.length-1].sep))yield*this.pop(),yield*this.step();else if("map-value-ind"===this.type&&"flow-collection"!==t.type){const n=fu(pu(t));du(e);const r=e.end.splice(1,e.end.length);r.push(this.sourceToken);const s={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=s}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const t=fu(pu(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t}]}}case"map-value-ind":{this.onKeyLine=!0;const t=fu(pu(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&(!(this.indent<=t)&&e.every((e=>"newline"===e.type||"space"===e.type)))}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}function Eu(e){const t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new cu||null,prettyErrors:t}}function gu(e,t={}){const{lineCounter:n,prettyErrors:r}=Eu(t),s=new mu(n?.addNewLine),i=new Ul(t);let o=null;for(const t of i.compose(s.parse(e),!0,e.length))if(o){if("silent"!==o.options.logLevel){o.errors.push(new dl(t.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else o=t;return r&&n&&(o.errors.forEach(El(e,n)),o.warnings.forEach(El(e,n))),o}var Tu=Object.freeze({__proto__:null,CST:eu,Composer:Ul,Document:hl,Schema:ul,YAMLError:fl,YAMLParseError:dl,YAMLWarning:ml,Alias:Sa,isAlias:Jo,isCollection:sa,isDocument:Zo,isMap:ea,isNode:ia,isPair:ta,isScalar:na,isSeq:ra,Pair:rc,Scalar:Oa,YAMLMap:lc,YAMLSeq:hc,Lexer:au,LineCounter:cu,Parser:mu,parse:function(e,t,n){let r;"function"==typeof t?r=t:void 0===n&&t&&"object"==typeof t&&(n=t);const s=gu(e,n);if(!s)return null;if(s.warnings.forEach((e=>Ja(s.options.logLevel,e))),s.errors.length>0){if("silent"!==s.options.logLevel)throw s.errors[0];s.errors=[]}return s.toJS(Object.assign({reviver:r},n))},parseAllDocuments:function(e,t={}){const{lineCounter:n,prettyErrors:r}=Eu(t),s=new mu(n?.addNewLine),i=new Ul(t),o=Array.from(i.compose(s.parse(e)));if(r&&n)for(const t of o)t.errors.forEach(El(e,n)),t.warnings.forEach(El(e,n));return o.length>0?o:Object.assign([],{empty:!0},i.streamInfo())},parseDocument:gu,stringify:function(e,t,n){let r=null;if("function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t),"string"==typeof n&&(n=n.length),"number"==typeof n){const e=Math.round(n);n=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){const{keepUndefined:e}=n??t??{};if(!e)return}return new hl(e,r,n).toString(n)},visit:ua,visitAsync:pa});function Au(e,t){return e&&"run"in e?async function(n,r){const s=Lr(n,t);await e.run(s,r)}:function(n){return Lr(n,t||e)}}function _u(e){const t={...this.data("settings"),...e};this.compiler=function(e){return $s(e,t)}}const yu=/[#.]/g;const bu=new Set(["button","menu","reset","submit"]),ku={}.hasOwnProperty;function Nu(e,t,n){const r=n&&function(e){const t={};let n=-1;for(;++n-1&&ee)return{line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e}},toOffset:function(e){const t=e&&e.line,r=e&&e.column;if("number"==typeof t&&"number"==typeof r&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){const e=(n[t-2]||0)+r-1||0;if(e>-1&&e=55296&&e<=57343}function nh(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function rh(e){return e>=64976&&e<=65007||Vu.has(e)}var sh;!function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"}(sh=sh||(sh={}));class ih{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){const{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.html.charCodeAt(this.pos+1);if(function(e){return e>=56320&&e<=57343}(t))return this.pos++,this._addGap(),1024*(e-55296)+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,$u.EOF;return this._err(sh.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,$u.EOF;const n=this.html.charCodeAt(t);return n===$u.CARRIAGE_RETURN?$u.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,$u.EOF;let e=this.html.charCodeAt(this.pos);if(e===$u.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,$u.LINE_FEED;if(e===$u.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,th(e)&&(e=this._processSurrogate(e));return null===this.handler.onParseError||e>31&&e<127||e===$u.LINE_FEED||e===$u.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){nh(e)?this._err(sh.controlCharacterInInputStream):rh(e)&&this._err(sh.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}!function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"}(oh=oh||(oh={}));var ch,lh=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e=>e.charCodeAt(0)))),uh=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));const hh=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),ph=null!==(ch=String.fromCodePoint)&&void 0!==ch?ch:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};var fh;!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(fh||(fh={}));var dh,mh,Eh,gh,Th,Ah,_h,yh;function bh(e){return e>=fh.ZERO&&e<=fh.NINE}function kh(e){return e>=fh.UPPER_A&&e<=fh.UPPER_F||e>=fh.LOWER_A&&e<=fh.LOWER_F}function Nh(e){return e===fh.EQUALS||function(e){return e>=fh.UPPER_A&&e<=fh.UPPER_Z||e>=fh.LOWER_A&&e<=fh.LOWER_Z||bh(e)}(e)}!function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(dh||(dh={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(mh||(mh={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(Eh||(Eh={}));class Sh{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=mh.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Eh.Strict}startEntity(e){this.decodeMode=e,this.state=mh.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case mh.EntityStart:return e.charCodeAt(t)===fh.NUM?(this.state=mh.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=mh.NamedEntity,this.stateNamedEntity(e,t));case mh.NumericStart:return this.stateNumericStart(e,t);case mh.NumericDecimal:return this.stateNumericDecimal(e,t);case mh.NumericHex:return this.stateNumericHex(e,t);case mh.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===fh.LOWER_X?(this.state=mh.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=mh.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){const s=n-t;this.result=this.result*Math.pow(r,s)+parseInt(e.substr(t,s),r),this.consumed+=s}}stateNumericHex(e,t){const n=t;for(;t=55296&&e<=57343||e>1114111?65533:null!==(t=hh.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(e!==fh.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this;let r=n[this.treeIndex],s=(r&dh.VALUE_LENGTH)>>14;for(;t>14,0!==s){if(i===fh.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==Eh.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this,r=(n[t]&dh.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~dh.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case mh.NamedEntity:return 0===this.result||this.decodeMode===Eh.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case mh.NumericDecimal:return this.emitNumericEntity(0,2);case mh.NumericHex:return this.emitNumericEntity(0,3);case mh.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case mh.EntityStart:return 0}}}function Ch(e){let t="";const n=new Sh(e,(e=>t+=ph(e)));return function(e,r){let s=0,i=0;for(;(i=e.indexOf("&",i))>=0;){t+=e.slice(s,i),n.startEntity(r);const o=n.write(e,i+1);if(o<0){s=i+n.end();break}s=i+o,i=0===o?s+1:s}const o=t+e.slice(s);return t="",o}}function Ih(e,t,n,r){const s=(t&dh.BRANCH_LENGTH)>>7,i=t&dh.JUMP_TABLE;if(0===s)return 0!==i&&r===i?n:-1;if(i){const t=r-i;return t<0||t>=s?-1:e[n+t]-1}let o=n,a=o+s-1;for(;o<=a;){const t=o+a>>>1,n=e[t];if(nr))return e[t+s];a=t-1}}return-1}Ch(lh),Ch(uh),function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"}(gh=gh||(gh={})),function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"}(Th=Th||(Th={})),function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"}(Ah=Ah||(Ah={})),function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"}(_h=_h||(_h={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SECTION=94]="SECTION",e[e.SELECT=95]="SELECT",e[e.SOURCE=96]="SOURCE",e[e.SMALL=97]="SMALL",e[e.SPAN=98]="SPAN",e[e.STRIKE=99]="STRIKE",e[e.STRONG=100]="STRONG",e[e.STYLE=101]="STYLE",e[e.SUB=102]="SUB",e[e.SUMMARY=103]="SUMMARY",e[e.SUP=104]="SUP",e[e.TABLE=105]="TABLE",e[e.TBODY=106]="TBODY",e[e.TEMPLATE=107]="TEMPLATE",e[e.TEXTAREA=108]="TEXTAREA",e[e.TFOOT=109]="TFOOT",e[e.TD=110]="TD",e[e.TH=111]="TH",e[e.THEAD=112]="THEAD",e[e.TITLE=113]="TITLE",e[e.TR=114]="TR",e[e.TRACK=115]="TRACK",e[e.TT=116]="TT",e[e.U=117]="U",e[e.UL=118]="UL",e[e.SVG=119]="SVG",e[e.VAR=120]="VAR",e[e.WBR=121]="WBR",e[e.XMP=122]="XMP"}(yh=yh||(yh={}));const Oh=new Map([[_h.A,yh.A],[_h.ADDRESS,yh.ADDRESS],[_h.ANNOTATION_XML,yh.ANNOTATION_XML],[_h.APPLET,yh.APPLET],[_h.AREA,yh.AREA],[_h.ARTICLE,yh.ARTICLE],[_h.ASIDE,yh.ASIDE],[_h.B,yh.B],[_h.BASE,yh.BASE],[_h.BASEFONT,yh.BASEFONT],[_h.BGSOUND,yh.BGSOUND],[_h.BIG,yh.BIG],[_h.BLOCKQUOTE,yh.BLOCKQUOTE],[_h.BODY,yh.BODY],[_h.BR,yh.BR],[_h.BUTTON,yh.BUTTON],[_h.CAPTION,yh.CAPTION],[_h.CENTER,yh.CENTER],[_h.CODE,yh.CODE],[_h.COL,yh.COL],[_h.COLGROUP,yh.COLGROUP],[_h.DD,yh.DD],[_h.DESC,yh.DESC],[_h.DETAILS,yh.DETAILS],[_h.DIALOG,yh.DIALOG],[_h.DIR,yh.DIR],[_h.DIV,yh.DIV],[_h.DL,yh.DL],[_h.DT,yh.DT],[_h.EM,yh.EM],[_h.EMBED,yh.EMBED],[_h.FIELDSET,yh.FIELDSET],[_h.FIGCAPTION,yh.FIGCAPTION],[_h.FIGURE,yh.FIGURE],[_h.FONT,yh.FONT],[_h.FOOTER,yh.FOOTER],[_h.FOREIGN_OBJECT,yh.FOREIGN_OBJECT],[_h.FORM,yh.FORM],[_h.FRAME,yh.FRAME],[_h.FRAMESET,yh.FRAMESET],[_h.H1,yh.H1],[_h.H2,yh.H2],[_h.H3,yh.H3],[_h.H4,yh.H4],[_h.H5,yh.H5],[_h.H6,yh.H6],[_h.HEAD,yh.HEAD],[_h.HEADER,yh.HEADER],[_h.HGROUP,yh.HGROUP],[_h.HR,yh.HR],[_h.HTML,yh.HTML],[_h.I,yh.I],[_h.IMG,yh.IMG],[_h.IMAGE,yh.IMAGE],[_h.INPUT,yh.INPUT],[_h.IFRAME,yh.IFRAME],[_h.KEYGEN,yh.KEYGEN],[_h.LABEL,yh.LABEL],[_h.LI,yh.LI],[_h.LINK,yh.LINK],[_h.LISTING,yh.LISTING],[_h.MAIN,yh.MAIN],[_h.MALIGNMARK,yh.MALIGNMARK],[_h.MARQUEE,yh.MARQUEE],[_h.MATH,yh.MATH],[_h.MENU,yh.MENU],[_h.META,yh.META],[_h.MGLYPH,yh.MGLYPH],[_h.MI,yh.MI],[_h.MO,yh.MO],[_h.MN,yh.MN],[_h.MS,yh.MS],[_h.MTEXT,yh.MTEXT],[_h.NAV,yh.NAV],[_h.NOBR,yh.NOBR],[_h.NOFRAMES,yh.NOFRAMES],[_h.NOEMBED,yh.NOEMBED],[_h.NOSCRIPT,yh.NOSCRIPT],[_h.OBJECT,yh.OBJECT],[_h.OL,yh.OL],[_h.OPTGROUP,yh.OPTGROUP],[_h.OPTION,yh.OPTION],[_h.P,yh.P],[_h.PARAM,yh.PARAM],[_h.PLAINTEXT,yh.PLAINTEXT],[_h.PRE,yh.PRE],[_h.RB,yh.RB],[_h.RP,yh.RP],[_h.RT,yh.RT],[_h.RTC,yh.RTC],[_h.RUBY,yh.RUBY],[_h.S,yh.S],[_h.SCRIPT,yh.SCRIPT],[_h.SECTION,yh.SECTION],[_h.SELECT,yh.SELECT],[_h.SOURCE,yh.SOURCE],[_h.SMALL,yh.SMALL],[_h.SPAN,yh.SPAN],[_h.STRIKE,yh.STRIKE],[_h.STRONG,yh.STRONG],[_h.STYLE,yh.STYLE],[_h.SUB,yh.SUB],[_h.SUMMARY,yh.SUMMARY],[_h.SUP,yh.SUP],[_h.TABLE,yh.TABLE],[_h.TBODY,yh.TBODY],[_h.TEMPLATE,yh.TEMPLATE],[_h.TEXTAREA,yh.TEXTAREA],[_h.TFOOT,yh.TFOOT],[_h.TD,yh.TD],[_h.TH,yh.TH],[_h.THEAD,yh.THEAD],[_h.TITLE,yh.TITLE],[_h.TR,yh.TR],[_h.TRACK,yh.TRACK],[_h.TT,yh.TT],[_h.U,yh.U],[_h.UL,yh.UL],[_h.SVG,yh.SVG],[_h.VAR,yh.VAR],[_h.WBR,yh.WBR],[_h.XMP,yh.XMP]]);function Dh(e){var t;return null!==(t=Oh.get(e))&&void 0!==t?t:yh.UNKNOWN}const Lh=yh,Rh={[gh.HTML]:new Set([Lh.ADDRESS,Lh.APPLET,Lh.AREA,Lh.ARTICLE,Lh.ASIDE,Lh.BASE,Lh.BASEFONT,Lh.BGSOUND,Lh.BLOCKQUOTE,Lh.BODY,Lh.BR,Lh.BUTTON,Lh.CAPTION,Lh.CENTER,Lh.COL,Lh.COLGROUP,Lh.DD,Lh.DETAILS,Lh.DIR,Lh.DIV,Lh.DL,Lh.DT,Lh.EMBED,Lh.FIELDSET,Lh.FIGCAPTION,Lh.FIGURE,Lh.FOOTER,Lh.FORM,Lh.FRAME,Lh.FRAMESET,Lh.H1,Lh.H2,Lh.H3,Lh.H4,Lh.H5,Lh.H6,Lh.HEAD,Lh.HEADER,Lh.HGROUP,Lh.HR,Lh.HTML,Lh.IFRAME,Lh.IMG,Lh.INPUT,Lh.LI,Lh.LINK,Lh.LISTING,Lh.MAIN,Lh.MARQUEE,Lh.MENU,Lh.META,Lh.NAV,Lh.NOEMBED,Lh.NOFRAMES,Lh.NOSCRIPT,Lh.OBJECT,Lh.OL,Lh.P,Lh.PARAM,Lh.PLAINTEXT,Lh.PRE,Lh.SCRIPT,Lh.SECTION,Lh.SELECT,Lh.SOURCE,Lh.STYLE,Lh.SUMMARY,Lh.TABLE,Lh.TBODY,Lh.TD,Lh.TEMPLATE,Lh.TEXTAREA,Lh.TFOOT,Lh.TH,Lh.THEAD,Lh.TITLE,Lh.TR,Lh.TRACK,Lh.UL,Lh.WBR,Lh.XMP]),[gh.MATHML]:new Set([Lh.MI,Lh.MO,Lh.MN,Lh.MS,Lh.MTEXT,Lh.ANNOTATION_XML]),[gh.SVG]:new Set([Lh.TITLE,Lh.FOREIGN_OBJECT,Lh.DESC]),[gh.XLINK]:new Set,[gh.XML]:new Set,[gh.XMLNS]:new Set};function vh(e){return e===Lh.H1||e===Lh.H2||e===Lh.H3||e===Lh.H4||e===Lh.H5||e===Lh.H6}new Set([_h.STYLE,_h.SCRIPT,_h.XMP,_h.IFRAME,_h.NOEMBED,_h.NOFRAMES,_h.PLAINTEXT]);const wh=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);var Mh;!function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",e[e.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",e[e.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",e[e.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",e[e.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",e[e.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"}(Mh||(Mh={}));const Ph={DATA:Mh.DATA,RCDATA:Mh.RCDATA,RAWTEXT:Mh.RAWTEXT,SCRIPT_DATA:Mh.SCRIPT_DATA,PLAINTEXT:Mh.PLAINTEXT,CDATA_SECTION:Mh.CDATA_SECTION};function xh(e){return e>=$u.DIGIT_0&&e<=$u.DIGIT_9}function Bh(e){return e>=$u.LATIN_CAPITAL_A&&e<=$u.LATIN_CAPITAL_Z}function Fh(e){return function(e){return e>=$u.LATIN_SMALL_A&&e<=$u.LATIN_SMALL_Z}(e)||Bh(e)}function Uh(e){return Fh(e)||xh(e)}function Hh(e){return e>=$u.LATIN_CAPITAL_A&&e<=$u.LATIN_CAPITAL_F}function Gh(e){return e>=$u.LATIN_SMALL_A&&e<=$u.LATIN_SMALL_F}function qh(e){return e+32}function Yh(e){return e===$u.SPACE||e===$u.LINE_FEED||e===$u.TABULATION||e===$u.FORM_FEED}function jh(e){return Yh(e)||e===$u.SOLIDUS||e===$u.GREATER_THAN_SIGN}class zh{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=Mh.DATA,this.returnState=Mh.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new ih(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(sh.endTagWithAttributes),e.selfClosing&&this._err(sh.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case oh.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case oh.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case oh.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:oh.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type===e)return void(this.currentCharacterToken.chars+=t);this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk()}this._createCharacterToken(e,t)}_emitCodePoint(e){const t=Yh(e)?oh.WHITESPACE_CHARACTER:e===$u.NULL?oh.NULL_CHARACTER:oh.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(oh.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=lh[0];i>=0&&(i=Ih(lh,o,i+1,e),!(i<0));e=this._consume()){n+=1,o=lh[i];const a=o&dh.VALUE_LENGTH;if(a){const o=(a>>14)-1;if(e!==$u.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((s=this.preprocessor.peek(1))===$u.EQUALS_SIGN||Uh(s))?(t=[$u.AMPERSAND],i+=o):(t=0===o?[lh[i]&~dh.VALUE_LENGTH]:1===o?[lh[++i]]:[lh[++i],lh[++i]],n=0,r=e!==$u.SEMICOLON),0===o){this._consume();break}}}var s;return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(sh.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===Mh.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===Mh.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===Mh.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case Mh.DATA:this._stateData(e);break;case Mh.RCDATA:this._stateRcdata(e);break;case Mh.RAWTEXT:this._stateRawtext(e);break;case Mh.SCRIPT_DATA:this._stateScriptData(e);break;case Mh.PLAINTEXT:this._statePlaintext(e);break;case Mh.TAG_OPEN:this._stateTagOpen(e);break;case Mh.END_TAG_OPEN:this._stateEndTagOpen(e);break;case Mh.TAG_NAME:this._stateTagName(e);break;case Mh.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case Mh.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case Mh.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case Mh.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case Mh.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case Mh.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case Mh.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case Mh.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case Mh.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case Mh.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case Mh.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case Mh.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case Mh.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case Mh.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case Mh.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case Mh.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case Mh.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case Mh.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case Mh.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case Mh.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case Mh.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case Mh.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case Mh.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case Mh.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case Mh.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case Mh.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case Mh.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case Mh.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case Mh.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case Mh.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case Mh.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case Mh.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case Mh.BOGUS_COMMENT:this._stateBogusComment(e);break;case Mh.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case Mh.COMMENT_START:this._stateCommentStart(e);break;case Mh.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case Mh.COMMENT:this._stateComment(e);break;case Mh.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case Mh.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case Mh.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case Mh.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case Mh.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case Mh.COMMENT_END:this._stateCommentEnd(e);break;case Mh.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case Mh.DOCTYPE:this._stateDoctype(e);break;case Mh.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case Mh.DOCTYPE_NAME:this._stateDoctypeName(e);break;case Mh.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case Mh.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case Mh.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case Mh.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case Mh.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case Mh.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case Mh.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case Mh.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case Mh.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case Mh.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case Mh.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case Mh.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case Mh.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case Mh.CDATA_SECTION:this._stateCdataSection(e);break;case Mh.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case Mh.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case Mh.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case Mh.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case Mh.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case Mh.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case Mh.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case Mh.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case Mh.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case Mh.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw new Error("Unknown state")}}_stateData(e){switch(e){case $u.LESS_THAN_SIGN:this.state=Mh.TAG_OPEN;break;case $u.AMPERSAND:this.returnState=Mh.DATA,this.state=Mh.CHARACTER_REFERENCE;break;case $u.NULL:this._err(sh.unexpectedNullCharacter),this._emitCodePoint(e);break;case $u.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case $u.AMPERSAND:this.returnState=Mh.RCDATA,this.state=Mh.CHARACTER_REFERENCE;break;case $u.LESS_THAN_SIGN:this.state=Mh.RCDATA_LESS_THAN_SIGN;break;case $u.NULL:this._err(sh.unexpectedNullCharacter),this._emitChars(Ku);break;case $u.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case $u.LESS_THAN_SIGN:this.state=Mh.RAWTEXT_LESS_THAN_SIGN;break;case $u.NULL:this._err(sh.unexpectedNullCharacter),this._emitChars(Ku);break;case $u.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case $u.LESS_THAN_SIGN:this.state=Mh.SCRIPT_DATA_LESS_THAN_SIGN;break;case $u.NULL:this._err(sh.unexpectedNullCharacter),this._emitChars(Ku);break;case $u.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case $u.NULL:this._err(sh.unexpectedNullCharacter),this._emitChars(Ku);break;case $u.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(Fh(e))this._createStartTagToken(),this.state=Mh.TAG_NAME,this._stateTagName(e);else switch(e){case $u.EXCLAMATION_MARK:this.state=Mh.MARKUP_DECLARATION_OPEN;break;case $u.SOLIDUS:this.state=Mh.END_TAG_OPEN;break;case $u.QUESTION_MARK:this._err(sh.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=Mh.BOGUS_COMMENT,this._stateBogusComment(e);break;case $u.EOF:this._err(sh.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(sh.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=Mh.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(Fh(e))this._createEndTagToken(),this.state=Mh.TAG_NAME,this._stateTagName(e);else switch(e){case $u.GREATER_THAN_SIGN:this._err(sh.missingEndTagName),this.state=Mh.DATA;break;case $u.EOF:this._err(sh.eofBeforeTagName),this._emitChars("");break;case $u.NULL:this._err(sh.unexpectedNullCharacter),this.state=Mh.SCRIPT_DATA_ESCAPED,this._emitChars(Ku);break;case $u.EOF:this._err(sh.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Mh.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===$u.SOLIDUS?this.state=Mh.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Fh(e)?(this._emitChars("<"),this.state=Mh.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=Mh.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){Fh(e)?(this.state=Mh.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case $u.NULL:this._err(sh.unexpectedNullCharacter),this.state=Mh.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Ku);break;case $u.EOF:this._err(sh.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Mh.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===$u.SOLIDUS?(this.state=Mh.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=Mh.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(Ju,!1)&&jh(this.preprocessor.peek(Ju.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(sh.characterReferenceOutsideUnicodeRange),this.charRefCode=$u.REPLACEMENT_CHARACTER;else if(th(this.charRefCode))this._err(sh.surrogateCharacterReference),this.charRefCode=$u.REPLACEMENT_CHARACTER;else if(rh(this.charRefCode))this._err(sh.noncharacterCharacterReference);else if(nh(this.charRefCode)||this.charRefCode===$u.CARRIAGE_RETURN){this._err(sh.controlCharacterReference);const e=wh.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}const Vh=new Set([yh.DD,yh.DT,yh.LI,yh.OPTGROUP,yh.OPTION,yh.P,yh.RB,yh.RP,yh.RT,yh.RTC]),Kh=new Set([...Vh,yh.CAPTION,yh.COLGROUP,yh.TBODY,yh.TD,yh.TFOOT,yh.TH,yh.THEAD,yh.TR]),$h=new Map([[yh.APPLET,gh.HTML],[yh.CAPTION,gh.HTML],[yh.HTML,gh.HTML],[yh.MARQUEE,gh.HTML],[yh.OBJECT,gh.HTML],[yh.TABLE,gh.HTML],[yh.TD,gh.HTML],[yh.TEMPLATE,gh.HTML],[yh.TH,gh.HTML],[yh.ANNOTATION_XML,gh.MATHML],[yh.MI,gh.MATHML],[yh.MN,gh.MATHML],[yh.MO,gh.MATHML],[yh.MS,gh.MATHML],[yh.MTEXT,gh.MATHML],[yh.DESC,gh.SVG],[yh.FOREIGN_OBJECT,gh.SVG],[yh.TITLE,gh.SVG]]),Qh=[yh.H1,yh.H2,yh.H3,yh.H4,yh.H5,yh.H6],Wh=[yh.TR,yh.TEMPLATE,yh.HTML],Xh=[yh.TBODY,yh.TFOOT,yh.THEAD,yh.TEMPLATE,yh.HTML],Jh=[yh.TABLE,yh.TEMPLATE,yh.HTML],Zh=[yh.TD,yh.TH];class ep{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=yh.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===yh.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===gh.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){const r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do{t=this.tagIDs.lastIndexOf(e,t-1)}while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==gh.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return-1}clearBackTo(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(Jh,gh.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Xh,gh.HTML)}clearBackToTableRowContext(){this.clearBackTo(Wh,gh.HTML)}remove(e){const t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===yh.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===yh.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===gh.HTML)return!0;if($h.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(vh(t)&&n===gh.HTML)return!0;if($h.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===gh.HTML)return!0;if((n===yh.UL||n===yh.OL)&&r===gh.HTML||$h.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===gh.HTML)return!0;if(n===yh.BUTTON&&r===gh.HTML||$h.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===gh.HTML){if(n===e)return!0;if(n===yh.TABLE||n===yh.TEMPLATE||n===yh.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];if(this.treeAdapter.getNamespaceURI(this.items[e])===gh.HTML){if(t===yh.TBODY||t===yh.THEAD||t===yh.TFOOT)return!0;if(t===yh.TABLE||t===yh.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===gh.HTML){if(n===e)return!0;if(n!==yh.OPTION&&n!==yh.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;Vh.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Kh.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&Kh.has(this.currentTagId);)this.pop()}}var tp;!function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"}(tp=tp||(tp={}));const np={type:tp.Marker};class rp{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){const n=[],r=t.length,s=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])));let s=0;for(let e=0;er.get(e.name)===e.value))&&(s+=1,s>=3&&this.entries.splice(t.idx,1))}}insertMarker(){this.entries.unshift(np)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:tp.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:tp.Element,element:e,token:t})}removeEntry(e){const t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){const e=this.entries.indexOf(np);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){const t=this.entries.find((t=>t.type===tp.Marker||this.treeAdapter.getTagName(t.element)===e));return t&&t.type===tp.Element?t:null}getElementEntry(e){return this.entries.find((t=>t.type===tp.Element&&t.element===e))}}function sp(e){return{nodeName:"#text",value:e,parentNode:null}}const ip={createDocument:()=>({nodeName:"#document",mode:Ah.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){const s=e.childNodes.find((e=>"#documentType"===e.nodeName));if(s)s.name=t,s.publicId=n,s.systemId=r;else{const s={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};ip.appendChild(e,s)}},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(ip.isTextNode(n))return void(n.value+=t)}ip.appendChild(e,sp(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&ip.isTextNode(r)?r.value+=t:ip.insertBefore(e,sp(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map((e=>e.name)));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},op="html",ap="about:legacy-compat",cp="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",lp=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],up=[...lp,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],hp=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),pp=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],fp=[...pp,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function dp(e,t){return t.some((t=>e.startsWith(t)))}const mp={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Ep="definitionurl",gp="definitionURL",Tp=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((e=>[e.toLowerCase(),e]))),Ap=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:gh.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:gh.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:gh.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:gh.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:gh.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:gh.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:gh.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:gh.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:gh.XML}],["xml:space",{prefix:"xml",name:"space",namespace:gh.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:gh.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:gh.XMLNS}]]),_p=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((e=>[e.toLowerCase(),e]))),yp=new Set([yh.B,yh.BIG,yh.BLOCKQUOTE,yh.BODY,yh.BR,yh.CENTER,yh.CODE,yh.DD,yh.DIV,yh.DL,yh.DT,yh.EM,yh.EMBED,yh.H1,yh.H2,yh.H3,yh.H4,yh.H5,yh.H6,yh.HEAD,yh.HR,yh.I,yh.IMG,yh.LI,yh.LISTING,yh.MENU,yh.META,yh.NOBR,yh.OL,yh.P,yh.PRE,yh.RUBY,yh.S,yh.SMALL,yh.SPAN,yh.STRONG,yh.STRIKE,yh.SUB,yh.SUP,yh.TABLE,yh.TT,yh.U,yh.UL,yh.VAR]);function bp(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):({current:e,currentTagId:t}=this.openElements),this._setContextModes(e,t)}}_setContextModes(e,t){const n=e===this.document||this.treeAdapter.getNamespaceURI(e)===gh.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,gh.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=Dp.TEXT}switchToPlaintextParsing(){this.insertionMode=Dp.TEXT,this.originalInsertionMode=Dp.IN_BODY,this.tokenizer.state=Ph.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===_h.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===gh.HTML)switch(this.fragmentContextID){case yh.TITLE:case yh.TEXTAREA:this.tokenizer.state=Ph.RCDATA;break;case yh.STYLE:case yh.XMP:case yh.IFRAME:case yh.NOEMBED:case yh.NOFRAMES:case yh.NOSCRIPT:this.tokenizer.state=Ph.RAWTEXT;break;case yh.SCRIPT:this.tokenizer.state=Ph.SCRIPT_DATA;break;case yh.PLAINTEXT:this.tokenizer.state=Ph.PLAINTEXT}}_setDocumentType(e){const t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){const t=this.treeAdapter.getChildNodes(this.document).find((e=>this.treeAdapter.isDocumentTypeNode(e)));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){const n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){const n=this.treeAdapter.createElement(e,gh.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,gh.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(_h.HTML,gh.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,yh.HTML)}_appendCommentNode(e,t){const n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?(({parent:t,beforeElement:n}=this._findFosterParentingLocation()),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;const r=this.treeAdapter.getChildNodes(t),s=n?r.lastIndexOf(n):r.length,i=r[s-1];if(this.treeAdapter.getNodeSourceCodeLocation(i)){const{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const n=t.location,r=this.treeAdapter.getTagName(e),s=t.type===oh.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,s)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,n;return 0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):({current:t,currentTagId:n}=this.openElements),(e.tagID!==yh.SVG||this.treeAdapter.getTagName(t)!==_h.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==gh.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===yh.MGLYPH||e.tagID===yh.MALIGNMARK)&&!this._isIntegrationPoint(n,t,gh.HTML))}_processToken(e){switch(e.type){case oh.CHARACTER:this.onCharacter(e);break;case oh.NULL_CHARACTER:this.onNullCharacter(e);break;case oh.COMMENT:this.onComment(e);break;case oh.DOCTYPE:this.onDoctype(e);break;case oh.START_TAG:this._processStartTag(e);break;case oh.END_TAG:this.onEndTag(e);break;case oh.EOF:this.onEof(e);break;case oh.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){return Sp(e,this.treeAdapter.getNamespaceURI(t),this.treeAdapter.getAttrList(t),n)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.entries.length;if(e){const t=this.activeFormattingElements.entries.findIndex((e=>e.type===tp.Marker||this.openElements.contains(e.element)));for(let n=t<0?e-1:t-1;n>=0;n--){const e=this.activeFormattingElements.entries[n];this._insertElement(e.token,this.treeAdapter.getNamespaceURI(e.element)),e.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Dp.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(yh.P),this.openElements.popUntilTagNamePopped(yh.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case yh.TR:return void(this.insertionMode=Dp.IN_ROW);case yh.TBODY:case yh.THEAD:case yh.TFOOT:return void(this.insertionMode=Dp.IN_TABLE_BODY);case yh.CAPTION:return void(this.insertionMode=Dp.IN_CAPTION);case yh.COLGROUP:return void(this.insertionMode=Dp.IN_COLUMN_GROUP);case yh.TABLE:return void(this.insertionMode=Dp.IN_TABLE);case yh.BODY:return void(this.insertionMode=Dp.IN_BODY);case yh.FRAMESET:return void(this.insertionMode=Dp.IN_FRAMESET);case yh.SELECT:return void this._resetInsertionModeForSelect(e);case yh.TEMPLATE:return void(this.insertionMode=this.tmplInsertionModeStack[0]);case yh.HTML:return void(this.insertionMode=this.headElement?Dp.AFTER_HEAD:Dp.BEFORE_HEAD);case yh.TD:case yh.TH:if(e>0)return void(this.insertionMode=Dp.IN_CELL);break;case yh.HEAD:if(e>0)return void(this.insertionMode=Dp.IN_HEAD)}this.insertionMode=Dp.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.tagIDs[t];if(e===yh.TEMPLATE)break;if(e===yh.TABLE)return void(this.insertionMode=Dp.IN_SELECT_IN_TABLE)}this.insertionMode=Dp.IN_SELECT}_isElementCausesFosterParenting(e){return Rp.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case yh.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===gh.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case yh.TABLE:{const n=this.treeAdapter.getParentNode(t);return n?{parent:n,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){const n=this.treeAdapter.getNamespaceURI(e);return Rh[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e);else switch(this.insertionMode){case Dp.INITIAL:Yp(this,e);break;case Dp.BEFORE_HTML:jp(this,e);break;case Dp.BEFORE_HEAD:zp(this,e);break;case Dp.IN_HEAD:$p(this,e);break;case Dp.IN_HEAD_NO_SCRIPT:Qp(this,e);break;case Dp.AFTER_HEAD:Wp(this,e);break;case Dp.IN_BODY:case Dp.IN_CAPTION:case Dp.IN_CELL:case Dp.IN_TEMPLATE:Zp(this,e);break;case Dp.TEXT:case Dp.IN_SELECT:case Dp.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case Dp.IN_TABLE:case Dp.IN_TABLE_BODY:case Dp.IN_ROW:lf(this,e);break;case Dp.IN_TABLE_TEXT:df(this,e);break;case Dp.IN_COLUMN_GROUP:Tf(this,e);break;case Dp.AFTER_BODY:If(this,e);break;case Dp.AFTER_AFTER_BODY:Of(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){t.chars=Ku,e._insertCharacters(t)}(this,e);else switch(this.insertionMode){case Dp.INITIAL:Yp(this,e);break;case Dp.BEFORE_HTML:jp(this,e);break;case Dp.BEFORE_HEAD:zp(this,e);break;case Dp.IN_HEAD:$p(this,e);break;case Dp.IN_HEAD_NO_SCRIPT:Qp(this,e);break;case Dp.AFTER_HEAD:Wp(this,e);break;case Dp.TEXT:this._insertCharacters(e);break;case Dp.IN_TABLE:case Dp.IN_TABLE_BODY:case Dp.IN_ROW:lf(this,e);break;case Dp.IN_COLUMN_GROUP:Tf(this,e);break;case Dp.AFTER_BODY:If(this,e);break;case Dp.AFTER_AFTER_BODY:Of(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML)Gp(this,e);else switch(this.insertionMode){case Dp.INITIAL:case Dp.BEFORE_HTML:case Dp.BEFORE_HEAD:case Dp.IN_HEAD:case Dp.IN_HEAD_NO_SCRIPT:case Dp.AFTER_HEAD:case Dp.IN_BODY:case Dp.IN_TABLE:case Dp.IN_CAPTION:case Dp.IN_COLUMN_GROUP:case Dp.IN_TABLE_BODY:case Dp.IN_ROW:case Dp.IN_CELL:case Dp.IN_SELECT:case Dp.IN_SELECT_IN_TABLE:case Dp.IN_TEMPLATE:case Dp.IN_FRAMESET:case Dp.AFTER_FRAMESET:Gp(this,e);break;case Dp.IN_TABLE_TEXT:mf(this,e);break;case Dp.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case Dp.AFTER_AFTER_BODY:case Dp.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case Dp.INITIAL:!function(e,t){e._setDocumentType(t);const n=t.forceQuirks?Ah.QUIRKS:function(e){if(e.name!==op)return Ah.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===cp)return Ah.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),hp.has(n))return Ah.QUIRKS;let e=null===t?up:lp;if(dp(n,e))return Ah.QUIRKS;if(e=null===t?pp:fp,dp(n,e))return Ah.LIMITED_QUIRKS}return Ah.NO_QUIRKS}(t);(function(e){return e.name===op&&null===e.publicId&&(null===e.systemId||e.systemId===ap)})(t)||e._err(t,sh.nonConformingDoctype);e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=Dp.BEFORE_HTML}(this,e);break;case Dp.BEFORE_HEAD:case Dp.IN_HEAD:case Dp.IN_HEAD_NO_SCRIPT:case Dp.AFTER_HEAD:this._err(e,sh.misplacedDoctype);break;case Dp.IN_TABLE_TEXT:mf(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,sh.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){const t=e.tagID;return t===yh.FONT&&e.attrs.some((({name:e})=>e===Th.COLOR||e===Th.SIZE||e===Th.FACE))||yp.has(t)}(t))Df(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===gh.MATHML?bp(t):r===gh.SVG&&(!function(e){const t=_p.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=Dh(e.tagName))}(t),kp(t)),Np(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case Dp.INITIAL:Yp(this,e);break;case Dp.BEFORE_HTML:!function(e,t){t.tagID===yh.HTML?(e._insertElement(t,gh.HTML),e.insertionMode=Dp.BEFORE_HEAD):jp(e,t)}(this,e);break;case Dp.BEFORE_HEAD:!function(e,t){switch(t.tagID){case yh.HTML:sf(e,t);break;case yh.HEAD:e._insertElement(t,gh.HTML),e.headElement=e.openElements.current,e.insertionMode=Dp.IN_HEAD;break;default:zp(e,t)}}(this,e);break;case Dp.IN_HEAD:Vp(this,e);break;case Dp.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case yh.HTML:sf(e,t);break;case yh.BASEFONT:case yh.BGSOUND:case yh.HEAD:case yh.LINK:case yh.META:case yh.NOFRAMES:case yh.STYLE:Vp(e,t);break;case yh.NOSCRIPT:e._err(t,sh.nestedNoscriptInHead);break;default:Qp(e,t)}}(this,e);break;case Dp.AFTER_HEAD:!function(e,t){switch(t.tagID){case yh.HTML:sf(e,t);break;case yh.BODY:e._insertElement(t,gh.HTML),e.framesetOk=!1,e.insertionMode=Dp.IN_BODY;break;case yh.FRAMESET:e._insertElement(t,gh.HTML),e.insertionMode=Dp.IN_FRAMESET;break;case yh.BASE:case yh.BASEFONT:case yh.BGSOUND:case yh.LINK:case yh.META:case yh.NOFRAMES:case yh.SCRIPT:case yh.STYLE:case yh.TEMPLATE:case yh.TITLE:e._err(t,sh.abandonedHeadElementChild),e.openElements.push(e.headElement,yh.HEAD),Vp(e,t),e.openElements.remove(e.headElement);break;case yh.HEAD:e._err(t,sh.misplacedStartTagForHeadElement);break;default:Wp(e,t)}}(this,e);break;case Dp.IN_BODY:sf(this,e);break;case Dp.IN_TABLE:uf(this,e);break;case Dp.IN_TABLE_TEXT:mf(this,e);break;case Dp.IN_CAPTION:!function(e,t){const n=t.tagID;Ef.has(n)?e.openElements.hasInTableScope(yh.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(yh.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Dp.IN_TABLE,uf(e,t)):sf(e,t)}(this,e);break;case Dp.IN_COLUMN_GROUP:gf(this,e);break;case Dp.IN_TABLE_BODY:Af(this,e);break;case Dp.IN_ROW:yf(this,e);break;case Dp.IN_CELL:!function(e,t){const n=t.tagID;Ef.has(n)?(e.openElements.hasInTableScope(yh.TD)||e.openElements.hasInTableScope(yh.TH))&&(e._closeTableCell(),yf(e,t)):sf(e,t)}(this,e);break;case Dp.IN_SELECT:kf(this,e);break;case Dp.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===yh.CAPTION||n===yh.TABLE||n===yh.TBODY||n===yh.TFOOT||n===yh.THEAD||n===yh.TR||n===yh.TD||n===yh.TH?(e.openElements.popUntilTagNamePopped(yh.SELECT),e._resetInsertionMode(),e._processStartTag(t)):kf(e,t)}(this,e);break;case Dp.IN_TEMPLATE:!function(e,t){switch(t.tagID){case yh.BASE:case yh.BASEFONT:case yh.BGSOUND:case yh.LINK:case yh.META:case yh.NOFRAMES:case yh.SCRIPT:case yh.STYLE:case yh.TEMPLATE:case yh.TITLE:Vp(e,t);break;case yh.CAPTION:case yh.COLGROUP:case yh.TBODY:case yh.TFOOT:case yh.THEAD:e.tmplInsertionModeStack[0]=Dp.IN_TABLE,e.insertionMode=Dp.IN_TABLE,uf(e,t);break;case yh.COL:e.tmplInsertionModeStack[0]=Dp.IN_COLUMN_GROUP,e.insertionMode=Dp.IN_COLUMN_GROUP,gf(e,t);break;case yh.TR:e.tmplInsertionModeStack[0]=Dp.IN_TABLE_BODY,e.insertionMode=Dp.IN_TABLE_BODY,Af(e,t);break;case yh.TD:case yh.TH:e.tmplInsertionModeStack[0]=Dp.IN_ROW,e.insertionMode=Dp.IN_ROW,yf(e,t);break;default:e.tmplInsertionModeStack[0]=Dp.IN_BODY,e.insertionMode=Dp.IN_BODY,sf(e,t)}}(this,e);break;case Dp.AFTER_BODY:!function(e,t){t.tagID===yh.HTML?sf(e,t):If(e,t)}(this,e);break;case Dp.IN_FRAMESET:!function(e,t){switch(t.tagID){case yh.HTML:sf(e,t);break;case yh.FRAMESET:e._insertElement(t,gh.HTML);break;case yh.FRAME:e._appendElement(t,gh.HTML),t.ackSelfClosing=!0;break;case yh.NOFRAMES:Vp(e,t)}}(this,e);break;case Dp.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case yh.HTML:sf(e,t);break;case yh.NOFRAMES:Vp(e,t)}}(this,e);break;case Dp.AFTER_AFTER_BODY:!function(e,t){t.tagID===yh.HTML?sf(e,t):Of(e,t)}(this,e);break;case Dp.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case yh.HTML:sf(e,t);break;case yh.NOFRAMES:Vp(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===yh.P||t.tagID===yh.BR)return Df(e),void e._endTagOutsideForeignContent(t);for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===gh.HTML){e._endTagOutsideForeignContent(t);break}const s=e.treeAdapter.getTagName(r);if(s.toLowerCase()===t.tagName){t.tagName=s,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case Dp.INITIAL:Yp(this,e);break;case Dp.BEFORE_HTML:!function(e,t){const n=t.tagID;n!==yh.HTML&&n!==yh.HEAD&&n!==yh.BODY&&n!==yh.BR||jp(e,t)}(this,e);break;case Dp.BEFORE_HEAD:!function(e,t){const n=t.tagID;n===yh.HEAD||n===yh.BODY||n===yh.HTML||n===yh.BR?zp(e,t):e._err(t,sh.endTagWithoutMatchingOpenElement)}(this,e);break;case Dp.IN_HEAD:!function(e,t){switch(t.tagID){case yh.HEAD:e.openElements.pop(),e.insertionMode=Dp.AFTER_HEAD;break;case yh.BODY:case yh.BR:case yh.HTML:$p(e,t);break;case yh.TEMPLATE:Kp(e,t);break;default:e._err(t,sh.endTagWithoutMatchingOpenElement)}}(this,e);break;case Dp.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case yh.NOSCRIPT:e.openElements.pop(),e.insertionMode=Dp.IN_HEAD;break;case yh.BR:Qp(e,t);break;default:e._err(t,sh.endTagWithoutMatchingOpenElement)}}(this,e);break;case Dp.AFTER_HEAD:!function(e,t){switch(t.tagID){case yh.BODY:case yh.HTML:case yh.BR:Wp(e,t);break;case yh.TEMPLATE:Kp(e,t);break;default:e._err(t,sh.endTagWithoutMatchingOpenElement)}}(this,e);break;case Dp.IN_BODY:af(this,e);break;case Dp.TEXT:!function(e,t){var n;t.tagID===yh.SCRIPT&&(null===(n=e.scriptHandler)||void 0===n||n.call(e,e.openElements.current));e.openElements.pop(),e.insertionMode=e.originalInsertionMode}(this,e);break;case Dp.IN_TABLE:hf(this,e);break;case Dp.IN_TABLE_TEXT:mf(this,e);break;case Dp.IN_CAPTION:!function(e,t){const n=t.tagID;switch(n){case yh.CAPTION:case yh.TABLE:e.openElements.hasInTableScope(yh.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(yh.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Dp.IN_TABLE,n===yh.TABLE&&hf(e,t));break;case yh.BODY:case yh.COL:case yh.COLGROUP:case yh.HTML:case yh.TBODY:case yh.TD:case yh.TFOOT:case yh.TH:case yh.THEAD:case yh.TR:break;default:af(e,t)}}(this,e);break;case Dp.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case yh.COLGROUP:e.openElements.currentTagId===yh.COLGROUP&&(e.openElements.pop(),e.insertionMode=Dp.IN_TABLE);break;case yh.TEMPLATE:Kp(e,t);break;case yh.COL:break;default:Tf(e,t)}}(this,e);break;case Dp.IN_TABLE_BODY:_f(this,e);break;case Dp.IN_ROW:bf(this,e);break;case Dp.IN_CELL:!function(e,t){const n=t.tagID;switch(n){case yh.TD:case yh.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Dp.IN_ROW);break;case yh.TABLE:case yh.TBODY:case yh.TFOOT:case yh.THEAD:case yh.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),bf(e,t));break;case yh.BODY:case yh.CAPTION:case yh.COL:case yh.COLGROUP:case yh.HTML:break;default:af(e,t)}}(this,e);break;case Dp.IN_SELECT:Nf(this,e);break;case Dp.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===yh.CAPTION||n===yh.TABLE||n===yh.TBODY||n===yh.TFOOT||n===yh.THEAD||n===yh.TR||n===yh.TD||n===yh.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(yh.SELECT),e._resetInsertionMode(),e.onEndTag(t)):Nf(e,t)}(this,e);break;case Dp.IN_TEMPLATE:!function(e,t){t.tagID===yh.TEMPLATE&&Kp(e,t)}(this,e);break;case Dp.AFTER_BODY:Cf(this,e);break;case Dp.IN_FRAMESET:!function(e,t){t.tagID!==yh.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagId===yh.FRAMESET||(e.insertionMode=Dp.AFTER_FRAMESET))}(this,e);break;case Dp.AFTER_FRAMESET:!function(e,t){t.tagID===yh.HTML&&(e.insertionMode=Dp.AFTER_AFTER_FRAMESET)}(this,e);break;case Dp.AFTER_AFTER_BODY:Of(this,e)}}onEof(e){switch(this.insertionMode){case Dp.INITIAL:Yp(this,e);break;case Dp.BEFORE_HTML:jp(this,e);break;case Dp.BEFORE_HEAD:zp(this,e);break;case Dp.IN_HEAD:$p(this,e);break;case Dp.IN_HEAD_NO_SCRIPT:Qp(this,e);break;case Dp.AFTER_HEAD:Wp(this,e);break;case Dp.IN_BODY:case Dp.IN_TABLE:case Dp.IN_CAPTION:case Dp.IN_COLUMN_GROUP:case Dp.IN_TABLE_BODY:case Dp.IN_ROW:case Dp.IN_CELL:case Dp.IN_SELECT:case Dp.IN_SELECT_IN_TABLE:cf(this,e);break;case Dp.TEXT:!function(e,t){e._err(t,sh.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}(this,e);break;case Dp.IN_TABLE_TEXT:mf(this,e);break;case Dp.IN_TEMPLATE:Sf(this,e);break;case Dp.AFTER_BODY:case Dp.IN_FRAMESET:case Dp.AFTER_FRAMESET:case Dp.AFTER_AFTER_BODY:case Dp.AFTER_AFTER_FRAMESET:qp(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===$u.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)this._insertCharacters(e);else switch(this.insertionMode){case Dp.IN_HEAD:case Dp.IN_HEAD_NO_SCRIPT:case Dp.AFTER_HEAD:case Dp.TEXT:case Dp.IN_COLUMN_GROUP:case Dp.IN_SELECT:case Dp.IN_SELECT_IN_TABLE:case Dp.IN_FRAMESET:case Dp.AFTER_FRAMESET:this._insertCharacters(e);break;case Dp.IN_BODY:case Dp.IN_CAPTION:case Dp.IN_CELL:case Dp.IN_TEMPLATE:case Dp.AFTER_BODY:case Dp.AFTER_AFTER_BODY:case Dp.AFTER_AFTER_FRAMESET:Jp(this,e);break;case Dp.IN_TABLE:case Dp.IN_TABLE_BODY:case Dp.IN_ROW:lf(this,e);break;case Dp.IN_TABLE_TEXT:ff(this,e)}}}function Mp(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):of(e,t),n}function Pp(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const s=e.openElements.items[r];if(s===t.element)break;e._isSpecialElement(s,e.openElements.tagIDs[r])&&(n=s)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}function xp(e,t,n){let r=t,s=e.openElements.getCommonAncestor(t);for(let i=0,o=s;o!==n;i++,o=s){s=e.openElements.getCommonAncestor(o);const n=e.activeFormattingElements.getElementEntry(o),a=n&&i>=Op;!n||a?(a&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=Bp(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function Bp(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function Fp(e,t,n){const r=Dh(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{const s=e.treeAdapter.getNamespaceURI(t);r===yh.TEMPLATE&&s===gh.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function Up(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:s}=n,i=e.treeAdapter.createElement(s.tagName,r,s.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,s),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,s.tagID)}function Hp(e,t){for(let n=0;n=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){const n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function Yp(e,t){e._err(t,sh.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Ah.QUIRKS),e.insertionMode=Dp.BEFORE_HTML,e._processToken(t)}function jp(e,t){e._insertFakeRootElement(),e.insertionMode=Dp.BEFORE_HEAD,e._processToken(t)}function zp(e,t){e._insertFakeElement(_h.HEAD,yh.HEAD),e.headElement=e.openElements.current,e.insertionMode=Dp.IN_HEAD,e._processToken(t)}function Vp(e,t){switch(t.tagID){case yh.HTML:sf(e,t);break;case yh.BASE:case yh.BASEFONT:case yh.BGSOUND:case yh.LINK:case yh.META:e._appendElement(t,gh.HTML),t.ackSelfClosing=!0;break;case yh.TITLE:e._switchToTextParsing(t,Ph.RCDATA);break;case yh.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,Ph.RAWTEXT):(e._insertElement(t,gh.HTML),e.insertionMode=Dp.IN_HEAD_NO_SCRIPT);break;case yh.NOFRAMES:case yh.STYLE:e._switchToTextParsing(t,Ph.RAWTEXT);break;case yh.SCRIPT:e._switchToTextParsing(t,Ph.SCRIPT_DATA);break;case yh.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=Dp.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(Dp.IN_TEMPLATE);break;case yh.HEAD:e._err(t,sh.misplacedStartTagForHeadElement);break;default:$p(e,t)}}function Kp(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==yh.TEMPLATE&&e._err(t,sh.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(yh.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,sh.endTagWithoutMatchingOpenElement)}function $p(e,t){e.openElements.pop(),e.insertionMode=Dp.AFTER_HEAD,e._processToken(t)}function Qp(e,t){const n=t.type===oh.EOF?sh.openElementsLeftAfterEof:sh.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=Dp.IN_HEAD,e._processToken(t)}function Wp(e,t){e._insertFakeElement(_h.BODY,yh.BODY),e.insertionMode=Dp.IN_BODY,Xp(e,t)}function Xp(e,t){switch(t.type){case oh.CHARACTER:Zp(e,t);break;case oh.WHITESPACE_CHARACTER:Jp(e,t);break;case oh.COMMENT:Gp(e,t);break;case oh.START_TAG:sf(e,t);break;case oh.END_TAG:af(e,t);break;case oh.EOF:cf(e,t)}}function Jp(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Zp(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function ef(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,gh.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tf(e){const t=ah(e,Th.TYPE);return null!=t&&t.toLowerCase()===Cp}function nf(e,t){e._switchToTextParsing(t,Ph.RAWTEXT)}function rf(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,gh.HTML)}function sf(e,t){switch(t.tagID){case yh.I:case yh.S:case yh.B:case yh.U:case yh.EM:case yh.TT:case yh.BIG:case yh.CODE:case yh.FONT:case yh.SMALL:case yh.STRIKE:case yh.STRONG:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,gh.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case yh.A:!function(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(_h.A);n&&(Hp(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,gh.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case yh.H1:case yh.H2:case yh.H3:case yh.H4:case yh.H5:case yh.H6:!function(e,t){e.openElements.hasInButtonScope(yh.P)&&e._closePElement(),vh(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,gh.HTML)}(e,t);break;case yh.P:case yh.DL:case yh.OL:case yh.UL:case yh.DIV:case yh.DIR:case yh.NAV:case yh.MAIN:case yh.MENU:case yh.ASIDE:case yh.CENTER:case yh.FIGURE:case yh.FOOTER:case yh.HEADER:case yh.HGROUP:case yh.DIALOG:case yh.DETAILS:case yh.ADDRESS:case yh.ARTICLE:case yh.SECTION:case yh.SUMMARY:case yh.FIELDSET:case yh.BLOCKQUOTE:case yh.FIGCAPTION:!function(e,t){e.openElements.hasInButtonScope(yh.P)&&e._closePElement(),e._insertElement(t,gh.HTML)}(e,t);break;case yh.LI:case yh.DD:case yh.DT:!function(e,t){e.framesetOk=!1;const n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){const r=e.openElements.tagIDs[t];if(n===yh.LI&&r===yh.LI||(n===yh.DD||n===yh.DT)&&(r===yh.DD||r===yh.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==yh.ADDRESS&&r!==yh.DIV&&r!==yh.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(yh.P)&&e._closePElement(),e._insertElement(t,gh.HTML)}(e,t);break;case yh.BR:case yh.IMG:case yh.WBR:case yh.AREA:case yh.EMBED:case yh.KEYGEN:ef(e,t);break;case yh.HR:!function(e,t){e.openElements.hasInButtonScope(yh.P)&&e._closePElement(),e._appendElement(t,gh.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t);break;case yh.RB:case yh.RTC:!function(e,t){e.openElements.hasInScope(yh.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,gh.HTML)}(e,t);break;case yh.RT:case yh.RP:!function(e,t){e.openElements.hasInScope(yh.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(yh.RTC),e._insertElement(t,gh.HTML)}(e,t);break;case yh.PRE:case yh.LISTING:!function(e,t){e.openElements.hasInButtonScope(yh.P)&&e._closePElement(),e._insertElement(t,gh.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}(e,t);break;case yh.XMP:!function(e,t){e.openElements.hasInButtonScope(yh.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Ph.RAWTEXT)}(e,t);break;case yh.SVG:!function(e,t){e._reconstructActiveFormattingElements(),kp(t),Np(t),t.selfClosing?e._appendElement(t,gh.SVG):e._insertElement(t,gh.SVG),t.ackSelfClosing=!0}(e,t);break;case yh.HTML:!function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t);break;case yh.BASE:case yh.LINK:case yh.META:case yh.STYLE:case yh.TITLE:case yh.SCRIPT:case yh.BGSOUND:case yh.BASEFONT:case yh.TEMPLATE:Vp(e,t);break;case yh.BODY:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case yh.FORM:!function(e,t){const n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(yh.P)&&e._closePElement(),e._insertElement(t,gh.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case yh.NOBR:!function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(yh.NOBR)&&(Hp(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,gh.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case yh.MATH:!function(e,t){e._reconstructActiveFormattingElements(),bp(t),Np(t),t.selfClosing?e._appendElement(t,gh.MATHML):e._insertElement(t,gh.MATHML),t.ackSelfClosing=!0}(e,t);break;case yh.TABLE:!function(e,t){e.treeAdapter.getDocumentMode(e.document)!==Ah.QUIRKS&&e.openElements.hasInButtonScope(yh.P)&&e._closePElement(),e._insertElement(t,gh.HTML),e.framesetOk=!1,e.insertionMode=Dp.IN_TABLE}(e,t);break;case yh.INPUT:!function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,gh.HTML),tf(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t);break;case yh.PARAM:case yh.TRACK:case yh.SOURCE:!function(e,t){e._appendElement(t,gh.HTML),t.ackSelfClosing=!0}(e,t);break;case yh.IMAGE:!function(e,t){t.tagName=_h.IMG,t.tagID=yh.IMG,ef(e,t)}(e,t);break;case yh.BUTTON:!function(e,t){e.openElements.hasInScope(yh.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(yh.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,gh.HTML),e.framesetOk=!1}(e,t);break;case yh.APPLET:case yh.OBJECT:case yh.MARQUEE:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,gh.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}(e,t);break;case yh.IFRAME:!function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Ph.RAWTEXT)}(e,t);break;case yh.SELECT:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,gh.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===Dp.IN_TABLE||e.insertionMode===Dp.IN_CAPTION||e.insertionMode===Dp.IN_TABLE_BODY||e.insertionMode===Dp.IN_ROW||e.insertionMode===Dp.IN_CELL?Dp.IN_SELECT_IN_TABLE:Dp.IN_SELECT}(e,t);break;case yh.OPTION:case yh.OPTGROUP:!function(e,t){e.openElements.currentTagId===yh.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,gh.HTML)}(e,t);break;case yh.NOEMBED:nf(e,t);break;case yh.FRAMESET:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,gh.HTML),e.insertionMode=Dp.IN_FRAMESET)}(e,t);break;case yh.TEXTAREA:!function(e,t){e._insertElement(t,gh.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Ph.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=Dp.TEXT}(e,t);break;case yh.NOSCRIPT:e.options.scriptingEnabled?nf(e,t):rf(e,t);break;case yh.PLAINTEXT:!function(e,t){e.openElements.hasInButtonScope(yh.P)&&e._closePElement(),e._insertElement(t,gh.HTML),e.tokenizer.state=Ph.PLAINTEXT}(e,t);break;case yh.COL:case yh.TH:case yh.TD:case yh.TR:case yh.HEAD:case yh.FRAME:case yh.TBODY:case yh.TFOOT:case yh.THEAD:case yh.CAPTION:case yh.COLGROUP:break;default:rf(e,t)}}function of(e,t){const n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){const s=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==yh.UNKNOWN||e.treeAdapter.getTagName(s)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(s,i))break}}function af(e,t){switch(t.tagID){case yh.A:case yh.B:case yh.I:case yh.S:case yh.U:case yh.EM:case yh.TT:case yh.BIG:case yh.CODE:case yh.FONT:case yh.NOBR:case yh.SMALL:case yh.STRIKE:case yh.STRONG:Hp(e,t);break;case yh.P:!function(e){e.openElements.hasInButtonScope(yh.P)||e._insertFakeElement(_h.P,yh.P),e._closePElement()}(e);break;case yh.DL:case yh.UL:case yh.OL:case yh.DIR:case yh.DIV:case yh.NAV:case yh.PRE:case yh.MAIN:case yh.MENU:case yh.ASIDE:case yh.BUTTON:case yh.CENTER:case yh.FIGURE:case yh.FOOTER:case yh.HEADER:case yh.HGROUP:case yh.DIALOG:case yh.ADDRESS:case yh.ARTICLE:case yh.DETAILS:case yh.SECTION:case yh.SUMMARY:case yh.LISTING:case yh.FIELDSET:case yh.BLOCKQUOTE:case yh.FIGCAPTION:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case yh.LI:!function(e){e.openElements.hasInListItemScope(yh.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(yh.LI),e.openElements.popUntilTagNamePopped(yh.LI))}(e);break;case yh.DD:case yh.DT:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case yh.H1:case yh.H2:case yh.H3:case yh.H4:case yh.H5:case yh.H6:!function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e);break;case yh.BR:!function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(_h.BR,yh.BR),e.openElements.pop(),e.framesetOk=!1}(e);break;case yh.BODY:!function(e,t){if(e.openElements.hasInScope(yh.BODY)&&(e.insertionMode=Dp.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case yh.HTML:!function(e,t){e.openElements.hasInScope(yh.BODY)&&(e.insertionMode=Dp.AFTER_BODY,Cf(e,t))}(e,t);break;case yh.FORM:!function(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(yh.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(yh.FORM):n&&e.openElements.remove(n))}(e);break;case yh.APPLET:case yh.OBJECT:case yh.MARQUEE:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case yh.TEMPLATE:Kp(e,t);break;default:of(e,t)}}function cf(e,t){e.tmplInsertionModeStack.length>0?Sf(e,t):qp(e,t)}function lf(e,t){if(Rp.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=Dp.IN_TABLE_TEXT,t.type){case oh.CHARACTER:df(e,t);break;case oh.WHITESPACE_CHARACTER:ff(e,t)}else pf(e,t)}function uf(e,t){switch(t.tagID){case yh.TD:case yh.TH:case yh.TR:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(_h.TBODY,yh.TBODY),e.insertionMode=Dp.IN_TABLE_BODY,Af(e,t)}(e,t);break;case yh.STYLE:case yh.SCRIPT:case yh.TEMPLATE:Vp(e,t);break;case yh.COL:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(_h.COLGROUP,yh.COLGROUP),e.insertionMode=Dp.IN_COLUMN_GROUP,gf(e,t)}(e,t);break;case yh.FORM:!function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,gh.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t);break;case yh.TABLE:!function(e,t){e.openElements.hasInTableScope(yh.TABLE)&&(e.openElements.popUntilTagNamePopped(yh.TABLE),e._resetInsertionMode(),e._processStartTag(t))}(e,t);break;case yh.TBODY:case yh.TFOOT:case yh.THEAD:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,gh.HTML),e.insertionMode=Dp.IN_TABLE_BODY}(e,t);break;case yh.INPUT:!function(e,t){tf(t)?e._appendElement(t,gh.HTML):pf(e,t),t.ackSelfClosing=!0}(e,t);break;case yh.CAPTION:!function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,gh.HTML),e.insertionMode=Dp.IN_CAPTION}(e,t);break;case yh.COLGROUP:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,gh.HTML),e.insertionMode=Dp.IN_COLUMN_GROUP}(e,t);break;default:pf(e,t)}}function hf(e,t){switch(t.tagID){case yh.TABLE:e.openElements.hasInTableScope(yh.TABLE)&&(e.openElements.popUntilTagNamePopped(yh.TABLE),e._resetInsertionMode());break;case yh.TEMPLATE:Kp(e,t);break;case yh.BODY:case yh.CAPTION:case yh.COL:case yh.COLGROUP:case yh.HTML:case yh.TBODY:case yh.TD:case yh.TFOOT:case yh.TH:case yh.THEAD:case yh.TR:break;default:pf(e,t)}}function pf(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Xp(e,t),e.fosterParentingEnabled=n}function ff(e,t){e.pendingCharacterTokens.push(t)}function df(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function mf(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===yh.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===yh.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===yh.OPTGROUP&&e.openElements.pop();break;case yh.OPTION:e.openElements.currentTagId===yh.OPTION&&e.openElements.pop();break;case yh.SELECT:e.openElements.hasInSelectScope(yh.SELECT)&&(e.openElements.popUntilTagNamePopped(yh.SELECT),e._resetInsertionMode());break;case yh.TEMPLATE:Kp(e,t)}}function Sf(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(yh.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):qp(e,t)}function Cf(e,t){var n;if(t.tagID===yh.HTML){if(e.fragmentContext||(e.insertionMode=Dp.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===yh.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)&&e._setEndLocation(r,t)}}else If(e,t)}function If(e,t){e.insertionMode=Dp.IN_BODY,Xp(e,t)}function Of(e,t){e.insertionMode=Dp.IN_BODY,Xp(e,t)}function Df(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==gh.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}new Set([_h.AREA,_h.BASE,_h.BASEFONT,_h.BGSOUND,_h.BR,_h.COL,_h.EMBED,_h.FRAME,_h.HR,_h.IMG,_h.INPUT,_h.KEYGEN,_h.LINK,_h.META,_h.PARAM,_h.SOURCE,_h.TRACK,_h.WBR]);const Lf=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Rf={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function vf(e,t){const n=function(e){const t="root"===e.type?e.children[0]:e;return Boolean(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName))}(e),r=ht("type",{handlers:{root:Mf,element:Pf,text:xf,comment:Uf,doctype:Bf,raw:Hf},unknown:Gf}),s={parser:n?new wp(Rf):wp.getFragmentParser(void 0,Rf),handle(e){r(e,s)},stitches:!1,options:t||{}};r(e,s),qf(s,tr());const i=function(e,t){const n=t||{};return Mu({file:n.file||void 0,location:!1,schema:"svg"===n.space?ps:hs,verbose:n.verbose||!1},e)}(n?s.parser.document:s.parser.getFragment(),{file:s.options.file});return s.stitches&&vt(i,"comment",(function(e,t,n){const r=e;if(r.value.stitch&&n&&void 0!==t){return n.children[t]=r.value.stitch,t}})),"root"===i.type&&1===i.children.length&&i.children[0].type===e.type?i.children[0]:i}function wf(e,t){let n=-1;if(e)for(;++ne=>{const t=e.children.find((e=>"yaml"===e.type));t&&(o=Tu.parse(t.value))})).use(Js).use(ko).use(Au,{allowDangerousHtml:!0}).use(r,s);n.addHeadingIds&&h.use(t),n.addTableOfContents&&h.use((()=>async e=>{const t=i(e,n.insertTocDirectly);t&&(c=await jn().use((()=>()=>t)).use(_u).process("").then((e=>e.toString())))})),n.calculateReadingTime&&(u=a(n.readingTimeOptions)(jn().parse(e))),n.renderEmbeds&&h.use(l).use(zf);const p=await h.use(_u).process(e),f=(d=p.toString(),m="markdown",d?`
${d}
`:"");var d,m;return{frontMatter:o,contentHtml:f,toc:c,readingTime:u}}export{t as addHeadingIds,i as addTableOfContents,a as calculateReadingTime,l as embed,Vf as processMarkdown,r as wrapElements}; diff --git a/package.json b/package.json index 7b22ff7..b1ad606 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "epic-remark", - "version": "0.1.13", + "version": "0.1.14", "description": "Epic Remark is an all-in-one markdown to HTML processor built on top of remark", "main": "dist/index.cjs.js", "module": "dist/index.esm.js", diff --git a/src/index-dark.js b/src/index-dark.js index 2ce3f74..686679d 100644 --- a/src/index-dark.js +++ b/src/index-dark.js @@ -3,5 +3,6 @@ import addHeadingIds from './plugins/addHeadingIds.js'; import wrapElements from './plugins/wrapElements.js'; import addTableOfContents from './plugins/addTableOfContents.js'; import calculateReadingTime from './plugins/calculateReadingTime.js'; +import embed from './plugins/embed.js' import processMarkdown from './processMarkdown.js'; -export { addHeadingIds, wrapElements, addTableOfContents, calculateReadingTime, processMarkdown }; +export { addHeadingIds, wrapElements, addTableOfContents, calculateReadingTime, embed, processMarkdown }; diff --git a/src/index-light.js b/src/index-light.js index 46ab9ac..18dc385 100644 --- a/src/index-light.js +++ b/src/index-light.js @@ -3,5 +3,6 @@ import addHeadingIds from './plugins/addHeadingIds.js'; import wrapElements from './plugins/wrapElements.js'; import addTableOfContents from './plugins/addTableOfContents.js'; import calculateReadingTime from './plugins/calculateReadingTime.js'; +import embed from './plugins/embed.js'; import processMarkdown from './processMarkdown.js'; -export { addHeadingIds, wrapElements, addTableOfContents, calculateReadingTime, processMarkdown }; +export { addHeadingIds, wrapElements, addTableOfContents, calculateReadingTime, embed, processMarkdown };