@techie_doubts/toastmark 0.0.1-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ !function(){"use strict";var e={444(e){var t={};function r(e,n,i){var s,a,o,l,u,c="";for("string"!=typeof n&&(i=n,n=r.defaultChars),void 0===i&&(i=!0),u=function(e){var r,n,i=t[e];if(i)return i;for(i=t[e]=[],r=0;r<128;r++)n=String.fromCharCode(r),/^[0-9a-z]$/i.test(n)?i.push(n):i.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2));for(r=0;r<e.length;r++)i[e.charCodeAt(r)]=e[r];return i}(n),s=0,a=e.length;s<a;s++)if(o=e.charCodeAt(s),i&&37===o&&s+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(s+1,s+3)))c+=e.slice(s,s+3),s+=2;else if(o<128)c+=u[o];else if(o>=55296&&o<=57343){if(o>=55296&&o<=56319&&s+1<a&&(l=e.charCodeAt(s+1))>=56320&&l<=57343){c+=encodeURIComponent(e[s]+e[s+1]),s++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[s]);return c}r.defaultChars=";/?:@&=+$,-_.!~*'()#",r.componentChars="-_.!~*'()",e.exports=r},878(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var i=n(r(374)),s=n(r(554)),a=n(r(178)),o=n(r(96)),l=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function u(e){var t=p(e);return function(e){return String(e).replace(l,t)}}t.decodeXML=u(a.default),t.decodeHTMLStrict=u(i.default);var c=function(e,t){return e<t?1:-1};function p(e){return function(t){if("#"===t.charAt(1)){var r=t.charAt(2);return"X"===r||"x"===r?o.default(parseInt(t.substr(3),16)):o.default(parseInt(t.substr(2),10))}return e[t.slice(1,-1)]||t}}t.decodeHTML=function(){for(var e=Object.keys(s.default).sort(c),t=Object.keys(i.default).sort(c),r=0,n=0;r<t.length;r++)e[n]===t[r]?(t[r]+=";?",n++):t[r]+=";";var a=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),o=p(i.default);function l(e){return";"!==e.substr(-1)&&(e+=";"),o(e)}return function(e){return String(e).replace(a,l)}}()},96(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(559)),s=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};t.default=function(e){return e>=55296&&e<=57343||e>1114111?"�":(e in i.default&&(e=i.default[e]),s(e))}},818(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var i=c(n(r(178)).default),s=p(i);t.encodeXML=m(i);var a,o,l=c(n(r(374)).default),u=p(l);function c(e){return Object.keys(e).sort().reduce(function(t,r){return t[e[r]]="&"+r+";",t},{})}function p(e){for(var t=[],r=[],n=0,i=Object.keys(e);n<i.length;n++){var s=i[n];1===s.length?t.push("\\"+s):r.push(s)}t.sort();for(var a=0;a<t.length-1;a++){for(var o=a;o<t.length-1&&t[o].charCodeAt(1)+1===t[o+1].charCodeAt(1);)o+=1;var l=1+o-a;l<3||t.splice(a,l,t[a]+"-"+t[o])}return r.unshift("["+t.join("")+"]"),new RegExp(r.join("|"),"g")}t.encodeHTML=(a=l,o=u,function(e){return e.replace(o,function(e){return a[e]}).replace(h,d)}),t.encodeNonAsciiHTML=m(l);var h=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,f=null!=String.prototype.codePointAt?function(e){return e.codePointAt(0)}:function(e){return 1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536};function d(e){return"&#x"+(e.length>1?f(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}var g=new RegExp(s.source+"|"+h.source,"g");function m(e){return function(t){return t.replace(g,function(t){return e[t]||d(t)})}}t.escape=function(e){return e.replace(g,d)},t.escapeUTF8=function(e){return e.replace(s,d)}},730(e,t,r){t.Gz=void 0;var n=r(878),i=r(818);var s=r(818);var a=r(878);Object.defineProperty(t,"Gz",{enumerable:!0,get:function(){return a.decodeHTML}})},559(e){e.exports=JSON.parse('{"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}')},374(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","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":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","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":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},554(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},178(e){e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var s=t[n]={exports:{}};return e[n].call(s.exports,s,s.exports,r),s.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};r.r(n),r.d(n,{Parser:function(){return wt},Renderer:function(){return Pt},ToastMark:function(){return Bt}});var i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},i(e,t)};function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var a=function(){return a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},a.apply(this,arguments)};Object.create;function o(e,t,r){if(r||2===arguments.length)for(var n,i=0,s=t.length;i<s;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError;var l=r(444),u=r.n(l),c=r(730),p="&(?:#x[a-f0-9]{1,6}|#[0-9]{1,7}|[a-z][a-z0-9]{1,31});",h=/[\\&]/,f="[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^_`{|}~-]",d=new RegExp("\\\\"+f+"|"+p,"gi"),g=new RegExp('[&<>"]',"g"),m=function(e){return 92===e.charCodeAt(0)?e.charAt(1):(0,c.Gz)(e)};function v(e){return h.test(e)?e.replace(d,m):e}function b(e){if(e.startsWith("#"))return e;try{return u()(e)}catch(t){return e}}function y(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";default:return e}}function C(e){return g.test(e)?e.replace(g,y):e}function x(e,t){for(var r=[],n=0;n<t;n++)r.push(e);return r.join("")}function k(e){return!e||!/[^ \t]+/.test(e)}var w=function(){function e(e){this.current=e,this.root=e,this.entering=!0}return e.prototype.next=function(){var e=this.current,t=this.entering;if(null===e)return null;var r=D(e);return t&&r?e.firstChild?(this.current=e.firstChild,this.entering=!0):this.entering=!1:e===this.root?this.current=null:null===e.next?(this.current=e.parent,this.entering=!1):(this.current=e.next,this.entering=!0),{entering:t,node:e}},e.prototype.resumeAt=function(e,t){this.current=e,this.entering=!0===t},e}();function D(e){switch(e.type){case"document":case"blockQuote":case"list":case"item":case"paragraph":case"heading":case"emph":case"strong":case"strike":case"mark":case"superscript":case"subscript":case"underline":case"link":case"image":case"table":case"tableHead":case"tableBody":case"tableRow":case"tableCell":case"tableDelimRow":case"customInline":return!0;default:return!1}}var L=1,N={};function A(e){delete N[e]}var E=function(){function e(e,t){this.parent=null,this.prev=null,this.next=null,this.firstChild=null,this.lastChild=null,this.literal=null,this.id="document"===e?-1:L++,this.type=e,this.sourcepos=t,N[this.id]=this}return e.prototype.isContainer=function(){return D(this)},e.prototype.unlink=function(){this.prev?this.prev.next=this.next:this.parent&&(this.parent.firstChild=this.next),this.next?this.next.prev=this.prev:this.parent&&(this.parent.lastChild=this.prev),this.parent=null,this.next=null,this.prev=null},e.prototype.replaceWith=function(e){this.insertBefore(e),this.unlink()},e.prototype.insertAfter=function(e){e.unlink(),e.next=this.next,e.next&&(e.next.prev=e),e.prev=this,this.next=e,this.parent&&(e.parent=this.parent,e.next||(e.parent.lastChild=e))},e.prototype.insertBefore=function(e){e.unlink(),e.prev=this.prev,e.prev&&(e.prev.next=e),e.next=this,this.prev=e,e.parent=this.parent,e.prev||(e.parent.firstChild=e)},e.prototype.appendChild=function(e){e.unlink(),e.parent=this,this.lastChild?(this.lastChild.next=e,e.prev=this.lastChild,this.lastChild=e):(this.firstChild=e,this.lastChild=e)},e.prototype.prependChild=function(e){e.unlink(),e.parent=this,this.firstChild?(this.firstChild.prev=e,e.next=this.firstChild,this.firstChild=e):(this.firstChild=e,this.lastChild=e)},e.prototype.walker=function(){return new w(this)},e}(),T=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.open=!0,n.lineOffsets=null,n.stringContent=null,n.lastLineBlank=!1,n.lastLineChecked=!1,n.type=t,n}return s(t,e),t}(E),q=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.listData=null,t}return s(t,e),t}(T),F=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.level=0,t.headingType="atx",t}return s(t,e),t}(T),S=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isFenced=!1,t.fenceChar=null,t.fenceLength=0,t.fenceOffset=-1,t.info=null,t.infoPadding=0,t}return s(t,e),t}(T),B=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.columns=[],t}return s(t,e),t}(T),O=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.startIdx=0,t.endIdx=0,t.paddingLeft=0,t.paddingRight=0,t.ignored=!1,t}return s(t,e),t}(T),R=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.title="",t.dest="",t.label="",t}return s(t,e),t}(T),M=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.syntaxLength=0,t.offset=-1,t.info="",t}return s(t,e),t}(T),I=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.htmlBlockType=-1,t}return s(t,e),t}(T),j=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.destination=null,t.title=null,t.extendedAutolink=!1,t}return s(t,e),t}(E),U=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.tickCount=0,t}return s(t,e),t}(E),P=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.info="",t}return s(t,e),t}(E);function z(e,t){switch(e){case"heading":return new F(e,t);case"list":case"item":return new q(e,t);case"link":case"image":return new j(e,t);case"codeBlock":return new S(e,t);case"htmlBlock":return new I(e,t);case"table":return new B(e,t);case"tableCell":return new O(e,t);case"document":case"paragraph":case"blockQuote":case"thematicBreak":case"tableRow":case"tableBody":case"tableHead":case"frontMatter":return new T(e,t);case"code":return new U(e,t);case"refDef":return new R(e,t);case"customBlock":return new M(e,t);case"customInline":return new P(e,t);default:return new E(e,t)}}function G(e){return"codeBlock"===e.type}function H(e){return"list"===e.type}function V(e){return"refDef"===e.type}function _(e){return"customBlock"===e.type}function $(e,t){var r=z("text",t);return r.literal=e,r}var Z,Q="[A-Za-z][A-Za-z0-9-]*",J="<"+Q+"(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*/?>",W="</"+Q+"\\s*[>]",X=new RegExp("^"+("(?:"+J+"|"+W+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|[<][?].*?[?][>]|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),"i");if(String.fromCodePoint)Z=function(e){try{return String.fromCodePoint(e)}catch(e){if(e instanceof RangeError)return String.fromCharCode(65533);throw e}};else{var Y=String.fromCharCode,K=Math.floor;Z=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r,n,i=[],s=-1,a=e.length;if(!a)return"";for(var o="";++s<a;){var l=Number(e[s]);if(!isFinite(l)||l<0||l>1114111||K(l)!==l)return String.fromCharCode(65533);l<=65535?i.push(l):(r=55296+((l-=65536)>>10),n=l%1024+56320,i.push(r,n)),(s+1===a||i.length>16384)&&(o+=Y.apply(void 0,i),i.length=0)}return o}}var ee=Z;function te(e){var t=/\)+$/.exec(e);if(t){for(var r=0,n=0,i=e;n<i.length;n++){var s=i[n];"("===s?r<0?r=1:r+=1:")"===s&&(r-=1)}if(r<0){var a=Math.min(-r,t[0].length);return e.substring(0,e.length-a)}}return e}function re(e){return e.replace(/&[A-Za-z0-9]+;$/,"")}function ne(e){return o(o([],function(e){for(var t,r=new RegExp("(www|https?://).(?:[w-]+.)*[A-Za-z0-9-]+.[A-Za-z0-9-]+[^<\\s]*[^<?!.,:*_?~\\s]","g"),n=[];t=r.exec(e);){var i=re(te(t[0])),s="www"===t[1]?"http://":"";n.push({text:i,range:[t.index,t.index+i.length-1],url:""+s+i})}return n}(e)),function(e){for(var t,r=new RegExp("[\\w.+-]+@(?:[\\w-]+\\.)+[\\w-]+","g"),n=[];t=r.exec(e);){var i=t[0];/[_-]+$/.test(i)||n.push({text:i,range:[t.index,t.index+i.length-1],url:"mailto:"+i})}return n}(e)).sort(function(e,t){return e.range[0]-t.range[0]})}function ie(e){return e[e.length-1]}function se(e){return e.slice(1,e.length-1).trim().replace(/[ \t\r\n]+/," ").toLowerCase().toUpperCase()}function ae(e,t){Object.keys(e).forEach(function(r){t(r,e[r])})}function oe(e){return!Object.keys(e).length}var le=126,ue=39,ce=34,pe=36,he="\\\\"+f,fe=new RegExp(/[!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/),de=new RegExp('^(?:"('+he+'|[^"\\x00])*"|\'('+he+"|[^'\\x00])*'|\\(("+he+"|[^()\\x00])*\\))"),ge=/^(?:<(?:[^<>\n\\\x00]|\\.)*>)/,me=new RegExp("^"+f),ve=new RegExp("^"+p,"i"),be=/`+/,ye=/^`+/,Ce=/\.\.\./g,xe=/--+/g,ke=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,we=/^<[A-Za-z][A-Za-z0-9.+-]{1,31}:[^<>\x00-\x20]*>/i,De=/^ *(?:\n *)?/,Le=/^[ \t\n\x0b\x0c\x0d]/,Ne=/^\s/,Ae=/ *$/,Ee=/^ */,Te=/^ *(?:\n|$)/,qe=/^\[(?:[^\\\[\]]|\\.){0,1000}\]/,Fe=/^[^\n`\[\]\\!<&*_'"~$=+^]+/m,Se=function(){function e(e){this.subject="",this.delimiters=null,this.brackets=null,this.pos=0,this.lineStartNum=0,this.lineIdx=0,this.lineOffsets=[0],this.linePosOffset=0,this.refMap={},this.refLinkCandidateMap={},this.refDefCandidateMap={},this.options=e}return e.prototype.sourcepos=function(e,t){var r=this.linePosOffset+this.lineOffsets[this.lineIdx],n=this.lineStartNum+this.lineIdx,i=[n,e+r];return"number"==typeof t?[i,[n,t+r]]:i},e.prototype.nextLine=function(){this.lineIdx+=1,this.linePosOffset=-this.pos},e.prototype.match=function(e){var t=e.exec(this.subject.slice(this.pos));return null===t?null:(this.pos+=t.index+t[0].length,t[0])},e.prototype.peek=function(){return this.pos<this.subject.length?this.subject.charCodeAt(this.pos):-1},e.prototype.spnl=function(){return this.match(De),!0},e.prototype.parseBackticks=function(e){var t=this.pos+1,r=this.match(ye);if(null===r)return!1;for(var n,i=this.pos;null!==(n=this.match(be));)if(n===r){var s=this.subject.slice(i,this.pos-r.length),a=this.sourcepos(t,this.pos),o=s.split("\n");if(o.length>1){var l=ie(o);this.lineIdx+=o.length-1,this.linePosOffset=-(this.pos-l.length-r.length),a[1]=this.sourcepos(this.pos),s=o.join(" ")}var u=z("code",a);return s.length>0&&null!==s.match(/[^ ]/)&&" "==s[0]&&" "==s[s.length-1]?u.literal=s.slice(1,s.length-1):u.literal=s,u.tickCount=r.length,e.appendChild(u),!0}return this.pos=i,e.appendChild($(r,this.sourcepos(t,this.pos-1))),!0},e.prototype.parseBackslash=function(e){var t,r=this.subject;this.pos+=1;var n=this.pos;return 10===this.peek()?(this.pos+=1,t=z("linebreak",this.sourcepos(this.pos-1,this.pos)),e.appendChild(t),this.nextLine()):me.test(r.charAt(this.pos))?(e.appendChild($(r.charAt(this.pos),this.sourcepos(n,this.pos))),this.pos+=1):e.appendChild($("\\",this.sourcepos(n,n))),!0},e.prototype.parseAutolink=function(e){var t,r,n,i=this.pos+1;return(t=this.match(ke))?(r=t.slice(1,t.length-1),(n=z("link",this.sourcepos(i,this.pos))).destination=b("mailto:"+r),n.title="",n.appendChild($(r,this.sourcepos(i+1,this.pos-1))),e.appendChild(n),!0):!!(t=this.match(we))&&(r=t.slice(1,t.length-1),(n=z("link",this.sourcepos(i,this.pos))).destination=b(r),n.title="",n.appendChild($(r,this.sourcepos(i+1,this.pos-1))),e.appendChild(n),!0)},e.prototype.parseHtmlTag=function(e){var t=this.pos+1,r=this.match(X);if(null===r)return!1;var n=z("htmlInline",this.sourcepos(t,this.pos));return n.literal=r,e.appendChild(n),!0},e.prototype.parseMarkInline=function(t){if("=="!==this.subject.slice(this.pos,this.pos+2))return!1;var r=this.subject.indexOf("==",this.pos+2);if(-1===r)return!1;var n=this.subject.slice(this.pos+2,r);if(!n||n.includes("\n"))return!1;var i=this.pos+1,s=i+(r-this.pos)+2-1,a=z("mark",this.sourcepos(i,s)),o=i+2,l=o+n.length-1,u=z("paragraph",this.sourcepos(o,l));u.stringContent=n,u.lineOffsets=[0];var c=new e(this.options);for(c.refMap=this.refMap,c.refLinkCandidateMap=this.refLinkCandidateMap,c.refDefCandidateMap=this.refDefCandidateMap,c.subject=n,c.pos=0,c.delimiters=null,c.brackets=null,c.lineOffsets=[0],c.lineIdx=0,c.linePosOffset=this.linePosOffset+this.lineOffsets[this.lineIdx]+o-1,c.lineStartNum=this.lineStartNum+this.lineIdx;c.parseInline(u););c.processEmphasis(null),c.mergeTextNodes(u.walker());for(var p=u.firstChild;p;){var h=p.next;p.unlink(),a.appendChild(p),p=h}return t.appendChild(a),this.pos=r+2,!0},e.prototype.isInlineDollarAt=function(e){if("$"!==this.subject[e])return!1;for(var t=0,r=e-1;r>=0&&"\\"===this.subject[r];r-=1)t+=1;return t%2!=1&&("$"!==this.subject[e-1]&&"$"!==this.subject[e+1])},e.prototype.isInsideDollarInline=function(){for(var e=this.delimiters;e;){if(e.cc===pe&&e.canOpen&&1===e.numdelims)return!0;e=e.previous}for(var t=-1,r=this.pos-1;r>=0;r-=1){if("\n"===this.subject[r])break;if(this.isInlineDollarAt(r)){t=r;break}}if(-1===t)return!1;for(r=this.pos;r<this.subject.length;r+=1){if("\n"===this.subject[r])break;if(this.isInlineDollarAt(r))return!0}return!1},e.prototype.parseSuperscriptInline=function(t){if(this.isInsideDollarInline())return!1;if("^"!==this.subject.slice(this.pos,this.pos+1))return!1;if("^"===this.subject.slice(this.pos+1,this.pos+2))return!1;var r=this.subject.indexOf("^",this.pos+1);if(-1===r)return!1;var n=this.subject.slice(this.pos+1,r);if(!n||n.includes("\n"))return!1;var i=this.pos+1,s=i+(r-this.pos)+1-1,a=z("superscript",this.sourcepos(i,s)),o=i+1,l=o+n.length-1,u=z("paragraph",this.sourcepos(o,l));u.stringContent=n,u.lineOffsets=[0];var c=new e(this.options);for(c.refMap=this.refMap,c.refLinkCandidateMap=this.refLinkCandidateMap,c.refDefCandidateMap=this.refDefCandidateMap,c.subject=n,c.pos=0,c.delimiters=null,c.brackets=null,c.lineOffsets=[0],c.lineIdx=0,c.linePosOffset=this.linePosOffset+this.lineOffsets[this.lineIdx]+o-1,c.lineStartNum=this.lineStartNum+this.lineIdx;c.parseInline(u););c.processEmphasis(null),c.mergeTextNodes(u.walker());for(var p=u.firstChild;p;){var h=p.next;p.unlink(),a.appendChild(p),p=h}return t.appendChild(a),this.pos=r+1,!0},e.prototype.parseSubscriptInline=function(t){if(this.isInsideDollarInline())return!1;if("~"!==this.subject.slice(this.pos,this.pos+1))return!1;if("~"===this.subject.slice(this.pos+1,this.pos+2))return!1;var r=this.subject.indexOf("~",this.pos+1);if(-1===r)return!1;var n=this.subject.slice(this.pos+1,r);if(!n||n.includes("\n"))return!1;var i=this.pos+1,s=i+(r-this.pos)+1-1,a=z("subscript",this.sourcepos(i,s)),o=i+1,l=o+n.length-1,u=z("paragraph",this.sourcepos(o,l));u.stringContent=n,u.lineOffsets=[0];var c=new e(this.options);for(c.refMap=this.refMap,c.refLinkCandidateMap=this.refLinkCandidateMap,c.refDefCandidateMap=this.refDefCandidateMap,c.subject=n,c.pos=0,c.delimiters=null,c.brackets=null,c.lineOffsets=[0],c.lineIdx=0,c.linePosOffset=this.linePosOffset+this.lineOffsets[this.lineIdx]+o-1,c.lineStartNum=this.lineStartNum+this.lineIdx;c.parseInline(u););c.processEmphasis(null),c.mergeTextNodes(u.walker());for(var p=u.firstChild;p;){var h=p.next;p.unlink(),a.appendChild(p),p=h}return t.appendChild(a),this.pos=r+1,!0},e.prototype.parseUnderlineInline=function(t){if(this.isInsideDollarInline())return!1;if("++"!==this.subject.slice(this.pos,this.pos+2))return!1;var r=this.subject.indexOf("++",this.pos+2);if(-1===r)return!1;var n=this.subject.slice(this.pos+2,r);if(!n||n.includes("\n"))return!1;var i=this.pos+1,s=i+(r-this.pos)+2-1,a=z("underline",this.sourcepos(i,s)),o=i+2,l=o+n.length-1,u=z("paragraph",this.sourcepos(o,l));u.stringContent=n,u.lineOffsets=[0];var c=new e(this.options);for(c.refMap=this.refMap,c.refLinkCandidateMap=this.refLinkCandidateMap,c.refDefCandidateMap=this.refDefCandidateMap,c.subject=n,c.pos=0,c.delimiters=null,c.brackets=null,c.lineOffsets=[0],c.lineIdx=0,c.linePosOffset=this.linePosOffset+this.lineOffsets[this.lineIdx]+o-1,c.lineStartNum=this.lineStartNum+this.lineIdx;c.parseInline(u););c.processEmphasis(null),c.mergeTextNodes(u.walker());for(var p=u.firstChild;p;){var h=p.next;p.unlink(),a.appendChild(p),p=h}return t.appendChild(a),this.pos=r+2,!0},e.prototype.scanDelims=function(e){var t=0,r=this.pos;if(e===ue||e===ce)t++,this.pos++;else for(;this.peek()===e;)t++,this.pos++;if(0===t||t<2&&(e===le||e===pe))return this.pos=r,null;var n,i=0===r?"\n":this.subject.charAt(r-1),s=this.peek();n=-1===s?"\n":ee(s);var a,o,l=Ne.test(n),u=fe.test(n),c=Ne.test(i),p=fe.test(i),h=!l&&(!u||c||p),f=!c&&(!p||l||u);return 95===e?(a=h&&(!f||p),o=f&&(!h||u)):e===ue||e===ce?(a=h&&!f,o=f):e===pe?(a=!l,o=!c):(a=h,o=f),this.pos=r,{numdelims:t,canOpen:a,canClose:o}},e.prototype.handleDelim=function(e,t){var r=this.scanDelims(e);if(!r)return!1;var n=r.numdelims,i=this.pos+1;this.pos+=n;var s=$(e===ue?"’":e===ce?"“":this.subject.slice(i-1,this.pos),this.sourcepos(i,this.pos));return t.appendChild(s),(r.canOpen||r.canClose)&&(this.options.smart||e!==ue&&e!==ce)&&(this.delimiters={cc:e,numdelims:n,origdelims:n,node:s,previous:this.delimiters,next:null,canOpen:r.canOpen,canClose:r.canClose},this.delimiters.previous&&(this.delimiters.previous.next=this.delimiters)),!0},e.prototype.removeDelimiter=function(e){null!==e.previous&&(e.previous.next=e.next),null===e.next?this.delimiters=e.previous:e.next.previous=e.previous},e.prototype.removeDelimitersBetween=function(e,t){e.next!==t&&(e.next=t,t.previous=e)},e.prototype.processEmphasis=function(e){var t,r,n,i,s,a,o,l=!1,u=((t={})[95]=[e,e,e],t[42]=[e,e,e],t[39]=[e],t[34]=[e],t[126]=[e],t[36]=[e],t);for(n=this.delimiters;null!==n&&n.previous!==e;)n=n.previous;for(;null!==n;){var c=n.cc,p=95===c||42===c;if(n.canClose){for(r=n.previous,o=!1;null!==r&&r!==e&&r!==u[c][p?n.origdelims%3:0];){if(l=p&&(n.canOpen||r.canClose)&&n.origdelims%3!=0&&(r.origdelims+n.origdelims)%3==0,r.cc===n.cc&&r.canOpen&&!l){o=!0;break}r=r.previous}if(i=n,p||c===le||c===pe)if(o){if(r){var h=n.numdelims>=2&&r.numdelims>=2?2:1,f=p?0:1;s=r.node,a=n.node;var d=p?1===h?"emph":"strong":"strike";c===pe&&(d="customInline");var g=z(d),m=s.sourcepos[1],v=a.sourcepos[0];g.sourcepos=[[m[0],m[1]-h+1],[v[0],v[1]+h-1]],s.sourcepos[1][1]-=h,a.sourcepos[0][1]+=h,s.literal=s.literal.slice(h),a.literal=a.literal.slice(h),r.numdelims-=h,n.numdelims-=h;for(var b=s.next,y=void 0;b&&b!==a;)y=b.next,b.unlink(),g.appendChild(b),b=y;if(c===pe){var C=g.firstChild,x=C.literal||"",k=x.split(/\s/)[0];if(g.info=k,x.length<=k.length)C.unlink();else{var w=x.startsWith(k+" ")?k.length+1:k.length;C.sourcepos[0][1]+=k.length,C.literal=x.slice(w),C.literal.length||C.unlink()}}if(s.insertAfter(g),this.removeDelimitersBetween(r,n),r.numdelims<=f&&(0===r.numdelims&&s.unlink(),this.removeDelimiter(r)),n.numdelims<=f){0===n.numdelims&&a.unlink();var D=n.next;this.removeDelimiter(n),n=D}}}else n=n.next;else c===ue?(n.node.literal="’",o&&(r.node.literal="‘"),n=n.next):c===ce&&(n.node.literal="”",o&&(r.node.literal="“"),n=n.next);o||(u[c][p?i.origdelims%3:0]=i.previous,i.canOpen||this.removeDelimiter(i))}else n=n.next}for(;null!==this.delimiters&&this.delimiters!==e;)this.removeDelimiter(this.delimiters)},e.prototype.parseLinkTitle=function(){var e=this.match(de);return null===e?null:v(e.substr(1,e.length-2))},e.prototype.parseLinkDestination=function(){var e=this.match(ge);if(null===e){if(60===this.peek())return null;for(var t=this.pos,r="#"===this.subject.charAt(t),n=0,i=void 0;-1!==(i=this.peek());)if(92===i&&me.test(this.subject.charAt(this.pos+1)))this.pos+=1,-1!==this.peek()&&(this.pos+=1);else if(40===i)this.pos+=1,n+=1;else if(41===i){if(n<1)break;this.pos+=1,n-=1}else if(null!==Le.exec(ee(i))){if(!r)break;this.pos+=1}else this.pos+=1;return this.pos===t&&41!==i||0!==n?null:b(v(e=this.subject.substr(t,this.pos-t)))}return b(v(e.substr(1,e.length-2)))},e.prototype.parseLinkLabel=function(){var e=this.match(qe);return null===e||e.length>1001?0:e.length},e.prototype.parseOpenBracket=function(e){var t=this.pos;this.pos+=1;var r=$("[",this.sourcepos(this.pos,this.pos));return e.appendChild(r),this.addBracket(r,t,!1),!0},e.prototype.parseBang=function(e){var t=this.pos;if(this.pos+=1,91===this.peek()){this.pos+=1;var r=$("![",this.sourcepos(this.pos-1,this.pos));e.appendChild(r),this.addBracket(r,t+1,!0)}else{r=$("!",this.sourcepos(this.pos,this.pos));e.appendChild(r)}return!0},e.prototype.parseCloseBracket=function(e){var t=null,r=null,n=!1;this.pos+=1;var i=this.pos,s=this.brackets;if(null===s)return e.appendChild($("]",this.sourcepos(i,i))),!0;if(!s.active)return e.appendChild($("]",this.sourcepos(i,i))),this.removeBracket(),!0;var a=s.image,o=this.pos;40===this.peek()&&(this.pos++,this.spnl()&&null!==(t=this.parseLinkDestination())&&this.spnl()&&(Le.test(this.subject.charAt(this.pos-1))&&(r=this.parseLinkTitle()),1)&&this.spnl()&&41===this.peek()?(this.pos+=1,n=!0):this.pos=o);var l="";if(!n){var u=this.pos,c=this.parseLinkLabel();if(c>2?l=this.subject.slice(u,u+c):s.bracketAfter||(l=this.subject.slice(s.index,i)),0===c&&(this.pos=o),l){l=se(l);var p=this.refMap[l];p&&(t=p.destination,r=p.title,n=!0)}}if(n){var h=z(a?"image":"link");h.destination=t,h.title=r||"",h.sourcepos=[s.startpos,this.sourcepos(this.pos)];for(var f=s.node.next,d=void 0;f;)d=f.next,f.unlink(),h.appendChild(f),f=d;if(e.appendChild(h),this.processEmphasis(s.previousDelimiter),this.removeBracket(),s.node.unlink(),!a)for(s=this.brackets;null!==s;)s.image||(s.active=!1),s=s.previous;return this.options.referenceDefinition&&(this.refLinkCandidateMap[e.id]={node:e,refLabel:l}),!0}return this.removeBracket(),this.pos=i,e.appendChild($("]",this.sourcepos(i,i))),this.options.referenceDefinition&&(this.refLinkCandidateMap[e.id]={node:e,refLabel:l}),!0},e.prototype.addBracket=function(e,t,r){null!==this.brackets&&(this.brackets.bracketAfter=!0),this.brackets={node:e,startpos:this.sourcepos(t+(r?0:1)),previous:this.brackets,previousDelimiter:this.delimiters,index:t,image:r,active:!0}},e.prototype.removeBracket=function(){this.brackets&&(this.brackets=this.brackets.previous)},e.prototype.parseEntity=function(e){var t,r=this.pos+1;return!!(t=this.match(ve))&&(e.appendChild($((0,c.Gz)(t),this.sourcepos(r,this.pos))),!0)},e.prototype.parseString=function(e){var t,r=this.pos+1;if(t=this.match(Fe)){if(this.options.smart){var n=t.replace(Ce,"…").replace(xe,function(e){var t=0,r=0;return e.length%3==0?r=e.length/3:e.length%2==0?t=e.length/2:e.length%3==2?(t=1,r=(e.length-2)/3):(t=2,r=(e.length-4)/3),x("—",r)+x("–",t)});e.appendChild($(n,this.sourcepos(r,this.pos)))}else{var i=$(t,this.sourcepos(r,this.pos));e.appendChild(i)}return!0}return!1},e.prototype.parseNewline=function(e){this.pos+=1;var t=e.lastChild;if(t&&"text"===t.type&&" "===t.literal[t.literal.length-1]){var r=" "===t.literal[t.literal.length-2],n=t.literal.length;t.literal=t.literal.replace(Ae,"");var i=n-t.literal.length;t.sourcepos[1][1]-=i,e.appendChild(z(r?"linebreak":"softbreak",this.sourcepos(this.pos-i,this.pos)))}else e.appendChild(z("softbreak",this.sourcepos(this.pos,this.pos)));return this.nextLine(),this.match(Ee),!0},e.prototype.parseReference=function(e,t){if(!this.options.referenceDefinition)return 0;this.subject=e.stringContent,this.pos=0;var r=null,n=this.pos,i=this.parseLinkLabel();if(0===i)return 0;var s=this.subject.substr(0,i);if(58!==this.peek())return this.pos=n,0;this.pos++,this.spnl();var a=this.parseLinkDestination();if(null===a)return this.pos=n,0;var o=this.pos;this.spnl(),this.pos!==o&&(r=this.parseLinkTitle()),null===r&&(r="",this.pos=o);var l=!0;if(null===this.match(Te)&&(""===r?l=!1:(r="",this.pos=o,l=null!==this.match(Te))),!l)return this.pos=n,0;var u=se(s);if(""===u)return this.pos=n,0;var c=this.getReferenceDefSourcepos(e);e.sourcepos[0][0]=c[1][0]+1;var p=z("refDef",c);return p.title=r,p.dest=a,p.label=u,e.insertBefore(p),t[u]?this.refDefCandidateMap[p.id]=p:t[u]=St(p),this.pos-n},e.prototype.mergeTextNodes=function(e){for(var t,r=[];t=e.next();){var n=t.entering,i=t.node;if(n&&"text"===i.type)r.push(i);else if(1===r.length)r=[];else if(r.length>1){var s=r[0],a=r[r.length-1];s.sourcepos&&a.sourcepos&&(s.sourcepos[1]=a.sourcepos[1]),s.next=a.next,s.next&&(s.next.prev=s);for(var o=1;o<r.length;o+=1)s.literal+=r[o].literal,r[o].unlink();r=[]}}},e.prototype.getReferenceDefSourcepos=function(e){for(var t=e.stringContent.split(/\n|\r\n/),r=!1,n=0,i={line:0,ch:0},s=0;s<t.length;s+=1){var a=t[s];if(Le.test(a))break;if(/\:/.test(a)&&0===n){if(r)break;var o=a.indexOf(":")===a.length-1?s+1:s;i={line:o,ch:t[o].length},r=!0}var l=a.match(/'|"/g);if(l&&(n+=l.length),2===n){i={line:s,ch:a.length};break}}return[[e.sourcepos[0][0],e.sourcepos[0][1]],[e.sourcepos[0][0]+i.line,i.ch]]},e.prototype.parseInline=function(e){var t,r=!1,n=this.peek();if(-1===n)return!1;switch(n){case 10:r=this.parseNewline(e);break;case 92:r=this.parseBackslash(e);break;case 96:r=this.parseBackticks(e);break;case 42:case 95:case le:(r=this.parseSubscriptInline(e))||this.isInsideDollarInline()||(r=this.handleDelim(n,e));break;case pe:r=this.handleDelim(n,e);break;case 61:r=this.parseMarkInline(e);break;case 43:r=this.parseUnderlineInline(e);break;case 94:r=this.parseSuperscriptInline(e);break;case ue:case ce:r=!!(null===(t=this.options)||void 0===t?void 0:t.smart)&&this.handleDelim(n,e);break;case 91:r=this.parseOpenBracket(e);break;case 33:r=this.parseBang(e);break;case 93:r=this.parseCloseBracket(e);break;case 60:r=this.parseAutolink(e)||this.parseHtmlTag(e);break;case 38:e.disabledEntityParse||(r=this.parseEntity(e));break;default:r=this.parseString(e)}return r||(this.pos+=1,e.appendChild($(ee(n),this.sourcepos(this.pos,this.pos+1)))),!0},e.prototype.parse=function(e){for(this.subject=e.stringContent.trim(),this.pos=0,this.delimiters=null,this.brackets=null,this.lineOffsets=e.lineOffsets||[0],this.lineIdx=0,this.linePosOffset=0,this.lineStartNum=e.sourcepos[0][0],function(e){return"heading"===e.type}(e)&&(this.lineOffsets[0]+=e.level+1);this.parseInline(e););e.stringContent=null,this.processEmphasis(null),this.mergeTextNodes(e.walker());var t=this.options,r=t.extendedAutolinks,n=t.customParser;if(r&&function(e,t){var r;"boolean"==typeof t&&(t=ne);for(var n=function(){var e=r.entering,n=r.node;if(e&&"text"===n.type&&"link"!==n.parent.type){var i=n.literal,s=t(i);if(!s||!s.length)return"continue";for(var a=0,o=n.sourcepos[0],l=o[0],u=o[1],c=function(e,t){return[[l,u+e],[l,u+t]]},p=[],h=0,f=s;h<f.length;h++){var d=f[h],g=d.range,m=d.url,v=d.text;g[0]>a&&p.push($(i.substring(a,g[0]),c(a,g[0]-1)));var b=z("link",c.apply(void 0,g));b.appendChild($(v,c.apply(void 0,g))),b.destination=m,b.extendedAutolink=!0,p.push(b),a=g[1]+1}a<i.length&&p.push($(i.substring(a),c(a,i.length-1)));for(var y=0,C=p;y<C.length;y++){var x=C[y];n.insertBefore(x)}n.unlink()}};r=e.next();)n()}(e.walker(),r),n&&e.firstChild)for(var i=void 0,s=e.firstChild.walker();i=s.next();){var a=i.node,o=i.entering;n[a.type]&&n[a.type](a,{entering:o,options:this.options})}},e}(),Be=/^\[([ \txX])\][ \t]+/;var Oe={continue:function(){return Ze.Go},finalize:function(){},canContain:function(e){return"tableHead"===e||"tableBody"===e},acceptsLines:!1},Re={continue:function(){return Ze.Go},finalize:function(){},canContain:function(e){return"tableRow"===e},acceptsLines:!1},Me={continue:function(){return Ze.Stop},finalize:function(){},canContain:function(e){return"tableRow"===e||"tableDelimRow"===e},acceptsLines:!1},Ie={continue:function(){return Ze.Stop},finalize:function(){},canContain:function(e){return"tableDelimCell"===e},acceptsLines:!1},je={continue:function(){return Ze.Stop},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},Ue={continue:function(){return Ze.Stop},finalize:function(){},canContain:function(e){return"tableCell"===e},acceptsLines:!1},Pe={continue:function(){return Ze.Stop},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},ze=/[^ \t\f\v\r\n]/,Ge=/^(?:`{3,}|~{3,})(?= *$)/;function He(e){for(var t=e;t;){if(t.lastLineBlank)return!0;var r=t.type;if(t.lastLineChecked||"list"!==r&&"item"!==r){t.lastLineChecked=!0;break}t.lastLineChecked=!0,t=t.lastChild}return!1}function Ve(e,t){return t<e.length?e.charCodeAt(t):-1}function _e(e){return!ze.test(e)}function $e(e){return 32===e||9===e}var Ze,Qe=/^\$\$$/,Je={continue:function(e,t){var r=e.currentLine,n=r.match(Qe);if(n)return e.lastLineLength=n[0].length,e.finalize(t,e.lineNumber),Ze.Finished;for(var i=t.offset;i>0&&$e(Ve(r,e.offset));)e.advanceOffset(1,!0),i--;return Ze.Go},finalize:function(e,t){if(null!==t.stringContent){var r=t.stringContent,n=r.indexOf("\n"),i=r.slice(0,n),s=r.slice(n+1),a=i.match(/^(\s*)(.*)/);t.info=v(a[2].trim())||"latex",t.literal=s,t.stringContent=null}},canContain:function(){return!1},acceptsLines:!0};!function(e){e[e.Go=0]="Go",e[e.Stop=1]="Stop",e[e.Finished=2]="Finished"}(Ze||(Ze={}));var We={continue:function(){return Ze.Stop},finalize:function(){},canContain:function(){return!1},acceptsLines:!0},Xe={continue:function(){return Ze.Go},finalize:function(e,t){for(var r=t.firstChild;r;){if(He(r)&&r.next){t.listData.tight=!1;break}for(var n=r.firstChild;n;){if(He(n)&&(r.next||n.next)){t.listData.tight=!1;break}n=n.next}r=r.next}},canContain:function(e){return"item"===e},acceptsLines:!1},Ye={document:{continue:function(){return Ze.Go},finalize:function(){},canContain:function(e){return"item"!==e},acceptsLines:!1},list:Xe,blockQuote:{continue:function(e){var t=e.currentLine;return e.indented||62!==Ve(t,e.nextNonspace)?Ze.Stop:(e.advanceNextNonspace(),e.advanceOffset(1,!1),$e(Ve(t,e.offset))&&e.advanceOffset(1,!0),Ze.Go)},finalize:function(){},canContain:function(e){return"item"!==e},acceptsLines:!1},item:{continue:function(e,t){if(e.blank){if(null===t.firstChild)return Ze.Stop;e.advanceNextNonspace()}else{if(!(e.indent>=t.listData.markerOffset+t.listData.padding))return Ze.Stop;e.advanceOffset(t.listData.markerOffset+t.listData.padding,!0)}return Ze.Go},finalize:function(e,t){if(t.firstChild&&"paragraph"===t.firstChild.type){var r=t.firstChild,n=r.stringContent.match(Be);if(n){var i=n[0].length;r.stringContent=r.stringContent.substring(i-1),r.sourcepos[0][1]+=i,r.lineOffsets[0]+=i,t.listData.task=!0,t.listData.checked=/[xX]/.test(n[1])}}},canContain:function(e){return"item"!==e},acceptsLines:!1},heading:{continue:function(){return Ze.Stop},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},thematicBreak:{continue:function(){return Ze.Stop},finalize:function(){},canContain:function(){return!1},acceptsLines:!1},codeBlock:{continue:function(e,t){var r=e.currentLine,n=e.indent;if(t.isFenced){var i=n<=3&&r.charAt(e.nextNonspace)===t.fenceChar&&r.slice(e.nextNonspace).match(Ge);if(i&&i[0].length>=t.fenceLength)return e.lastLineLength=e.offset+n+i[0].length,e.finalize(t,e.lineNumber),Ze.Finished;for(var s=t.fenceOffset;s>0&&$e(Ve(r,e.offset));)e.advanceOffset(1,!0),s--}else if(n>=4)e.advanceOffset(4,!0);else{if(!e.blank)return Ze.Stop;e.advanceNextNonspace()}return Ze.Go},finalize:function(e,t){var r;if(null!==t.stringContent){if(t.isFenced){var n=t.stringContent,i=n.indexOf("\n"),s=n.slice(0,i),a=n.slice(i+1),o=s.match(/^(\s*)(.*)/);t.infoPadding=o[1].length,t.info=v(o[2].trim()),t.literal=a}else t.literal=null===(r=t.stringContent)||void 0===r?void 0:r.replace(/(\n *)+$/,"\n");t.stringContent=null}},canContain:function(){return!1},acceptsLines:!0},htmlBlock:{continue:function(e,t){return!e.blank||6!==t.htmlBlockType&&7!==t.htmlBlockType?Ze.Go:Ze.Stop},finalize:function(e,t){var r;t.literal=(null===(r=t.stringContent)||void 0===r?void 0:r.replace(/(\n *)+$/,""))||null,t.stringContent=null},canContain:function(){return!1},acceptsLines:!0},paragraph:{continue:function(e){return e.blank?Ze.Stop:Ze.Go},finalize:function(e,t){if(null!==t.stringContent){for(var r,n=!1;91===Ve(t.stringContent,0)&&(r=e.inlineParser.parseReference(t,e.refMap));)t.stringContent=t.stringContent.slice(r),n=!0;n&&_e(t.stringContent)&&t.unlink()}},canContain:function(){return!1},acceptsLines:!0},table:Oe,tableBody:Re,tableHead:Me,tableRow:Ue,tableCell:Pe,tableDelimRow:Ie,tableDelimCell:je,refDef:We,customBlock:Je,frontMatter:We};function Ke(e){for(var t=0,r=0,n=[],i=0;i<e.length;i+=1)if("|"===e[i]&&"\\"!==e[i-1]){var s=e.substring(t,i);0===t&&k(s)?r=i+1:n.push(s),t=i+1}t<e.length&&(k(s=e.substring(t,e.length))||n.push(s));return[r,n]}function et(e,t,r,n){for(var i=[],s=0,a=t;s<a.length;s++){var o=a[s],l=o.match(/^[ \t]+/),u=l?l[0].length:0,c=void 0,p=void 0;if(u===o.length)u=0,c=0,p="";else{var h=o.match(/[ \t]+$/);c=h?h[0].length:0,p=o.slice(u,o.length-c)}var f=n+u,d=z(e,[[r,n],[r,n+o.length-1]]);d.stringContent=p.replace(/\\\|/g,"|"),d.startIdx=i.length,d.endIdx=i.length,d.lineOffsets=[f-1],d.paddingLeft=u,d.paddingRight=c,i.push(d),n+=o.length+1}return i}function tt(e){var t=null,r=e.stringContent,n=r[0];return":"===r[r.length-1]?t=":"===n?"center":"right":":"===n&&(t="left"),{align:t}}var rt,nt=/^(\$\$)(\s*[a-zA-Z]\w*)?\s*$/,it=/^\$\$.+\$\$/;!function(e){e[e.None=0]="None",e[e.Container=1]="Container",e[e.Leaf=2]="Leaf"}(rt||(rt={}));var st=/^`{3,}(?!.*`)|^~{3,}/,at=[/./,/^<(?:script|pre|style)(?:\s|>|$)/i,/^<!--/,/^<[?]/,/^<![A-Z]/,/^<!\[CDATA\[/,/^<[/]?(?: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|h[123456]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|[/]?[>]|$)/i,new RegExp("^(?:"+J+"|"+W+")\\s*$","i")],ot=/^(?:=+|-+)[ \t]*$/,lt=/^#{1,6}(?:[ \t]+|$)/,ut=/^(?:(?:\*[ \t]*){3,}|(?:_[ \t]*){3,}|(?:-[ \t]*){3,})[ \t]*$/,ct=/^[*+-]/,pt=/^(\d{1,9})([.)])/;function ht(e,t){return e.options.disallowDeepHeading&&("blockQuote"===t.type||"item"===t.type)}var ft=[function(e){return e.indented||62!==Ve(e.currentLine,e.nextNonspace)?rt.None:(e.advanceNextNonspace(),e.advanceOffset(1,!1),$e(Ve(e.currentLine,e.offset))&&e.advanceOffset(1,!0),e.closeUnmatchedBlocks(),e.addChild("blockQuote",e.nextNonspace),rt.Container)},function(e,t){var r;if(!e.indented&&!ht(e,t)&&(r=e.currentLine.slice(e.nextNonspace).match(lt))){e.advanceNextNonspace(),e.advanceOffset(r[0].length,!1),e.closeUnmatchedBlocks();var n=e.addChild("heading",e.nextNonspace);return n.level=r[0].trim().length,n.headingType="atx",n.stringContent=e.currentLine.slice(e.offset).replace(/^[ \t]*#+[ \t]*$/,"").replace(/[ \t]+#+[ \t]*$/,""),e.advanceOffset(e.currentLine.length-e.offset),rt.Leaf}return rt.None},function(e){var t;if(!e.indented&&(t=e.currentLine.slice(e.nextNonspace).match(st))){var r=t[0].length;e.closeUnmatchedBlocks();var n=e.addChild("codeBlock",e.nextNonspace);return n.isFenced=!0,n.fenceLength=r,n.fenceChar=t[0][0],n.fenceOffset=e.indent,e.advanceNextNonspace(),e.advanceOffset(r,!1),rt.Leaf}return rt.None},function(e,t){if(!e.indented&&60===Ve(e.currentLine,e.nextNonspace)){var r=e.currentLine.slice(e.nextNonspace),n=e.options.disallowedHtmlBlockTags,i=void 0;for(i=1;i<=7;i++){var s=r.match(at[i]);if(s){if(7===i){if("paragraph"===t.type)return rt.None;if(n.length>0)if(new RegExp("</?(?:"+n.join("|")+")","i").test(s[0]))return rt.None}return e.closeUnmatchedBlocks(),e.addChild("htmlBlock",e.offset).htmlBlockType=i,rt.Leaf}}}return rt.None},function(e,t){var r;if(null!==t.stringContent&&!e.indented&&"paragraph"===t.type&&!ht(e,t.parent)&&(r=e.currentLine.slice(e.nextNonspace).match(ot))){e.closeUnmatchedBlocks();for(var n=void 0;91===Ve(t.stringContent,0)&&(n=e.inlineParser.parseReference(t,e.refMap));)t.stringContent=t.stringContent.slice(n);if(t.stringContent.length>0){var i=z("heading",t.sourcepos);return i.level="="===r[0][0]?1:2,i.headingType="setext",i.stringContent=t.stringContent,t.insertAfter(i),t.unlink(),e.tip=i,e.advanceOffset(e.currentLine.length-e.offset,!1),rt.Leaf}return rt.None}return rt.None},function(e){return!e.indented&&ut.test(e.currentLine.slice(e.nextNonspace))?(e.closeUnmatchedBlocks(),e.addChild("thematicBreak",e.nextNonspace),e.advanceOffset(e.currentLine.length-e.offset,!1),rt.Leaf):rt.None},function(e,t){var r,n,i,s=t;return e.indented&&"list"!==t.type||!(r=function(e,t){var r,n,i=e.currentLine.slice(e.nextNonspace),s={type:"bullet",tight:!0,bulletChar:"",start:0,delimiter:"",padding:0,markerOffset:e.indent,task:!1,checked:!1};if(e.indent>=4)return null;if(r=i.match(ct))s.type="bullet",s.bulletChar=r[0][0];else{if(!(r=i.match(pt))||"paragraph"===t.type&&"1"!==r[1])return null;s.type="ordered",s.start=parseInt(r[1],10),s.delimiter=r[2]}if(-1!==(n=Ve(e.currentLine,e.nextNonspace+r[0].length))&&9!==n&&32!==n)return null;if("paragraph"===t.type&&!e.currentLine.slice(e.nextNonspace+r[0].length).match(ze))return null;e.advanceNextNonspace(),e.advanceOffset(r[0].length,!0);var a=e.column,o=e.offset;do{e.advanceOffset(1,!0),n=Ve(e.currentLine,e.offset)}while(e.column-a<5&&$e(n));var l=-1===Ve(e.currentLine,e.offset),u=e.column-a;return u>=5||u<1||l?(s.padding=r[0].length+1,e.column=a,e.offset=o,$e(Ve(e.currentLine,e.offset))&&e.advanceOffset(1,!0)):s.padding=r[0].length+u,s}(e,s))?rt.None:(e.closeUnmatchedBlocks(),"list"===e.tip.type&&(n=s.listData,i=r,n.type===i.type&&n.delimiter===i.delimiter&&n.bulletChar===i.bulletChar)||((s=e.addChild("list",e.nextNonspace)).listData=r),(s=e.addChild("item",e.nextNonspace)).listData=r,rt.Container)},function(e){return e.indented&&"paragraph"!==e.tip.type&&!e.blank?(e.advanceOffset(4,!0),e.closeUnmatchedBlocks(),e.addChild("codeBlock",e.offset),rt.Leaf):rt.None},function(e,t){var r=t.stringContent;if("paragraph"===t.type&&!e.indented&&!e.blank){var n=r.length-1,i=r.lastIndexOf("\n",n-1)+1,s=r.slice(i,n),a=e.currentLine.slice(e.nextNonspace),o=Ke(s),l=o[0],u=o[1],c=Ke(a),p=c[0],h=c[1],f=/^[ \t]*:?-+:?[ \t]*$/;if(!u.length||!h.length||h.some(function(e){return!f.test(e)})||1===h.length&&0!==a.indexOf("|"))return rt.None;var d=t.lineOffsets,g=e.lineNumber-1,m=ie(d)+1,v=z("table",[[g,m],[e.lineNumber,e.offset]]);if(v.columns=h.map(function(){return{align:null}}),t.insertAfter(v),1===d.length)t.unlink();else{t.stringContent=r.slice(0,i);var b=i-(r.lastIndexOf("\n",i-2)+1)-1;e.lastLineLength=d[d.length-2]+b,e.finalize(t,g-1)}e.advanceOffset(e.currentLine.length-e.offset,!1);var y=z("tableHead",[[g,m],[e.lineNumber,e.offset]]);v.appendChild(y);var C=z("tableRow",[[g,m],[g,m+s.length-1]]),x=z("tableDelimRow",[[e.lineNumber,e.nextNonspace+1],[e.lineNumber,e.offset]]);y.appendChild(C),y.appendChild(x),et("tableCell",u,g,m+l).forEach(function(e){C.appendChild(e)});var k=et("tableDelimCell",h,e.lineNumber,e.nextNonspace+1+p);return k.forEach(function(e){x.appendChild(e)}),v.columns=k.map(tt),e.tip=v,rt.Leaf}return rt.None},function(e,t){if("table"!==t.type&&"tableBody"!==t.type||!e.blank&&-1===e.currentLine.indexOf("|"))return rt.None;if(e.advanceOffset(e.currentLine.length-e.offset,!1),e.blank){var r=t;return"tableBody"===t.type&&(r=t.parent,e.finalize(t,e.lineNumber-1)),e.finalize(r,e.lineNumber-1),rt.None}var n=t;"table"===t.type&&((n=e.addChild("tableBody",e.nextNonspace)).stringContent=null);var i=z("tableRow",[[e.lineNumber,e.nextNonspace+1],[e.lineNumber,e.currentLine.length]]);n.appendChild(i);var s=n.parent,a=Ke(e.currentLine.slice(e.nextNonspace)),o=a[0];return et("tableCell",a[1],e.lineNumber,e.nextNonspace+1+o).forEach(function(e,t){t>=s.columns.length&&(e.ignored=!0),i.appendChild(e)}),rt.Leaf},function(e){var t;if(!e.indented&&!it.test(e.currentLine)&&(t=e.currentLine.match(nt))){var r=t[1].length;e.closeUnmatchedBlocks();var n=e.addChild("customBlock",e.nextNonspace);return n.syntaxLength=r,n.offset=e.indent,e.advanceNextNonspace(),e.advanceOffset(r,!1),rt.Leaf}return rt.None}],dt=/^(-{3}|\+{3}|;{3})$/,gt=function(e,t){var r=e.currentLine,n=e.lineNumber,i=e.indented;return 1===n&&!i&&"document"===t.type&&dt.test(r)?(e.closeUnmatchedBlocks(),e.addChild("frontMatter",e.nextNonspace).stringContent=r,e.advanceNextNonspace(),e.advanceOffset(r.length,!1),rt.Leaf):rt.None},mt={continue:function(e,t){var r=e.currentLine,n=r.match(dt);return"frontMatter"===t.type&&n?(t.stringContent+=r,e.lastLineLength=n[0].length,e.finalize(t,e.lineNumber),Ze.Finished):Ze.Go},finalize:function(e,t){null!==t.stringContent&&(t.literal=t.stringContent,t.stringContent=null)},canContain:function(){return!1},acceptsLines:!0},vt=[/./,/<\/(?:script|pre|style)>/i,/-->/,/\?>/,/>/,/\]\]>/],bt=/^[#`~*+_=<>0-9-;$]/,yt=/\r\n|\n|\r/;function Ct(){return z("document",[[1,1],[0,0]])}var xt,kt={smart:!1,tagFilter:!1,extendedAutolinks:!1,disallowedHtmlBlockTags:[],referenceDefinition:!1,disallowDeepHeading:!1,customParser:null,frontMatter:!1},wt=function(){function e(e){this.options=a(a({},kt),e),this.doc=Ct(),this.tip=this.doc,this.oldtip=this.doc,this.lineNumber=0,this.offset=0,this.column=0,this.nextNonspace=0,this.nextNonspaceColumn=0,this.indent=0,this.currentLine="",this.indented=!1,this.blank=!1,this.partiallyConsumedTab=!1,this.allClosed=!0,this.lastMatchedContainer=this.doc,this.refMap={},this.refLinkCandidateMap={},this.refDefCandidateMap={},this.lastLineLength=0,this.lines=[],this.options.frontMatter&&(Ye.frontMatter=mt,ft.unshift(gt)),this.inlineParser=new Se(this.options)}return e.prototype.advanceOffset=function(e,t){void 0===t&&(t=!1);for(var r,n,i,s=this.currentLine;e>0&&(i=s[this.offset]);)"\t"===i?(r=4-this.column%4,t?(this.partiallyConsumedTab=r>e,n=r>e?e:r,this.column+=n,this.offset+=this.partiallyConsumedTab?0:1,e-=n):(this.partiallyConsumedTab=!1,this.column+=r,this.offset+=1,e-=1)):(this.partiallyConsumedTab=!1,this.offset+=1,this.column+=1,e-=1)},e.prototype.advanceNextNonspace=function(){this.offset=this.nextNonspace,this.column=this.nextNonspaceColumn,this.partiallyConsumedTab=!1},e.prototype.findNextNonspace=function(){for(var e,t=this.currentLine,r=this.offset,n=this.column;""!==(e=t.charAt(r));)if(" "===e)r++,n++;else{if("\t"!==e)break;r++,n+=4-n%4}this.blank="\n"===e||"\r"===e||""===e,this.nextNonspace=r,this.nextNonspaceColumn=n,this.indent=this.nextNonspaceColumn-this.column,this.indented=this.indent>=4},e.prototype.addLine=function(){if(this.partiallyConsumedTab){this.offset+=1;var e=4-this.column%4;this.tip.stringContent+=x(" ",e)}this.tip.lineOffsets?this.tip.lineOffsets.push(this.offset):this.tip.lineOffsets=[this.offset],this.tip.stringContent+=this.currentLine.slice(this.offset)+"\n"},e.prototype.addChild=function(e,t){for(;!Ye[this.tip.type].canContain(e);)this.finalize(this.tip,this.lineNumber-1);var r=t+1,n=z(e,[[this.lineNumber,r],[0,0]]);return n.stringContent="",this.tip.appendChild(n),this.tip=n,n},e.prototype.closeUnmatchedBlocks=function(){if(!this.allClosed){for(;this.oldtip!==this.lastMatchedContainer;){var e=this.oldtip.parent;this.finalize(this.oldtip,this.lineNumber-1),this.oldtip=e}this.allClosed=!0}},e.prototype.finalize=function(e,t){var r=e.parent;e.open=!1,e.sourcepos[1]=[t,this.lastLineLength],Ye[e.type].finalize(this,e),this.tip=r},e.prototype.processInlines=function(e){var t,r=this.options.customParser,n=e.walker();for(this.inlineParser.refMap=this.refMap,this.inlineParser.refLinkCandidateMap=this.refLinkCandidateMap,this.inlineParser.refDefCandidateMap=this.refDefCandidateMap,this.inlineParser.options=this.options;t=n.next();){var i=t.node,s=t.entering,a=i.type;r&&r[a]&&r[a](i,{entering:s,options:this.options}),s||"paragraph"!==a&&"heading"!==a&&("tableCell"!==a||i.ignored)||this.inlineParser.parse(i)}},e.prototype.incorporateLine=function(e){var t=this.doc;this.oldtip=this.tip,this.offset=0,this.column=0,this.blank=!1,this.partiallyConsumedTab=!1,this.lineNumber+=1,-1!==e.indexOf("\0")&&(e=e.replace(/\0/g,"�")),this.currentLine=e;for(var r,n=!0;(r=t.lastChild)&&r.open;){switch(t=r,this.findNextNonspace(),Ye[t.type].continue(this,t)){case Ze.Go:break;case Ze.Stop:n=!1;break;case Ze.Finished:return void(this.lastLineLength=e.length);default:throw new Error("continue returned illegal value, must be 0, 1, or 2")}if(!n){t=t.parent;break}}this.allClosed=t===this.oldtip,this.lastMatchedContainer=t;for(var i="paragraph"!==t.type&&Ye[t.type].acceptsLines,s=ft.length;!i;){if(this.findNextNonspace(),"table"!==t.type&&"tableBody"!==t.type&&"paragraph"!==t.type&&!this.indented&&!bt.test(e.slice(this.nextNonspace))){this.advanceNextNonspace();break}for(var a=0;a<s;){var o=ft[a](this,t);if(o===rt.Container){t=this.tip;break}if(o===rt.Leaf){t=this.tip,i=!0;break}a++}if(a===s){this.advanceNextNonspace();break}}if(this.allClosed||this.blank||"paragraph"!==this.tip.type){this.closeUnmatchedBlocks(),this.blank&&t.lastChild&&(t.lastChild.lastLineBlank=!0);for(var l=t.type,u=this.blank&&!("blockQuote"===l||G(t)&&t.isFenced||"item"===l&&!t.firstChild&&t.sourcepos[0][0]===this.lineNumber),c=t;c;)c.lastLineBlank=u,c=c.parent;Ye[l].acceptsLines?(this.addLine(),"htmlBlock"===t.type&&t.htmlBlockType>=1&&t.htmlBlockType<=5&&vt[t.htmlBlockType].test(this.currentLine.slice(this.offset))&&(this.lastLineLength=e.length,this.finalize(t,this.lineNumber))):this.offset<e.length&&!this.blank&&(t=this.addChild("paragraph",this.offset),this.advanceNextNonspace(),this.addLine())}else this.addLine();this.lastLineLength=e.length},e.prototype.parse=function(e,t){this.doc=Ct(),this.tip=this.doc,this.lineNumber=0,this.lastLineLength=0,this.offset=0,this.column=0,this.lastMatchedContainer=this.doc,this.currentLine="";var r=e.split(yt),n=r.length;this.lines=t||r,this.options.referenceDefinition&&this.clearRefMaps(),10===e.charCodeAt(e.length-1)&&(n-=1);for(var i=0;i<n;i++)this.incorporateLine(r[i]);for(;this.tip;)this.finalize(this.tip,n);return this.processInlines(this.doc),this.doc},e.prototype.partialParseStart=function(e,t){this.doc=Ct(),this.tip=this.doc,this.lineNumber=e-1,this.lastLineLength=0,this.offset=0,this.column=0,this.lastMatchedContainer=this.doc,this.currentLine="";for(var r=t.length,n=0;n<r;n++)this.incorporateLine(t[n]);return this.doc},e.prototype.partialParseExtends=function(e){for(var t=0;t<e.length;t++)this.incorporateLine(e[t])},e.prototype.partialParseFinish=function(){for(;this.tip;)this.finalize(this.tip,this.lineNumber);this.processInlines(this.doc)},e.prototype.setRefMaps=function(e,t,r){this.refMap=e,this.refLinkCandidateMap=t,this.refDefCandidateMap=r},e.prototype.clearRefMaps=function(){[this.refMap,this.refLinkCandidateMap,this.refDefCandidateMap].forEach(function(e){var t;t=e,Object.keys(t).forEach(function(e){delete t[e]})})},e}();function Dt(e,t){return e[0]<t[0]?xt.LT:e[0]>t[0]?xt.GT:e[1]<t[1]?xt.LT:e[1]>t[1]?xt.GT:xt.EQ}function Lt(e,t){var r=e[0];return Dt(e[1],t)===xt.LT?xt.LT:Dt(r,t)===xt.GT?xt.GT:xt.EQ}function Nt(e,t){for(var r=0,n=t;r<n.length;r++){var i=n[r];e.insertBefore(i)}}function At(e,t){var r=e[0];return e[1][0]<t?xt.LT:r[0]>t?xt.GT:xt.EQ}function Et(e,t){for(var r=e.firstChild;r;){var n=At(r.sourcepos,t);if(n===xt.EQ)return r;if(n===xt.GT)return r.prev||r;r=r.next}return e.lastChild}function Tt(e){return function(e){return N[e]}(e)||null}function qt(e,t,r){if(void 0===r&&(r=null),t)for(var n=t.walker();t&&t!==r;){e(t);var i=n.next();if(!i)break;t=i.node}}!function(e){e[e.LT=1]="LT",e[e.EQ=0]="EQ",e[e.GT=-1]="GT"}(xt||(xt={}));var Ft=/\r\n|\n|\r/;function St(e){return{id:e.id,title:e.title,sourcepos:e.sourcepos,unlinked:!1,destination:e.dest}}var Bt=function(){function e(e,t){this.refMap={},this.refLinkCandidateMap={},this.refDefCandidateMap={},this.referenceDefinition=!!(null==t?void 0:t.referenceDefinition),this.parser=new wt(t),this.parser.setRefMaps(this.refMap,this.refLinkCandidateMap,this.refDefCandidateMap),this.eventHandlerMap={change:[]},e=e||"",this.lineTexts=e.split(Ft),this.root=this.parser.parse(e,this.lineTexts)}return e.prototype.updateLineTexts=function(e,t,r){var n,i=e[0],s=e[1],a=t[0],l=t[1],u=r.split(Ft),c=u.length,p=this.lineTexts[i-1],h=this.lineTexts[a-1];u[0]=p.slice(0,s-1)+u[0],u[c-1]=u[c-1]+h.slice(l-1);var f=a-i+1;return(n=this.lineTexts).splice.apply(n,o([i-1,f],u)),c-f},e.prototype.updateRootNodeState=function(){if(1===this.lineTexts.length&&""===this.lineTexts[0])return this.root.lastLineBlank=!0,void(this.root.sourcepos=[[1,1],[1,0]]);this.root.lastChild&&(this.root.lastLineBlank=this.root.lastChild.lastLineBlank);for(var e=this.lineTexts,t=e.length-1;""===e[t];)t-=1;e.length-2>t&&(t+=1),this.root.sourcepos[1]=[t+1,e[t].length]},e.prototype.replaceRangeNodes=function(e,t,r){e?(Nt(e,r),function(e,t){if(e.parent===t.parent&&e!==t){for(var r=e.next;r&&r!==t;){for(var n=r.next,i=0,s=["parent","prev","next"];i<s.length;i++){var a=s[i];r[a]&&(A(r[a].id),r[a]=null)}r=n}e.next=t.next,t.next?t.next.prev=e:e.parent.lastChild=e}}(e,t),[e.id,t.id].forEach(function(e){return A(e)}),e.unlink()):t?(Nt(t,r),A(t.id),t.unlink()):function(e,t){for(var r=t.length-1;r>=0;r-=1)e.prependChild(t[r])}(this.root,r)},e.prototype.getNodeRange=function(e,t){var r=Et(this.root,e[0]),n=Et(this.root,t[0]);return n&&n.next&&t[0]+1===n.next.sourcepos[0][0]&&(n=n.next),[r,n]},e.prototype.trigger=function(e,t){this.eventHandlerMap[e].forEach(function(e){e(t)})},e.prototype.extendEndLine=function(e){for(;""===this.lineTexts[e];)e+=1;return e},e.prototype.parseRange=function(e,t,r,n){var i;e&&e.prev&&(H(e.prev)&&function(e){var t=e.match(/^[ \t]+/);if(t&&(t[0].length>=2||/\t/.test(t[0])))return!0;var r=t?e.slice(t.length):e;return ct.test(r)||pt.test(r)}(this.lineTexts[r-1])||"table"===e.prev.type&&(!_e(i=this.lineTexts[r-1])&&-1!==i.indexOf("|")))&&(r=(e=e.prev).sourcepos[0][0]);for(var s=this.lineTexts.slice(r-1,n),a=this.parser.partialParseStart(r,s),o=t?t.next:this.root.firstChild,l=a.lastChild,u=l&&G(l)&&l.open,c=l&&_(l)&&l.open,p=l&&H(l);(u||c)&&o||p&&o&&("list"===o.type||o.sourcepos[0][1]>=2);){var h=this.extendEndLine(o.sourcepos[1][0]);this.parser.partialParseExtends(this.lineTexts.slice(n,h)),e||(e=t),t=o,n=h,o=o.next}return this.parser.partialParseFinish(),{newNodes:function(e){for(var t=[],r=e.firstChild;r;)t.push(r),r=r.next;return t}(a),extStartNode:e,extEndNode:t}},e.prototype.getRemovedNodeRange=function(e,t){return!e||e&&V(e)||t&&V(t)?null:{id:[e.id,t.id],line:[e.sourcepos[0][0]-1,t.sourcepos[1][0]-1]}},e.prototype.markDeletedRefMap=function(e,t){var r=this;if(!oe(this.refMap)){var n=function(e){if(V(e)){var t=r.refMap[e.label];t&&e.id===t.id&&(t.unlinked=!0)}};e&&qt(n,e.parent,t),t&&qt(n,t)}},e.prototype.replaceWithNewRefDefState=function(e){var t=this;if(!oe(this.refMap)){var r=function(e){if(V(e)){var r=e.label,n=t.refMap[r];n&&!n.unlinked||(t.refMap[r]=St(e))}};e.forEach(function(e){qt(r,e)})}},e.prototype.replaceWithRefDefCandidate=function(){var e=this;oe(this.refDefCandidateMap)||ae(this.refDefCandidateMap,function(t,r){var n=r.label,i=r.sourcepos,s=e.refMap[n];(!s||s.unlinked||s.sourcepos[0][0]>i[0][0])&&(e.refMap[n]=St(r))})},e.prototype.getRangeWithRefDef=function(e,t,r,n,i){if(this.referenceDefinition&&!oe(this.refMap)){var s=Et(this.root,e-1),a=Et(this.root,t+1);s&&V(s)&&s!==r&&s!==n&&(e=(r=s).sourcepos[0][0]),a&&V(a)&&a!==r&&a!==n&&(n=a,t=this.extendEndLine(n.sourcepos[1][0]+i))}return[r,n,e,t]},e.prototype.parse=function(e,t,r){void 0===r&&(r=0);var n=this.getNodeRange(e,t),i=n[0],s=n[1],a=i?Math.min(i.sourcepos[0][0],e[0]):e[0],o=this.extendEndLine((s?Math.max(s.sourcepos[1][0],t[0]):t[0])+r),l=this.parseRange.apply(this,this.getRangeWithRefDef(a,o,i,s,r)),u=l.newNodes,c=l.extStartNode,p=l.extEndNode,h=this.getRemovedNodeRange(c,p),f=p?p.next:this.root.firstChild;return this.referenceDefinition?(this.markDeletedRefMap(c,p),this.replaceRangeNodes(c,p,u),this.replaceWithNewRefDefState(u)):this.replaceRangeNodes(c,p,u),{nodes:u,removedNodeRange:h,nextNode:f}},e.prototype.parseRefLink=function(){var e=this,t=[];return oe(this.refMap)||ae(this.refMap,function(r,n){n.unlinked&&delete e.refMap[r],ae(e.refLinkCandidateMap,function(n,i){var s=i.node;i.refLabel===r&&t.push(e.parse(s.sourcepos[0],s.sourcepos[1]))})}),t},e.prototype.removeUnlinkedCandidate=function(){oe(this.refDefCandidateMap)||[this.refLinkCandidateMap,this.refDefCandidateMap].forEach(function(e){ae(e,function(t){(function(e){var t=Tt(e);if(!t)return!0;for(;t&&"document"!==t.type;){if(!t.parent&&!t.prev&&!t.next)return!0;t=t.parent}return!1})(t)&&delete e[t]})})},e.prototype.editMarkdown=function(e,t,r){var n=this.updateLineTexts(e,t,r),i=this.parse(e,t,n),s=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=a({},e);return t.forEach(function(e){delete n[e]}),n}(i,"nextNode");!function(e,t){if(e&&e.parent&&0!==t){var r,n=e.parent.walker();for(n.resumeAt(e,!0);r=n.next();){var i=r.node;r.entering&&(i.sourcepos[0][0]+=t,i.sourcepos[1][0]+=t)}}}(i.nextNode,n),this.updateRootNodeState();var o=[s];return this.referenceDefinition&&(this.removeUnlinkedCandidate(),this.replaceWithRefDefCandidate(),o=o.concat(this.parseRefLink())),this.trigger("change",o),o},e.prototype.getLineTexts=function(){return this.lineTexts},e.prototype.getRootNode=function(){return this.root},e.prototype.findNodeAtPosition=function(e){var t=function(e,t){for(var r=e,n=null;r;){var i=Lt(r.sourcepos,t);if(i===xt.EQ){if(!r.firstChild)return r;n=r,r=r.firstChild}else{if(i===xt.GT)return n;if(!r.next)return n;r=r.next}}return r}(this.root,e);return t&&t!==this.root?t:null},e.prototype.findFirstNodeAtLine=function(e){return function(e,t){for(var r=e.firstChild,n=null;r;){var i=At(r.sourcepos,t);if(i===xt.EQ){if(r.sourcepos[0][0]===t||!r.firstChild)return r;n=r,r=r.firstChild}else{if(i===xt.GT)break;n=r,r=r.next}}return n?function(e){for(;e.parent&&"document"!==e.parent.type&&e.parent.sourcepos[0][0]===e.sourcepos[0][0];)e=e.parent;return e}(function(e){for(;e.lastChild;)e=e.lastChild;return e}(n)):null}(this.root,e)},e.prototype.on=function(e,t){this.eventHandlerMap[e].push(t)},e.prototype.off=function(e,t){var r=this.eventHandlerMap[e],n=r.indexOf(t);r.splice(n,1)},e.prototype.findNodeById=function(e){return Tt(e)},e.prototype.removeAllNode=function(){N={}},e}(),Ot=new RegExp("<(/?(?:"+["title","textarea","style","xmp","iframe","noembed","noframes","script","plaintext"].join("|")+")[^>]*>)","ig");function Rt(e){return Ot.test(e)?e.replace(Ot,function(e,t){return"&lt;"+t}):e}var Mt={heading:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"h"+e.level,outerNewLine:!0}},text:function(e){return{type:"text",content:e.literal}},softbreak:function(e,t){return{type:"html",content:t.options.softbreak}},linebreak:function(){return{type:"html",content:"<br />\n"}},emph:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"em"}},strong:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"strong"}},mark:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"mark"}},superscript:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"sup"}},subscript:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"sub"}},underline:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"u"}},paragraph:function(e,t){var r,n=t.entering,i=null===(r=e.parent)||void 0===r?void 0:r.parent;return i&&"list"===i.type&&i.listData.tight?null:{type:n?"openTag":"closeTag",tagName:"p",outerNewLine:!0}},thematicBreak:function(){return{type:"openTag",tagName:"hr",outerNewLine:!0,selfClose:!0}},blockQuote:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"blockquote",outerNewLine:!0,innerNewLine:!0}},list:function(e,t){var r=t.entering,n=e.listData,i=n.type,s=n.start,a="bullet"===i?"ul":"ol",o={};return"ol"===a&&null!==s&&1!==s&&(o.start=s.toString()),{type:r?"openTag":"closeTag",tagName:a,attributes:o,outerNewLine:!0}},item:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"li",outerNewLine:!0}},htmlInline:function(e,t){return{type:"html",content:t.options.tagFilter?Rt(e.literal):e.literal}},htmlBlock:function(e,t){var r=t.options,n=r.tagFilter?Rt(e.literal):e.literal;return r.nodeId?[{type:"openTag",tagName:"div",outerNewLine:!0},{type:"html",content:n},{type:"closeTag",tagName:"div",outerNewLine:!0}]:{type:"html",content:n,outerNewLine:!0}},code:function(e){return[{type:"openTag",tagName:"code"},{type:"text",content:e.literal},{type:"closeTag",tagName:"code"}]},codeBlock:function(e){var t=e.info,r=t?t.split(/\s+/):[],n=[];return r.length>0&&r[0].length>0&&n.push("language-"+C(r[0])),[{type:"openTag",tagName:"pre",outerNewLine:!0},{type:"openTag",tagName:"code",classNames:n},{type:"text",content:e.literal},{type:"closeTag",tagName:"code"},{type:"closeTag",tagName:"pre",outerNewLine:!0}]},link:function(e,t){if(t.entering){var r=e,n=r.title,i=r.destination;return{type:"openTag",tagName:"a",attributes:a({href:C(i)},n&&{title:C(n)})}}return{type:"closeTag",tagName:"a"}},image:function(e,t){var r=t.getChildrenText,n=t.skipChildren,i=e,s=i.title,o=i.destination;return n(),{type:"openTag",tagName:"img",selfClose:!0,attributes:a({src:C(o),alt:r(e)},s&&{title:C(s)})}},customBlock:function(e,t,r){var n=e.info.trim().toLowerCase(),i=r[n];if(i)try{return i(e,t)}catch(e){console.warn("[@techie_doubts/tui.editor.2026] - The error occurred when "+n+" block node was parsed in markdown renderer: "+e)}return[{type:"openTag",tagName:"div",outerNewLine:!0},{type:"text",content:e.literal},{type:"closeTag",tagName:"div",outerNewLine:!0}]},frontMatter:function(e){return[{type:"openTag",tagName:"div",outerNewLine:!0,attributes:{style:"white-space: pre; display: none;"}},{type:"text",content:e.literal},{type:"closeTag",tagName:"div",outerNewLine:!0}]},customInline:function(e,t,r){var n=e,i=n.info,s=n.firstChild,a=i.trim().toLowerCase(),o=r[a],l=t.entering;if(o)try{return o(e,t)}catch(e){console.warn("[@techie_doubts/tui.editor.2026] - The error occurred when "+a+" inline node was parsed in markdown renderer: "+e)}return l?[{type:"openTag",tagName:"span"},{type:"text",content:"$$"+i+(s?" ":"")}]:[{type:"text",content:"$$"},{type:"closeTag",tagName:"span"}]}},It={strike:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"del"}},item:function(e,t){var r=t.entering,n=e.listData,i=n.checked,s=n.task;if(r){var o={type:"openTag",tagName:"li",outerNewLine:!0};return s?[o,{type:"openTag",tagName:"input",selfClose:!0,attributes:a(a({},i&&{checked:""}),{disabled:"",type:"checkbox"})},{type:"text",content:" "}]:o}return{type:"closeTag",tagName:"li",outerNewLine:!0}},table:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"table",outerNewLine:!0}},tableHead:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"thead",outerNewLine:!0}},tableBody:function(e,t){return{type:t.entering?"openTag":"closeTag",tagName:"tbody",outerNewLine:!0}},tableRow:function(e,t){if(t.entering)return{type:"openTag",tagName:"tr",outerNewLine:!0};var r=[];if(e.lastChild)for(var n=e.parent.parent.columns.length,i=e.lastChild.endIdx+1;i<n;i+=1)r.push({type:"openTag",tagName:"td",outerNewLine:!0},{type:"closeTag",tagName:"td",outerNewLine:!0});return r.push({type:"closeTag",tagName:"tr",outerNewLine:!0}),r},tableCell:function(e,t){var r=t.entering;if(e.ignored)return{type:"text",content:""};var n=e.parent.parent,i="tableHead"===n.type?"th":"td",s=n.parent.columns[e.startIdx],o=(null==s?void 0:s.align)?{align:s.align}:null;return r?a({type:"openTag",tagName:i,outerNewLine:!0},o&&{attributes:o}):{type:"closeTag",tagName:i,outerNewLine:!0}}},jt={softbreak:"\n",gfm:!1,tagFilter:!1,nodeId:!1};function Ut(e){for(var t=[],r=e.walker(),n=null;n=r.next();){var i=n.node;"text"===i.type&&t.push(i.literal)}return t.join("")}var Pt=function(){function e(e){this.buffer=[],this.options=a(a({},jt),e),this.convertors=this.createConvertors(),delete this.options.convertors}return e.prototype.createConvertors=function(){var e=a({},Mt);if(this.options.gfm&&(e=a(a({},e),It)),this.options.convertors){var t=this.options.convertors,r=Object.keys(t),n=a(a({},Mt),It);r.forEach(function(r){var i=e[r],s=t[r],a=-1===Object.keys(n).indexOf(r)?r.toLowerCase():r;e[a]=i?function(e,t,r){return t.origin=function(){return i(e,t,r)},s(e,t)}:s})}return e},e.prototype.getConvertors=function(){return this.convertors},e.prototype.getOptions=function(){return this.options},e.prototype.render=function(e){var t=this;this.buffer=[];for(var r=e.walker(),n=null,i=function(){var e=n.node,i=n.entering,a=s.convertors[e.type];if(!a)return"continue";var o=!1,l={entering:i,leaf:!D(e),options:s.options,getChildrenText:Ut,skipChildren:function(){o=!0}},u=_(e)||function(e){return"customInline"===e.type}(e)?a(e,l,s.convertors):a(e,l);u&&((Array.isArray(u)?u:[u]).forEach(function(r,n){"openTag"===r.type&&t.options.nodeId&&0===n&&(r.attributes||(r.attributes={}),r.attributes["data-nodeid"]=String(e.id)),t.renderHTMLNode(r)}),o&&(r.resumeAt(e,!1),r.next()))},s=this;n=r.next();)i();return this.addNewLine(),this.buffer.join("")},e.prototype.renderHTMLNode=function(e){switch(e.type){case"openTag":case"closeTag":this.renderElementNode(e);break;case"text":this.renderTextNode(e);break;case"html":this.renderRawHtmlNode(e)}},e.prototype.generateOpenTagString=function(e){var t=this,r=e.tagName,n=e.classNames,i=e.attributes;this.buffer.push("<"+r),n&&n.length>0&&this.buffer.push(' class="'+n.join(" ")+'"'),i&&Object.keys(i).forEach(function(e){var r=i[e];null!=r&&("class"===e&&""===r||t.buffer.push(" "+e+'="'+r+'"'))}),e.selfClose&&this.buffer.push(" /"),this.buffer.push(">")},e.prototype.generateCloseTagString=function(e){var t=e.tagName;this.buffer.push("</"+t+">")},e.prototype.addNewLine=function(){this.buffer.length&&"\n"!==ie(ie(this.buffer))&&this.buffer.push("\n")},e.prototype.addOuterNewLine=function(e){e.outerNewLine&&this.addNewLine()},e.prototype.addInnerNewLine=function(e){e.innerNewLine&&this.addNewLine()},e.prototype.renderTextNode=function(e){this.buffer.push(C(e.content))},e.prototype.renderRawHtmlNode=function(e){this.addOuterNewLine(e),this.buffer.push(e.content),this.addOuterNewLine(e)},e.prototype.renderElementNode=function(e){"openTag"===e.type?(this.addOuterNewLine(e),this.generateOpenTagString(e),e.selfClose?this.addOuterNewLine(e):this.addInnerNewLine(e)):(this.addInnerNewLine(e),this.generateCloseTagString(e),this.addOuterNewLine(e))},e}(),zt=exports;for(var Gt in n)zt[Gt]=n[Gt];n.__esModule&&Object.defineProperty(zt,"__esModule",{value:!0})}();
package/package.json ADDED
@@ -0,0 +1,37 @@
1
+ {
2
+ "name": "@techie_doubts/toastmark",
3
+ "version": "0.0.1-alpha.1",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
7
+ "description": "ToastMark - Incremental markdown parser extended from CommonMark.js",
8
+ "scripts": {
9
+ "lint": "eslint .",
10
+ "test:types": "tsc",
11
+ "test": "jest --watch",
12
+ "test:ci": "jest",
13
+ "serve": "snowpack dev",
14
+ "serve:ie": "webpack serve",
15
+ "build": "rollup -c && webpack build"
16
+ },
17
+ "types": "types/index.d.ts",
18
+ "files": [
19
+ "dist",
20
+ "types"
21
+ ],
22
+ "keywords": [
23
+ "markdown",
24
+ "parser"
25
+ ],
26
+ "author": "NHN",
27
+ "main": "dist/toastmark.js",
28
+ "module": "dist/esm/index.js",
29
+ "license": "MIT",
30
+ "devDependencies": {
31
+ "@types/codemirror": "5.60.5",
32
+ "@types/mdurl": "^1.0.2",
33
+ "codemirror": "^5.51.0",
34
+ "entities": "^2.0.0",
35
+ "mdurl": "^1.0.1"
36
+ }
37
+ }
@@ -0,0 +1,37 @@
1
+ export {
2
+ BlockNodeType,
3
+ InlineNodeType,
4
+ MdNodeType,
5
+ NodeWalker,
6
+ MdNode,
7
+ BlockMdNode,
8
+ ListData,
9
+ ListMdNode,
10
+ ListItemMdNode,
11
+ HeadingMdNode,
12
+ CodeBlockMdNode,
13
+ TableColumn,
14
+ TableMdNode,
15
+ TableCellMdNode,
16
+ CustomBlockMdNode,
17
+ HtmlBlockMdNode,
18
+ LinkMdNode,
19
+ CodeMdNode,
20
+ CustomInlineMdNode,
21
+ Pos as MdPos,
22
+ Sourcepos,
23
+ } from './node';
24
+ export { ToastMark, EditResult } from './toastMark';
25
+ export {
26
+ HTMLConvertor,
27
+ HTMLConvertorMap,
28
+ RendererOptions,
29
+ Context,
30
+ OpenTagToken,
31
+ CloseTagToken,
32
+ TextToken,
33
+ RawHTMLToken,
34
+ HTMLToken,
35
+ HTMLRenderer as Renderer,
36
+ } from './renderer';
37
+ export { ParserOptions, BlockParser as Parser, CustomParserMap } from './parser';
@@ -0,0 +1,169 @@
1
+ export type BlockNodeType =
2
+ | 'document'
3
+ | 'list'
4
+ | 'blockQuote'
5
+ | 'item'
6
+ | 'heading'
7
+ | 'thematicBreak'
8
+ | 'paragraph'
9
+ | 'codeBlock'
10
+ | 'htmlBlock'
11
+ | 'table'
12
+ | 'tableHead'
13
+ | 'tableBody'
14
+ | 'tableRow'
15
+ | 'tableCell'
16
+ | 'tableDelimRow'
17
+ | 'tableDelimCell'
18
+ | 'refDef'
19
+ | 'customBlock'
20
+ | 'frontMatter';
21
+
22
+ export type InlineNodeType =
23
+ | 'code'
24
+ | 'text'
25
+ | 'emph'
26
+ | 'strong'
27
+ | 'strike'
28
+ | 'mark'
29
+ | 'superscript'
30
+ | 'subscript'
31
+ | 'underline'
32
+ | 'link'
33
+ | 'image'
34
+ | 'htmlInline'
35
+ | 'linebreak'
36
+ | 'softbreak'
37
+ | 'customInline';
38
+
39
+ export type MdNodeType = BlockNodeType | InlineNodeType;
40
+
41
+ export type Pos = [number, number];
42
+ export type Sourcepos = [Pos, Pos];
43
+
44
+ export interface NodeWalker {
45
+ current: MdNode | null;
46
+ root: MdNode;
47
+ entering: boolean;
48
+
49
+ next(): { entering: boolean; node: MdNode } | null;
50
+ resumeAt(node: MdNode, entering: boolean): void;
51
+ }
52
+
53
+ export interface MdNode {
54
+ type: MdNodeType;
55
+ id: number;
56
+ parent: MdNode | null;
57
+ prev: MdNode | null;
58
+ next: MdNode | null;
59
+ sourcepos?: Sourcepos;
60
+ firstChild: MdNode | null;
61
+ lastChild: MdNode | null;
62
+ literal: string | null;
63
+
64
+ isContainer(): boolean;
65
+ unlink(): void;
66
+ replaceWith(node: MdNode): void;
67
+ insertAfter(node: MdNode): void;
68
+ insertBefore(node: MdNode): void;
69
+ appendChild(child: MdNode): void;
70
+ prependChild(child: MdNode): void;
71
+ walker(): NodeWalker;
72
+ }
73
+
74
+ export interface BlockMdNode extends MdNode {
75
+ type: BlockNodeType;
76
+
77
+ // temporal data (for parsing)
78
+ open: boolean;
79
+ lineOffsets: number[] | null;
80
+ stringContent: string | null;
81
+ lastLineBlank: boolean;
82
+ lastLineChecked: boolean;
83
+ }
84
+
85
+ export interface ListData {
86
+ type: 'ordered' | 'bullet';
87
+ tight: boolean;
88
+ start: number;
89
+ bulletChar: string;
90
+ delimiter: string;
91
+ markerOffset: number;
92
+ padding: number;
93
+ task: boolean;
94
+ checked: boolean;
95
+ }
96
+
97
+ export interface ListMdNode extends BlockMdNode {
98
+ listData: ListData | null;
99
+ }
100
+
101
+ export interface ListItemMdNode extends BlockMdNode {
102
+ parent: MdNode;
103
+ listData: ListData;
104
+ }
105
+
106
+ export interface HeadingMdNode extends BlockMdNode {
107
+ level: number;
108
+ headingType: 'atx' | 'setext';
109
+ }
110
+
111
+ export interface CodeBlockMdNode extends BlockMdNode {
112
+ fenceOffset: number;
113
+ fenceLength: number;
114
+ fenceChar: string | null;
115
+ info: string | null;
116
+ infoPadding: number;
117
+ }
118
+
119
+ export interface TableColumn {
120
+ align: 'left' | 'center' | 'right' | null;
121
+ }
122
+
123
+ export interface TableMdNode extends BlockMdNode {
124
+ columns: TableColumn[];
125
+ }
126
+
127
+ export interface TableCellMdNode extends BlockMdNode {
128
+ startIdx: number;
129
+ endIdx: number;
130
+ paddingLeft: number;
131
+ paddingRight: number;
132
+ ignored: boolean;
133
+ attrs?: Record<string, any>;
134
+ }
135
+
136
+ export interface CustomBlockMdNode extends BlockMdNode {
137
+ disabledEntityParse?: boolean;
138
+ }
139
+
140
+ export interface RefDefMdNode extends BlockMdNode {
141
+ title: string;
142
+ dest: string;
143
+ label: string;
144
+ }
145
+
146
+ export interface CustomBlockMdNode extends BlockMdNode {
147
+ syntaxLength: number;
148
+ offset: number;
149
+ info: string;
150
+ }
151
+
152
+ export interface HtmlBlockMdNode extends BlockMdNode {
153
+ htmlBlockType: number;
154
+ }
155
+
156
+ export interface LinkMdNode extends MdNode {
157
+ destination: string | null;
158
+ title: string | null;
159
+ extendedAutolink: boolean;
160
+ lastChild: MdNode;
161
+ }
162
+
163
+ export interface CodeMdNode extends MdNode {
164
+ tickCount: number;
165
+ }
166
+
167
+ export interface CustomInlineMdNode extends MdNode {
168
+ info: string;
169
+ }