|
|
|
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):(e="undefined"!=typeof globalThis?globalThis:e||self).markdownit=r()}(this,(function(){"use strict";function e(e){if(e.__esModule)return e;var r=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}var r={Aacute:"\xc1",aacute:"\xe1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223e",acd:"\u223f",acE:"\u223e\u0333",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",Acy:"\u0410",acy:"\u0430",AElig:"\xc6",aelig:"\xe6",af:"\u2061",Afr:"\ud835\udd04",afr:"\ud835\udd1e",Agrave:"\xc0",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03b1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2a3f",amp:"&",AMP:"&",andand:"\u2a55",And:"\u2a53",and:"\u2227",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angmsd:"\u2221",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",Aogon:"\u0104",aogon:"\u0105",Aopf:"\ud835\udd38",aopf:"\ud835\udd52",apacir:"\u2a6f",ap:"\u2248",apE:"\u2a70",ape:"\u224a",apid:"\u224b",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224a",Aring:"\xc5",aring:"\xe5",Ascr:"\ud835\udc9c",ascr:"\ud835\udcb6",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224d",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",awconint:"\u2233",awint:"\u2a11",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",Backslash:"\u2216",Barv:"\u2ae7",barvee:"\u22bd",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",Bernoullis:"\u212c",Beta:"\u0392",beta:"\u03b2",beth:"\u2136",between:"\u226c",Bfr:"\ud835\udd05",bfr:"\ud835\udd1f",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bNot:"\u2aed",bnot:"\u2310",Bopf:"\ud835\udd39",bopf:"\ud835\udd53",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxbox:"\u29c9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250c",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252c",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxul:"\u2518",boxuL:"\u255b",boxUl:"\u255c",boxUL:"\u255d",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255a",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253c",boxvH:"\u256a",boxVh:"\u256b",boxVH:"\u256c",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251c",boxvR:"\u255e",boxVr:"\u255f",boxVR:"\u2560",bprime:"\u2035",breve:"\u02d8",Breve:"\u02d8",brvbar:"\xa6",bscr:"\ud835\udcb7",Bscr:"\u212c",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsolb:"\u29c5",bsol:"\\",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpE:"\u2aae",bumpe:"\u224f",Bumpeq:"\u224e",bumpeq:"\u224f",Cacute:"\u0106",cacute:"\u0107",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",cap:"\u2229",Cap:"\u22d2",capcup:"\u2a47",capdot:"\u2a40",CapitalDifferentialD:"\u2145",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",Cayleys:"\u212d",ccaps:"\u2a4d",Ccaron:"\u010c",ccaron:"\u010d",Ccedil:"\xc7",ccedil:"\xe7",Ccirc:"\
|
|
|
|
/*! https://mths.be/punycode v1.4.1 by @mathias */function jr(e){throw new RangeError(Br[e])}function Ur(e,r){for(var t=e.length,n=[];t--;)n[t]=r(e[t]);return n}function Vr(e,r){var t=e.split("@"),n="";return t.length>1&&(n=t[0]+"@",e=t[1]),n+Ur((e=e.replace(Mr,".")).split("."),r).join(".")}function Zr(e){for(var r,t,n=[],s=0,o=e.length;s<o;)(r=e.charCodeAt(s++))>=55296&&r<=56319&&s<o?56320==(64512&(t=e.charCodeAt(s++)))?n.push(((1023&r)<<10)+(1023&t)+65536):(n.push(r),s--):n.push(r);return n}function $r(e){return Ur(e,(function(e){var r="";return e>65535&&(r+=Pr((e-=65536)>>>10&1023|55296),e=56320|1023&e),r+=Pr(e)})).join("")}function Gr(e,r){return e+22+75*(e<26)-((0!=r)<<5)}function Hr(e,r,t){var n=0;for(e=t?Or(e/Fr):e>>1,e+=Or(e/r);e>Nr*qr>>1;n+=Dr)e=Or(e/Nr);return Or(n+(Nr+1)*e/(e+Sr))}function Jr(e){var r,t,n,s,o,i,a,c,l,u,p,h=[],f=e.length,d=0,m=zr,g=Lr;for((t=e.lastIndexOf(Tr))<0&&(t=0),n=0;n<t;++n)e.charCodeAt(n)>=128&&jr("not-basic"),h.push(e.charCodeAt(n));for(s=t>0?t+1:0;s<f;){for(o=d,i=1,a=Dr;s>=f&&jr("invalid-input"),((c=(p=e.charCodeAt(s++))-48<10?p-22:p-65<26?p-65:p-97<26?p-97:Dr)>=Dr||c>Or((wr-d)/i))&&jr("overflow"),d+=c*i,!(c<(l=a<=g?Er:a>=g+qr?qr:a-g));a+=Dr)i>Or(wr/(u=Dr-l))&&jr("overflow"),i*=u;g=Hr(d-o,r=h.length+1,0==o),Or(d/r)>wr-m&&jr("overflow"),m+=Or(d/r),d%=r,h.splice(d++,0,m)}return $r(h)}function Wr(e){var r,t,n,s,o,i,a,c,l,u,p,h,f,d,m,g=[];for(h=(e=Zr(e)).length,r=zr,t=0,o=Lr,i=0;i<h;++i)(p=e[i])<128&&g.push(Pr(p));for(n=s=g.length,s&&g.push(Tr);n<h;){for(a=wr,i=0;i<h;++i)(p=e[i])>=r&&p<a&&(a=p);for(a-r>Or((wr-t)/(f=n+1))&&jr("overflow"),t+=(a-r)*f,r=a,i=0;i<h;++i)if((p=e[i])<r&&++t>wr&&jr("overflow"),p==r){for(c=t,l=Dr;!(c<(u=l<=o?Er:l>=o+qr?qr:l-o));l+=Dr)m=c-u,d=Dr-u,g.push(Pr(Gr(u+m%d,0))),c=Or(m/d);g.push(Pr(Gr(c,0))),o=Hr(t,f,n==s),t=0,++n}++t,++r}return g.join("")}function Yr(e){return Vr(e,(function(e){return Ir.test(e)?Jr(e.slice(4).toLowerCase()):e}))}function Kr(e){return Vr(e,(function(e){return Rr.test(e)?"xn--"+Wr(e):e}))}var Qr="1.4.1",Xr={decode:Zr,encode:$r},et={version:Qr,ucs2:Xr,toASCII:Kr,toUnicode:Yr,encode:Wr,decode:Jr},rt=e(Object.freeze({__proto__:null,decode:Jr,encode:Wr,toUnicode:Yr,toASCII:Kr,version:Qr,ucs2:Xr,default:et})),tt={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},nt=/^(vbscript|javascript|file|data):/,st=/^data:image\/(gif|png|jpeg|webp);/;function ot(e){var r=e.trim().toLowerCase();return!nt.test(r)||!!st.test(r)}var it=["http:","https:","mailto:"];function at(e){var r=y.parse(e,!0);if(r.hostname&&(!r.protocol||it.indexOf(r.protocol)>=0))try{r.hostname=rt.toASCII(r.hostname)}catch(e){}return y.encode(y.format(r))}function ct(e){var r=y.parse(e,!0);if(r.hostname&&(!r.protocol||it.indexOf(r.protocol)>=0))try{r.hostname=rt.toUnicode(r.hostname)}catch(e){}return y.decode(y.format(r),y.decode.defaultChars+"%")}function lt(e,r){if(!(this instanceof lt))return new lt(e,r);r||D.isString(e)||(r=e||{},e="default"),this.inline=new ur,this.block=new ze,this.core=new ue,this.renderer=new B,this.linkify=new xr,this.validateLink=ot,this.normalizeLink=at,this.normalizeLinkText=ct,this.util
|