@mathcrowd/mmarked 3.1.3 → 3.1.4

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.
package/dist/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";var t=require("crypto"),e=require("buffer"),n=require("highlight.js"),r=require("highlight.js/lib/languages/javascript"),s=require("highlight.js/lib/languages/json"),i=require("highlight.js/lib/languages/latex"),o=require("highlight.js/lib/languages/python"),a=require("mathjax-full/js/adaptors/liteAdaptor.js"),l=require("mathjax-full/js/handlers/html.js"),c=require("mathjax-full/js/input/tex/AllPackages.js"),u=require("mathjax-full/js/input/tex.js"),p=require("mathjax-full/js/mathjax.js"),h=require("mathjax-full/js/output/svg.js");var f={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function d(t){f=t}var g={exec:()=>null};function m(t,e=""){let n="string"==typeof t?t:t.source,r={replace:(t,e)=>{let s="string"==typeof e?e:e.source;return s=s.replace(b.caret,"$1"),n=n.replace(t,s),r},getRegex:()=>RegExp(n,e)};return r}var k=(()=>{try{return!!RegExp("(?<=1)(?<!1)")}catch{return!1}})(),b={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>RegExp(`^( {0,3}${t})((?:[\t ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),hrRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}>`)},x=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,I=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,w=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,y=m(w).replace(/bull/g,I).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),$=m(w).replace(/bull/g,I).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),v=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,S=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,A=m(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",S).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),q=m(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,I).getRegex(),_="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[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",j=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,R=m("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",j).replace("tag",_).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),z=m(v).replace("hr",x).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_).getRegex(),P={blockquote:m(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",z).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:A,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:x,html:R,lheading:y,list:q,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:z,table:g,text:/^[^\n]+/},T=m("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",x).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_).getRegex(),L={...P,lheading:$,table:T,paragraph:m(v).replace("hr",x).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",T).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",_).getRegex()},D={...P,html:m("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",j).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:g,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:m(v).replace("hr",x).replace("heading"," *#{1,6} *[^\n]").replace("lheading",y).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},N=/^( {2,}|\\)\n(?!\s*$)/,M=/[\p{P}\p{S}]/u,E=/[\s\p{P}\p{S}]/u,O=/[^\s\p{P}\p{S}]/u,C=m(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,E).getRegex(),B=/(?!~)[\p{P}\p{S}]/u,Z=m(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",k?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),U=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,X=m(U,"u").replace(/punct/g,M).getRegex(),H=m(U,"u").replace(/punct/g,B).getRegex(),F="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",K=m(F,"gu").replace(/notPunctSpace/g,O).replace(/punctSpace/g,E).replace(/punct/g,M).getRegex(),Q=m(F,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,B).getRegex(),G=m("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,O).replace(/punctSpace/g,E).replace(/punct/g,M).getRegex(),J=m(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,M).getRegex(),W=m("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,O).replace(/punctSpace/g,E).replace(/punct/g,M).getRegex(),V=m(/\\(punct)/,"gu").replace(/punct/g,M).getRegex(),Y=m(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[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])?)+(?![-_])/).getRegex(),tt=m(j).replace("(?:--\x3e|$)","--\x3e").getRegex(),et=m("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",tt).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),nt=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,rt=m(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",nt).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),st=m(/^!?\[(label)\]\[(ref)\]/).replace("label",nt).replace("ref",S).getRegex(),it=m(/^!?\[(ref)\](?:\[\])?/).replace("ref",S).getRegex(),ot=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,at={t:g,anyPunctuation:V,autolink:Y,blockSkip:Z,br:N,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:g,delLDelim:g,delRDelim:g,emStrongLDelim:X,emStrongRDelimAst:K,emStrongRDelimUnd:G,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:rt,nolink:it,punctuation:C,reflink:st,reflinkSearch:m("reflink|nolink(?!\\()","g").replace("reflink",st).replace("nolink",it).getRegex(),tag:et,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:g},lt={...at,link:m(/^!?\[(label)\]\((.*?)\)/).replace("label",nt).getRegex(),reflink:m(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",nt).getRegex()},ct={...at,emStrongRDelimAst:Q,emStrongLDelim:H,delLDelim:J,delRDelim:W,url:m(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",ot).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),t:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:m(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",ot).getRegex()},ut={...ct,br:m(N).replace("{2,}","*").getRegex(),text:m(ct.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},pt={normal:P,gfm:L,pedantic:D},ht={normal:at,gfm:ct,breaks:ut,pedantic:lt},ft={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},dt=t=>ft[t];function gt(t,e){if(e){if(b.escapeTest.test(t))return t.replace(b.escapeReplace,dt)}else if(b.escapeTestNoEncode.test(t))return t.replace(b.escapeReplaceNoEncode,dt);return t}function mt(t){try{t=encodeURI(t).replace(b.percentDecode,"%")}catch{return null}return t}function kt(t,e){let n=t.replace(b.findPipe,(t,e,n)=>{let r=!1,s=e;for(;--s>=0&&"\\"===n[s];)r=!r;return r?"|":" |"}).split(b.splitPipe),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;e>n.length;)n.push("");for(;n.length>r;r++)n[r]=n[r].trim().replace(b.slashPipe,"|");return n}function bt(t,e,n){let r=t.length;if(0===r)return"";let s=0;for(;r>s&&t.charAt(r-s-1)===e;)s++;return t.slice(0,r-s)}function xt(t,e=0){let n=e,r="";for(let e of t)if("\t"===e){let t=4-n%4;r+=" ".repeat(t),n+=t}else r+=e,n++;return r}function It(t,e,n,r,s){let i=e.href,o=e.title||null,a=t[1].replace(s.other.outputLinkReplace,"$1");r.state.inLink=!0;let l={type:"!"===t[0].charAt(0)?"image":"link",raw:n,href:i,title:o,text:a,tokens:r.inlineTokens(a)};return r.state.inLink=!1,l}var wt=class{options;rules;lexer;constructor(t){this.options=t||f}space(t){let e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){let e=this.rules.block.code.exec(t);if(e){let t=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?t:bt(t,"\n")}}}fences(t){let e=this.rules.block.fences.exec(t);if(e){let t=e[0],n=function(t,e,n){let r=t.match(n.other.indentCodeCompensation);if(null===r)return e;let s=r[1];return e.split("\n").map(t=>{let e=t.match(n.other.beginningSpace);if(null===e)return t;let[r]=e;return s.length>r.length?t:t.slice(s.length)}).join("\n")}(t,e[3]||"",this.rules);return{type:"code",raw:t,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:n}}}heading(t){let e=this.rules.block.heading.exec(t);if(e){let t=e[2].trim();if(this.rules.other.endingHash.test(t)){let e=bt(t,"#");(this.options.pedantic||!e||this.rules.other.endingSpaceChar.test(e))&&(t=e.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:t,tokens:this.lexer.inline(t)}}}hr(t){let e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:bt(e[0],"\n")}}blockquote(t){let e=this.rules.block.blockquote.exec(t);if(e){let t=bt(e[0],"\n").split("\n"),n="",r="",s=[];for(;t.length>0;){let e,i=!1,o=[];for(e=0;t.length>e;e++)if(this.rules.other.blockquoteStart.test(t[e]))o.push(t[e]),i=!0;else{if(i)break;o.push(t[e])}t=t.slice(e);let a=o.join("\n"),l=a.replace(this.rules.other.blockquoteSetextReplace,"\n $1").replace(this.rules.other.blockquoteSetextReplace2,"");n=n?`${n}\n${a}`:a,r=r?`${r}\n${l}`:l;let c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,s,!0),this.lexer.state.top=c,0===t.length)break;let u=s.at(-1);if("code"===u?.type)break;if("blockquote"===u?.type){let e=u,i=e.raw+"\n"+t.join("\n"),o=this.blockquote(i);s[s.length-1]=o,n=n.substring(0,n.length-e.raw.length)+o.raw,r=r.substring(0,r.length-e.text.length)+o.text;break}if("list"===u?.type){let e=u,i=e.raw+"\n"+t.join("\n"),o=this.list(i);s[s.length-1]=o,n=n.substring(0,n.length-u.raw.length)+o.raw,r=r.substring(0,r.length-e.raw.length)+o.raw,t=i.substring(s.at(-1).raw.length).split("\n");continue}}return{type:"blockquote",raw:n,tokens:s,text:r}}}list(t){let e=this.rules.block.list.exec(t);if(e){let n=e[1].trim(),r=n.length>1,s={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?"\\d{1,9}\\"+n.slice(-1):"\\"+n,this.options.pedantic&&(n=r?n:"[*+-]");let i=this.rules.other.listItemRegex(n),o=!1;for(;t;){let n=!1,r="",a="";if(!(e=i.exec(t))||this.rules.block.hr.test(t))break;r=e[0],t=t.substring(r.length);let l=xt(e[2].split("\n",1)[0],e[1].length),c=t.split("\n",1)[0],u=!l.trim(),p=0;if(this.options.pedantic?(p=2,a=l.trimStart()):u?p=e[1].length+1:(p=l.search(this.rules.other.nonSpaceChar),p=p>4?1:p,a=l.slice(p),p+=e[1].length),u&&this.rules.other.blankLine.test(c)&&(r+=c+"\n",t=t.substring(c.length+1),n=!0),!n){let e=this.rules.other.nextBulletRegex(p),n=this.rules.other.hrRegex(p),s=this.rules.other.fencesBeginRegex(p),i=this.rules.other.headingBeginRegex(p),o=this.rules.other.htmlBeginRegex(p),h=this.rules.other.blockquoteBeginRegex(p);for(;t;){let f,d=t.split("\n",1)[0];if(c=d,this.options.pedantic?(c=c.replace(this.rules.other.listReplaceNesting," "),f=c):f=c.replace(this.rules.other.tabCharGlobal," "),s.test(c)||i.test(c)||o.test(c)||h.test(c)||e.test(c)||n.test(c))break;if(f.search(this.rules.other.nonSpaceChar)<p&&c.trim()){if(u||l.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||s.test(l)||i.test(l)||n.test(l))break;a+="\n"+c}else a+="\n"+f.slice(p);u=!c.trim(),r+=d+"\n",t=t.substring(d.length+1),l=f.slice(p)}}s.loose||(o?s.loose=!0:this.rules.other.doubleBlankLine.test(r)&&(o=!0)),s.items.push({type:"list_item",raw:r,task:!!this.options.gfm&&this.rules.other.listIsTask.test(a),loose:!1,text:a,tokens:[]}),s.raw+=r}let a=s.items.at(-1);if(!a)return;a.raw=a.raw.trimEnd(),a.text=a.text.trimEnd(),s.raw=s.raw.trimEnd();for(let t of s.items){if(this.lexer.state.top=!1,t.tokens=this.lexer.blockTokens(t.text,[]),t.task){if(t.text=t.text.replace(this.rules.other.listReplaceTask,""),"text"===t.tokens[0]?.type||"paragraph"===t.tokens[0]?.type){t.tokens[0].raw=t.tokens[0].raw.replace(this.rules.other.listReplaceTask,""),t.tokens[0].text=t.tokens[0].text.replace(this.rules.other.listReplaceTask,"");for(let t=this.lexer.inlineQueue.length-1;t>=0;t--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[t].src)){this.lexer.inlineQueue[t].src=this.lexer.inlineQueue[t].src.replace(this.rules.other.listReplaceTask,"");break}}let e=this.rules.other.listTaskCheckbox.exec(t.raw);if(e){let n={type:"checkbox",raw:e[0]+" ",checked:"[ ]"!==e[0]};t.checked=n.checked,s.loose?t.tokens[0]&&["paragraph","text"].includes(t.tokens[0].type)&&"tokens"in t.tokens[0]&&t.tokens[0].tokens?(t.tokens[0].raw=n.raw+t.tokens[0].raw,t.tokens[0].text=n.raw+t.tokens[0].text,t.tokens[0].tokens.unshift(n)):t.tokens.unshift({type:"paragraph",raw:n.raw,text:n.raw,tokens:[n]}):t.tokens.unshift(n)}}if(!s.loose){let e=t.tokens.filter(t=>"space"===t.type),n=e.length>0&&e.some(t=>this.rules.other.anyLine.test(t.raw));s.loose=n}}if(s.loose)for(let t of s.items){t.loose=!0;for(let e of t.tokens)"text"===e.type&&(e.type="paragraph")}return s}}html(t){let e=this.rules.block.html.exec(t);if(e)return{type:"html",block:!0,raw:e[0],pre:"pre"===e[1]||"script"===e[1]||"style"===e[1],text:e[0]}}def(t){let e=this.rules.block.def.exec(t);if(e){let t=e[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),n=e[2]?e[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:t,raw:e[0],href:n,title:r}}}table(t){let e=this.rules.block.table.exec(t);if(!e||!this.rules.other.tableDelimiter.test(e[2]))return;let n=kt(e[1]),r=e[2].replace(this.rules.other.tableAlignChars,"").split("|"),s=e[3]?.trim()?e[3].replace(this.rules.other.tableRowBlankLine,"").split("\n"):[],i={type:"table",raw:e[0],header:[],align:[],rows:[]};if(n.length===r.length){for(let t of r)this.rules.other.tableAlignRight.test(t)?i.align.push("right"):this.rules.other.tableAlignCenter.test(t)?i.align.push("center"):this.rules.other.tableAlignLeft.test(t)?i.align.push("left"):i.align.push(null);for(let t=0;n.length>t;t++)i.header.push({text:n[t],tokens:this.lexer.inline(n[t]),header:!0,align:i.align[t]});for(let t of s)i.rows.push(kt(t,i.header.length).map((t,e)=>({text:t,tokens:this.lexer.inline(t),header:!1,align:i.align[e]})));return i}}lheading(t){let e=this.rules.block.lheading.exec(t);if(e){let t=e[1].trim();return{type:"heading",raw:e[0],depth:"="===e[2].charAt(0)?1:2,text:t,tokens:this.lexer.inline(t)}}}paragraph(t){let e=this.rules.block.paragraph.exec(t);if(e){let t="\n"===e[1].charAt(e[1].length-1)?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:t,tokens:this.lexer.inline(t)}}}text(t){let e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){let e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(t){let e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){let e=this.rules.inline.link.exec(t);if(e){let t=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(t)){if(!this.rules.other.endAngleBracket.test(t))return;let e=bt(t.slice(0,-1),"\\");if((t.length-e.length)%2==0)return}else{let t=function(t){if(-1===t.indexOf(")"))return-1;let e=0;for(let n=0;t.length>n;n++)if("\\"===t[n])n++;else if("("===t[n])e++;else if(")"===t[n]&&(e--,0>e))return n;return e>0?-2:-1}(e[2]);if(-2===t)return;if(t>-1){let n=(0===e[0].indexOf("!")?5:4)+e[1].length+t;e[2]=e[2].substring(0,t),e[0]=e[0].substring(0,n).trim(),e[3]=""}}let n=e[2],r="";if(this.options.pedantic){let t=this.rules.other.pedanticHrefTitle.exec(n);t&&(n=t[1],r=t[3])}else r=e[3]?e[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(n=this.options.pedantic&&!this.rules.other.endAngleBracket.test(t)?n.slice(1):n.slice(1,-1)),It(e,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:r&&r.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer,this.rules)}}reflink(t,e){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){let t=e[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!t){let t=n[0].charAt(0);return{type:"text",raw:t,text:t}}return It(n,t,n[0],this.lexer,this.rules)}}emStrong(t,e,n=""){let r=this.rules.inline.emStrongLDelim.exec(t);if(r&&(r[1]||r[2]||r[3]||r[4])&&(!r[4]||!n.match(this.rules.other.unicodeAlphaNumeric))&&(!r[1]&&!r[3]||!n||this.rules.inline.punctuation.exec(n))){let n,s,i=[...r[0]].length-1,o=i,a=0,l="*"===r[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,e=e.slice(-1*t.length+i);null!=(r=l.exec(e));){if(n=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!n)continue;if(s=[...n].length,r[3]||r[4]){o+=s;continue}if((r[5]||r[6])&&i%3&&!((i+s)%3)){a+=s;continue}if(o-=s,o>0)continue;s=Math.min(s,s+o+a);let e=[...r[0]][0].length,l=t.slice(0,i+r.index+e+s);if(Math.min(i,s)%2){let t=l.slice(1,-1);return{type:"em",raw:l,text:t,tokens:this.lexer.inlineTokens(t)}}let c=l.slice(2,-2);return{type:"strong",raw:l,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(t){let e=this.rules.inline.code.exec(t);if(e){let t=e[2].replace(this.rules.other.newLineCharGlobal," "),n=this.rules.other.nonSpaceChar.test(t),r=this.rules.other.startingSpaceChar.test(t)&&this.rules.other.endingSpaceChar.test(t);return n&&r&&(t=t.substring(1,t.length-1)),{type:"codespan",raw:e[0],text:t}}}br(t){let e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t,e,n=""){let r=this.rules.inline.delLDelim.exec(t);if(r&&(!r[1]||!n||this.rules.inline.punctuation.exec(n))){let n,s,i=[...r[0]].length-1,o=i,a=this.rules.inline.delRDelim;for(a.lastIndex=0,e=e.slice(-1*t.length+i);null!=(r=a.exec(e));){if(n=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!n||(s=[...n].length,s!==i))continue;if(r[3]||r[4]){o+=s;continue}if(o-=s,o>0)continue;s=Math.min(s,s+o);let e=[...r[0]][0].length,a=t.slice(0,i+r.index+e+s),l=a.slice(i,-i);return{type:"del",raw:a,text:l,tokens:this.lexer.inlineTokens(l)}}}}autolink(t){let e=this.rules.inline.autolink.exec(t);if(e){let t,n;return"@"===e[2]?(t=e[1],n="mailto:"+t):(t=e[1],n=t),{type:"link",raw:e[0],text:t,href:n,tokens:[{type:"text",raw:t,text:t}]}}}url(t){let e;if(e=this.rules.inline.url.exec(t)){let t,n;if("@"===e[2])t=e[0],n="mailto:"+t;else{let r;do{r=e[0],e[0]=this.rules.inline.t.exec(e[0])?.[0]??""}while(r!==e[0]);t=e[0],n="www."===e[1]?"http://"+e[0]:e[0]}return{type:"link",raw:e[0],text:t,href:n,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(t){let e=this.rules.inline.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],escaped:this.lexer.state.inRawBlock}}},yt=class t{tokens;options;state;inlineQueue;tokenizer;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||f,this.options.tokenizer=this.options.tokenizer||new wt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let e={other:b,block:pt.normal,inline:ht.normal};this.options.pedantic?(e.block=pt.pedantic,e.inline=ht.pedantic):this.options.gfm&&(e.block=pt.gfm,e.inline=this.options.breaks?ht.breaks:ht.gfm),this.tokenizer.rules=e}static get rules(){return{block:pt,inline:ht}}static lex(e,n){return new t(n).lex(e)}static lexInline(e,n){return new t(n).inlineTokens(e)}lex(t){t=t.replace(b.carriageReturn,"\n"),this.blockTokens(t,this.tokens);for(let t=0;this.inlineQueue.length>t;t++){let e=this.inlineQueue[t];this.inlineTokens(e.src,e.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,e=[],n=!1){for(this.tokenizer.lexer=this,this.options.pedantic&&(t=t.replace(b.tabCharGlobal," ").replace(b.spaceLine,""));t;){let r;if(this.options.extensions?.block?.some(n=>!!(r=n.call({lexer:this},t,e))&&(t=t.substring(r.raw.length),e.push(r),!0)))continue;if(r=this.tokenizer.space(t)){t=t.substring(r.raw.length);let n=e.at(-1);1===r.raw.length&&void 0!==n?n.raw+="\n":e.push(r);continue}if(r=this.tokenizer.code(t)){t=t.substring(r.raw.length);let n=e.at(-1);"paragraph"===n?.type||"text"===n?.type?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+r.raw,n.text+="\n"+r.text,this.inlineQueue.at(-1).src=n.text):e.push(r);continue}if(r=this.tokenizer.fences(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.heading(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.hr(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.blockquote(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.list(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.html(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.def(t)){t=t.substring(r.raw.length);let n=e.at(-1);"paragraph"===n?.type||"text"===n?.type?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+r.raw,n.text+="\n"+r.raw,this.inlineQueue.at(-1).src=n.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title},e.push(r));continue}if(r=this.tokenizer.table(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.lheading(t)){t=t.substring(r.raw.length),e.push(r);continue}let s=t;if(this.options.extensions?.startBlock){let e,n=1/0,r=t.slice(1);this.options.extensions.startBlock.forEach(t=>{e=t.call({lexer:this},r),"number"==typeof e&&e>=0&&(n=Math.min(n,e))}),1/0>n&&n>=0&&(s=t.substring(0,n+1))}if(this.state.top&&(r=this.tokenizer.paragraph(s))){let i=e.at(-1);n&&"paragraph"===i?.type?(i.raw+=(i.raw.endsWith("\n")?"":"\n")+r.raw,i.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=i.text):e.push(r),n=s.length!==t.length,t=t.substring(r.raw.length);continue}if(r=this.tokenizer.text(t)){t=t.substring(r.raw.length);let n=e.at(-1);"text"===n?.type?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+r.raw,n.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):e.push(r);continue}if(t){let e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw Error(e)}}return this.state.top=!0,e}inline(t,e=[]){return this.inlineQueue.push({src:t,tokens:e}),e}inlineTokens(t,e=[]){this.tokenizer.lexer=this;let n,r=t,s=null;if(this.tokens.links){let t=Object.keys(this.tokens.links);if(t.length>0)for(;null!=(s=this.tokenizer.rules.inline.reflinkSearch.exec(r));)t.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(s=this.tokenizer.rules.inline.anyPunctuation.exec(r));)r=r.slice(0,s.index)+"++"+r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!=(s=this.tokenizer.rules.inline.blockSkip.exec(r));)n=s[2]?s[2].length:0,r=r.slice(0,s.index+n)+"["+"a".repeat(s[0].length-n-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);r=this.options.hooks?.emStrongMask?.call({lexer:this},r)??r;let i=!1,o="";for(;t;){let n;if(i||(o=""),i=!1,this.options.extensions?.inline?.some(r=>!!(n=r.call({lexer:this},t,e))&&(t=t.substring(n.raw.length),e.push(n),!0)))continue;if(n=this.tokenizer.escape(t)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.tag(t)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.link(t)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(n.raw.length);let r=e.at(-1);"text"===n.type&&"text"===r?.type?(r.raw+=n.raw,r.text+=n.text):e.push(n);continue}if(n=this.tokenizer.emStrong(t,r,o)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.codespan(t)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.br(t)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.del(t,r,o)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.autolink(t)){t=t.substring(n.raw.length),e.push(n);continue}if(!this.state.inLink&&(n=this.tokenizer.url(t))){t=t.substring(n.raw.length),e.push(n);continue}let s=t;if(this.options.extensions?.startInline){let e,n=1/0,r=t.slice(1);this.options.extensions.startInline.forEach(t=>{e=t.call({lexer:this},r),"number"==typeof e&&e>=0&&(n=Math.min(n,e))}),1/0>n&&n>=0&&(s=t.substring(0,n+1))}if(n=this.tokenizer.inlineText(s)){t=t.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(o=n.raw.slice(-1)),i=!0;let r=e.at(-1);"text"===r?.type?(r.raw+=n.raw,r.text+=n.text):e.push(n);continue}if(t){let e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw Error(e)}}return e}},$t=class{options;parser;constructor(t){this.options=t||f}space(t){return""}code({text:t,lang:e,escaped:n}){let r=(e||"").match(b.notSpaceStart)?.[0],s=t.replace(b.endingNewline,"")+"\n";return r?'<pre><code class="language-'+gt(r)+'">'+(n?s:gt(s,!0))+"</code></pre>\n":"<pre><code>"+(n?s:gt(s,!0))+"</code></pre>\n"}blockquote({tokens:t}){return`<blockquote>\n${this.parser.parse(t)}</blockquote>\n`}html({text:t}){return t}def(t){return""}heading({tokens:t,depth:e}){return`<h${e}>${this.parser.parseInline(t)}</h${e}>\n`}hr(t){return"<hr>\n"}list(t){let e=t.ordered,n=t.start,r="";for(let e=0;t.items.length>e;e++)r+=this.listitem(t.items[e]);let s=e?"ol":"ul";return"<"+s+(e&&1!==n?' start="'+n+'"':"")+">\n"+r+"</"+s+">\n"}listitem(t){return`<li>${this.parser.parse(t.tokens)}</li>\n`}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>\n`}table(t){let e="",n="";for(let e=0;t.header.length>e;e++)n+=this.tablecell(t.header[e]);e+=this.tablerow({text:n});let r="";for(let e=0;t.rows.length>e;e++){let s=t.rows[e];n="";for(let t=0;s.length>t;t++)n+=this.tablecell(s[t]);r+=this.tablerow({text:n})}return r&&(r=`<tbody>${r}</tbody>`),"<table>\n<thead>\n"+e+"</thead>\n"+r+"</table>\n"}tablerow({text:t}){return`<tr>\n${t}</tr>\n`}tablecell(t){let e=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+`</${n}>\n`}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${gt(t,!0)}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:e,tokens:n}){let r=this.parser.parseInline(n),s=mt(t);if(null===s)return r;let i='<a href="'+(t=s)+'"';return e&&(i+=' title="'+gt(e)+'"'),i+=">"+r+"</a>",i}image({href:t,title:e,text:n,tokens:r}){r&&(n=this.parser.parseInline(r,this.parser.textRenderer));let s=mt(t);if(null===s)return gt(n);let i=`<img src="${t=s}" alt="${gt(n)}"`;return e&&(i+=` title="${gt(e)}"`),i+=">",i}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:gt(t.text)}},vt=class{strong({text:t}){return t}em({text:t}){return t}codespan({text:t}){return t}del({text:t}){return t}html({text:t}){return t}text({text:t}){return t}link({text:t}){return""+t}image({text:t}){return""+t}br(){return""}checkbox({raw:t}){return t}},St=class t{options;renderer;textRenderer;constructor(t){this.options=t||f,this.options.renderer=this.options.renderer||new $t,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new vt}static parse(e,n){return new t(n).parse(e)}static parseInline(e,n){return new t(n).parseInline(e)}parse(t){this.renderer.parser=this;let e="";for(let n=0;t.length>n;n++){let r=t[n];if(this.options.extensions?.renderers?.[r.type]){let t=r,n=this.options.extensions.renderers[t.type].call({parser:this},t);if(!1!==n||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(t.type)){e+=n||"";continue}}let s=r;switch(s.type){case"space":e+=this.renderer.space(s);break;case"hr":e+=this.renderer.hr(s);break;case"heading":e+=this.renderer.heading(s);break;case"code":e+=this.renderer.code(s);break;case"table":e+=this.renderer.table(s);break;case"blockquote":e+=this.renderer.blockquote(s);break;case"list":e+=this.renderer.list(s);break;case"checkbox":e+=this.renderer.checkbox(s);break;case"html":e+=this.renderer.html(s);break;case"def":e+=this.renderer.def(s);break;case"paragraph":e+=this.renderer.paragraph(s);break;case"text":e+=this.renderer.text(s);break;default:{let t='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(t),"";throw Error(t)}}}return e}parseInline(t,e=this.renderer){this.renderer.parser=this;let n="";for(let r=0;t.length>r;r++){let s=t[r];if(this.options.extensions?.renderers?.[s.type]){let t=this.options.extensions.renderers[s.type].call({parser:this},s);if(!1!==t||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){n+=t||"";continue}}let i=s;switch(i.type){case"escape":case"text":n+=e.text(i);break;case"html":n+=e.html(i);break;case"link":n+=e.link(i);break;case"image":n+=e.image(i);break;case"checkbox":n+=e.checkbox(i);break;case"strong":n+=e.strong(i);break;case"em":n+=e.em(i);break;case"codespan":n+=e.codespan(i);break;case"br":n+=e.br(i);break;case"del":n+=e.del(i);break;default:{let t='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(t),"";throw Error(t)}}}return n}},At=class{options;block;constructor(t){this.options=t||f}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}emStrongMask(t){return t}provideLexer(){return this.block?yt.lex:yt.lexInline}provideParser(){return this.block?St.parse:St.parseInline}},qt=class{defaults={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=St;Renderer=$t;TextRenderer=vt;Lexer=yt;Tokenizer=wt;Hooks=At;constructor(...t){this.use(...t)}walkTokens(t,e){let n=[];for(let r of t)switch(n=n.concat(e.call(this,r)),r.type){case"table":{let t=r;for(let r of t.header)n=n.concat(this.walkTokens(r.tokens,e));for(let r of t.rows)for(let t of r)n=n.concat(this.walkTokens(t.tokens,e));break}case"list":n=n.concat(this.walkTokens(r.items,e));break;default:{let t=r;this.defaults.extensions?.childTokens?.[t.type]?this.defaults.extensions.childTokens[t.type].forEach(r=>{let s=t[r].flat(1/0);n=n.concat(this.walkTokens(s,e))}):t.tokens&&(n=n.concat(this.walkTokens(t.tokens,e)))}}return n}use(...t){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(t=>{let n={...t};if(n.async=this.defaults.async||n.async||!1,t.extensions&&(t.extensions.forEach(t=>{if(!t.name)throw Error("extension name required");if("renderer"in t){let n=e.renderers[t.name];e.renderers[t.name]=n?function(...e){let r=t.renderer.apply(this,e);return!1===r&&(r=n.apply(this,e)),r}:t.renderer}if("tokenizer"in t){if(!t.level||"block"!==t.level&&"inline"!==t.level)throw Error("extension level must be 'block' or 'inline'");let n=e[t.level];n?n.unshift(t.tokenizer):e[t.level]=[t.tokenizer],t.start&&("block"===t.level?e.startBlock?e.startBlock.push(t.start):e.startBlock=[t.start]:"inline"===t.level&&(e.startInline?e.startInline.push(t.start):e.startInline=[t.start]))}"childTokens"in t&&t.childTokens&&(e.childTokens[t.name]=t.childTokens)}),n.extensions=e),t.renderer){let e=this.defaults.renderer||new $t(this.defaults);for(let n in t.renderer){if(!(n in e))throw Error(`renderer '${n}' does not exist`);if(["options","parser"].includes(n))continue;let r=t.renderer[n],s=e[n];e[n]=(...t)=>{let n=r.apply(e,t);return!1===n&&(n=s.apply(e,t)),n||""}}n.renderer=e}if(t.tokenizer){let e=this.defaults.tokenizer||new wt(this.defaults);for(let n in t.tokenizer){if(!(n in e))throw Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;let r=t.tokenizer[n],s=e[n];e[n]=(...t)=>{let n=r.apply(e,t);return!1===n&&(n=s.apply(e,t)),n}}n.tokenizer=e}if(t.hooks){let e=this.defaults.hooks||new At;for(let n in t.hooks){if(!(n in e))throw Error(`hook '${n}' does not exist`);if(["options","block"].includes(n))continue;let r=t.hooks[n],s=e[n];e[n]=At.passThroughHooks.has(n)?t=>{if(this.defaults.async&&At.passThroughHooksRespectAsync.has(n))return(async()=>{let n=await r.call(e,t);return s.call(e,n)})();let i=r.call(e,t);return s.call(e,i)}:(...t)=>{if(this.defaults.async)return(async()=>{let n=await r.apply(e,t);return!1===n&&(n=await s.apply(e,t)),n})();let n=r.apply(e,t);return!1===n&&(n=s.apply(e,t)),n}}n.hooks=e}if(t.walkTokens){let e=this.defaults.walkTokens,r=t.walkTokens;n.walkTokens=function(t){let n=[];return n.push(r.call(this,t)),e&&(n=n.concat(e.call(this,t))),n}}this.defaults={...this.defaults,...n}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return yt.lex(t,e??this.defaults)}parser(t,e){return St.parse(t,e??this.defaults)}parseMarkdown(t){return(e,n)=>{let r={...n},s={...this.defaults,...r},i=this.onError(!!s.silent,!!s.async);if(!0===this.defaults.async&&!1===r.async)return i(Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof e>"u"||null===e)return i(Error("marked(): input parameter is undefined or null"));if("string"!=typeof e)return i(Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));if(s.hooks&&(s.hooks.options=s,s.hooks.block=t),s.async)return(async()=>{let n=s.hooks?await s.hooks.preprocess(e):e,r=await(s.hooks?await s.hooks.provideLexer():t?yt.lex:yt.lexInline)(n,s),i=s.hooks?await s.hooks.processAllTokens(r):r;s.walkTokens&&await Promise.all(this.walkTokens(i,s.walkTokens));let o=await(s.hooks?await s.hooks.provideParser():t?St.parse:St.parseInline)(i,s);return s.hooks?await s.hooks.postprocess(o):o})().catch(i);try{s.hooks&&(e=s.hooks.preprocess(e));let n=(s.hooks?s.hooks.provideLexer():t?yt.lex:yt.lexInline)(e,s);s.hooks&&(n=s.hooks.processAllTokens(n)),s.walkTokens&&this.walkTokens(n,s.walkTokens);let r=(s.hooks?s.hooks.provideParser():t?St.parse:St.parseInline)(n,s);return s.hooks&&(r=s.hooks.postprocess(r)),r}catch(t){return i(t)}}}onError(t,e){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",t){let t="<p>An error occurred:</p><pre>"+gt(n.message+"",!0)+"</pre>";return e?Promise.resolve(t):t}if(e)return Promise.reject(n);throw n}}},_t=new qt;function jt(t,e){return _t.parse(t,e)}function Rt(t,e,n,r){return new(n||(n=Promise))(function(s,i){function o(t){try{l(r.next(t))}catch(t){i(t)}}function a(t){try{l(r.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?s(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(o,a)}l((r=r.apply(t,e||[])).next())})}jt.options=jt.setOptions=function(t){return _t.setOptions(t),d(jt.defaults=_t.defaults),jt},jt.getDefaults=function(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},jt.defaults=f,jt.use=function(...t){return _t.use(...t),d(jt.defaults=_t.defaults),jt},jt.walkTokens=function(t,e){return _t.walkTokens(t,e)},jt.parseInline=_t.parseInline,jt.Parser=St,jt.parser=St.parse,jt.Renderer=$t,jt.TextRenderer=vt,jt.Lexer=yt,jt.lexer=yt.lex,jt.Tokenizer=wt,jt.Hooks=At,jt.parse=jt,"function"==typeof SuppressedError&&SuppressedError;const zt=Kt;function Pt(){const t=Kt;if(!Bt())return"browser-session";try{if(typeof require!==t(538)){const e=require("crypto");if(e[t(543)])return e[t(543)]()}return t(525)[t(506)](/[xy]/g,function(e){const n=t,r=16*Math[n(537)]()|0;return("x"===e?r:3&r|8)[n(553)](16)})}catch(e){return t(516)+Date[t(524)]()+"-"+Math[t(537)]().toString(36)[t(517)](2,11)}}!function(){const t=Kt,e=Ht();for(;;)try{if(528065==parseInt(t(531))/1*(parseInt(t(559))/2)+parseInt(t(508))/3+-parseInt(t(522))/4+-parseInt(t(547))/5+parseInt(t(556))/6*(parseInt(t(550))/7)+-parseInt(t(546))/8+-parseInt(t(535))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),exports.UNLICENSED_WARNING_INTERVAL=1e3;let Tt=null;const Lt=new Map;let Dt=!1;const Nt=36e5,Mt=zt(511),Et=zt(503),Ot={totalCalls:0,renderMarkdownCalls:0,renderMarkdownCompactCalls:0,firstUsedAt:Date[zt(524)](),lastUsedAt:Date[zt(524)](),sessionId:Pt()};let Ct=null;function Bt(){const t=zt;return"undefined"!=typeof process&&null!=process.versions&&null!=process[t(529)][t(549)]}function Zt(){return Rt(this,void 0,void 0,function*(){const t=Kt;var e;if(!Bt())return;const n=Tt;if(!n||!n[t(539)])return;const r=Date.now();if(Ot[t(502)]&&18e5>r-Ot[t(502)])return;const s=Et;try{const i=Object[t(544)](Object[t(544)]({},Ot),{apiKey:n[t(539)],timestamp:r,nodeVersion:null===(e=process[t(529)])||void 0===e?void 0:e[t(549)]});typeof fetch!==t(538)&&(yield fetch(s,{method:"POST",headers:{"Content-Type":t(521)},body:JSON.stringify(i)}),Ot.lastReportedAt=r,console[t(561)]("[mmarked] Usage statistics reported successfully"))}catch(e){console[t(561)](t(548),e)}})}function Ut(t){const e=zt;var n;Bt()&&(Ot[e(513)]++,Ot[e(520)]=Date[e(524)](),t===e(528)?Ot[e(497)]++:t===e(500)&&Ot.renderMarkdownCompactCalls++,(null==Tt?void 0:Tt[e(539)])&&(Ot[e(539)]=Tt[e(539)],Ot.nodeVersion=null===(n=process.versions)||void 0===n?void 0:n[e(549)]))}function Xt(){const t=zt;return!Bt()||Gt()?"":Ot.totalCalls>0&&Ot[t(513)]%exports.UNLICENSED_WARNING_INTERVAL===0?function(){const t=zt,e=Date.now(),n=Math[t(537)]()[t(553)](36)[t(514)](2,9);return t(542)+n+t(533)+e+t(498)}():""}function Ht(){const t=["random","undefined","apiKey","Network error during validation","POST",'<svg xmlns="http://www.w3.org/2000/svg" class="MJX-svg-equation" role="img" focusable="false" viewBox="0 0 800 80" style="vertical-align: -0.5ex; margin: 1em 0; max-width: 100%; display: block;" aria-label="Non-commercial use warning" data-formula-id="',"randomUUID","assign","[mmarked] Initial usage reporting error:","565128lKlAda","3958325ilUbno","[mmarked] Failed to report usage statistics:","node","1023260NrNEwE","mmarked","then","toString","[mmarked] License validation failed:","warn","12HNtlxX","get","sessionId","316ugDMqF","No license configured. Please call configureLicense() with your API key.","debug","current version","[mmarked] Validation cache cleared","Requires Node.js 18+ for fetch API support. ","renderMarkdownCalls",'">\n <defs>\n <style type="text/css">\n .mjx-warning-text { font-family: Arial, sans-serif; font-size: 14px; fill: #856404; }\n .mjx-warning-link { font-family: Arial, sans-serif; font-size: 14px; fill: #0066cc; text-decoration: underline; cursor: pointer; }\n </style>\n </defs>\n <rect width="800" height="80" fill="#fff3cd" stroke="#ffc107" stroke-width="1" rx="4"/>\n <text x="20" y="25" class="mjx-warning-text" font-weight="bold">⚠️ Non-Commercial Use Only</text>\n <text x="20" y="45" class="mjx-warning-text">This content uses @mathcrowd/mmarked without valid commercial license.</text>\n <text x="20" y="65" class="mjx-warning-text">For commercial use, contact: </text>\n <a href="mailto:charles@mathcrowd.cn">\n <text x="220" y="65" class="mjx-warning-link">charles@mathcrowd.cn</text>\n </a>\n</svg>',"log","renderMarkdownCompact","json","lastReportedAt","https://api.mathcrowd.cn/report-usage","valid","renderMarkdownCompactCalls","replace","2.0.3","2522400eYDRpN","[mmarked] Usage stats reset","set","https://api.mathcrowd.cn/validate-license","clear","totalCalls","substring","[mmarked] License configured successfully","session-","slice","catch","message","lastUsedAt","application/json","1126392zdqCKB","error","now","xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx","Validation failed: ","result","renderMarkdown","versions","[mmarked] Remote validation failed:","4721JPfdYM","[mmarked] ⚠️ Remote license validation not supported on Node.js ",'" data-timestamp="',"[mmarked] License validation error:","1863981uGLAND","timestamp"];return(Ht=function(){return t})()}function Ft(t){const e=zt;Tt=t,function(){const t=zt;Bt()&&Tt&&Tt[t(539)]&&(Ct&&clearInterval(Ct),Ct=setInterval(()=>{const e=t;Zt()[e(518)](t=>{console.debug("[mmarked] Usage reporting error:",t)})},36e5),Zt()[t(518)](e=>{console.debug(t(545),e)}))}(),console[e(499)](e(515))}function Kt(t,e){return t-=497,Ht()[t]}function Qt(){return Rt(this,void 0,void 0,function*(){const t=Kt,e=Tt;if(!e||!e.apiKey)return{valid:!1,message:t(560)};const{apiKey:n}=e,r=Lt[t(557)](n);if(r&&Date.now()-r[t(536)]<Nt)return{valid:r[t(527)]};const s=yield function(t,e){return Rt(this,void 0,void 0,function*(){const n=Kt;var r;try{if(typeof fetch===n(538)){const t=null===(r=process.versions)||void 0===r?void 0:r[n(549)];return console[n(555)](n(532)+(t||n(562))+". "+n(564)+"Either upgrade to Node.js 18+, use a custom validator, or configure offline mode."),{valid:!1,message:"Fetch API not available. Requires Node.js 18+ or use custom validator."}}const s=yield fetch(e,{method:n(541),headers:{"Content-Type":n(521)},body:JSON.stringify({apiKey:t,product:n(551),version:n(507)})});return s.ok?yield s[n(501)]():{valid:!1,message:n(526)+s.statusText}}catch(t){return console[n(555)](n(530),t),{valid:!1,message:n(540)}}})}(n,Mt);return Lt[t(510)](n,{result:s[t(504)],timestamp:Date[t(524)]()}),s})}function Gt(){const t=zt;if(!Bt())return!1;!function(){const t=zt;if(!Bt())return;if(null==Tt?void 0:Tt[t(539)])return;const e=process.env.MMARKED_API_KEY;e&&Ft({apiKey:e})}();const e=Tt;if(!e||!e[t(539)])return!1;const{apiKey:n}=e,r=Lt.get(n);return r?(Date[t(524)]()-r.timestamp>=Nt&&Qt()[t(552)](e=>{const n=t;return!e[n(504)]&&console[n(555)](n(554),e[n(519)]),e})[t(518)](e=>{throw console.error(t(534),e),e}),r[t(527)]):(!Dt&&(Dt=!0,Qt().then(e=>{const n=t;return!e.valid&&console[n(555)](n(554),e.message),e})[t(518)](e=>{throw console[t(523)]("[mmarked] License validation error:",e),e})),!0)}var Jt,Wt,Vt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Yt={exports:{}},te=(Jt||(Jt=1,Wt=Yt,function(){var n="input is invalid type",r="object"==typeof window,s=r?window:{};s.JS_MD5_NO_WINDOW&&(r=!1);var i=!r&&"object"==typeof self,o=!s.JS_MD5_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;o?s=Vt:i&&(s=self);var a,l=!s.JS_MD5_NO_COMMON_JS&&Wt.exports,c=!s.JS_MD5_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,u="0123456789abcdef".split(""),p=[128,32768,8388608,-2147483648],h=[0,8,16,24],f=["hex","array","digest","buffer","arrayBuffer","base64"],d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),g=[];if(c){var m=new ArrayBuffer(68);a=new Uint8Array(m),g=new Uint32Array(m)}var k=Array.isArray;!s.JS_MD5_NO_NODE_JS&&k||(k=function(t){return"[object Array]"===Object.prototype.toString.call(t)});var b=ArrayBuffer.isView;!c||!s.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW&&b||(b=function(t){return"object"==typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});var x=function(t){var e=typeof t;if("string"===e)return[t,!0];if("object"!==e||null===t)throw Error(n);if(c&&t.constructor===ArrayBuffer)return[new Uint8Array(t),!1];if(!k(t)&&!b(t))throw Error(n);return[t,!1]},I=function(t){return function(e){return new y(!0).update(e)[t]()}},w=function(t){return function(e,n){return new $(e,!0).update(n)[t]()}};function y(t){if(t)g[0]=g[16]=g[1]=g[2]=g[3]=g[4]=g[5]=g[6]=g[7]=g[8]=g[9]=g[10]=g[11]=g[12]=g[13]=g[14]=g[15]=0,this.blocks=g,this.buffer8=a;else if(c){var e=new ArrayBuffer(68);this.buffer8=new Uint8Array(e),this.blocks=new Uint32Array(e)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}function $(t,e){var n,r=x(t);if(t=r[0],r[1]){var s,i=[],o=t.length,a=0;for(n=0;o>n;++n)128>(s=t.charCodeAt(n))?i[a++]=s:2048>s?(i[a++]=192|s>>>6,i[a++]=128|63&s):55296>s||s>=57344?(i[a++]=224|s>>>12,i[a++]=128|s>>>6&63,i[a++]=128|63&s):(s=65536+((1023&s)<<10|1023&t.charCodeAt(++n)),i[a++]=240|s>>>18,i[a++]=128|s>>>12&63,i[a++]=128|s>>>6&63,i[a++]=128|63&s);t=i}t.length>64&&(t=new y(!0).update(t).array());var l=[],c=[];for(n=0;64>n;++n){var u=t[n]||0;l[n]=92^u,c[n]=54^u}y.call(this,e),this.update(c),this.oKeyPad=l,this.inner=!0,this.sharedMemory=e}y.prototype.update=function(t){if(this.finalized)throw Error("finalize already called");for(var e,n,r=x(t),s=r[1],i=0,o=(t=r[0]).length,a=this.blocks,l=this.buffer8;o>i;){if(this.hashed&&(this.hashed=!1,a[0]=a[16],a[16]=a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=0),s)if(c)for(n=this.start;o>i&&64>n;++i)128>(e=t.charCodeAt(i))?l[n++]=e:2048>e?(l[n++]=192|e>>>6,l[n++]=128|63&e):55296>e||e>=57344?(l[n++]=224|e>>>12,l[n++]=128|e>>>6&63,l[n++]=128|63&e):(e=65536+((1023&e)<<10|1023&t.charCodeAt(++i)),l[n++]=240|e>>>18,l[n++]=128|e>>>12&63,l[n++]=128|e>>>6&63,l[n++]=128|63&e);else for(n=this.start;o>i&&64>n;++i)128>(e=t.charCodeAt(i))?a[n>>>2]|=e<<h[3&n++]:2048>e?(a[n>>>2]|=(192|e>>>6)<<h[3&n++],a[n>>>2]|=(128|63&e)<<h[3&n++]):55296>e||e>=57344?(a[n>>>2]|=(224|e>>>12)<<h[3&n++],a[n>>>2]|=(128|e>>>6&63)<<h[3&n++],a[n>>>2]|=(128|63&e)<<h[3&n++]):(e=65536+((1023&e)<<10|1023&t.charCodeAt(++i)),a[n>>>2]|=(240|e>>>18)<<h[3&n++],a[n>>>2]|=(128|e>>>12&63)<<h[3&n++],a[n>>>2]|=(128|e>>>6&63)<<h[3&n++],a[n>>>2]|=(128|63&e)<<h[3&n++]);else if(c)for(n=this.start;o>i&&64>n;++i)l[n++]=t[i];else for(n=this.start;o>i&&64>n;++i)a[n>>>2]|=t[i]<<h[3&n++];this.lastByteIndex=n,this.bytes+=n-this.start,64>n?this.start=n:(this.start=n-64,this.hash(),this.hashed=!0)}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296|0,this.bytes=this.bytes%4294967296),this},y.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,e=this.lastByteIndex;t[e>>>2]|=p[3&e],56>e||(this.hashed||this.hash(),t[0]=t[16],t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0),t[14]=this.bytes<<3,t[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},y.prototype.hash=function(){var t,e,n,r,s,i,o=this.blocks;this.first?e=((e=((t=((t=o[0]-680876937)<<7|t>>>25)-271733879|0)^(n=((n=(-271733879^(r=((r=(-1732584194^2004318071&t)+o[1]-117830708)<<12|r>>>20)+t|0)&(-271733879^t))+o[2]-1126478375)<<17|n>>>15)+r|0)&(r^t))+o[3]-1316259209)<<22|e>>>10)+n|0:(t=this.h0,e=this.h1,e=((e+=((t=((t+=((r=this.h3)^e&((n=this.h2)^r))+o[0]-680876936)<<7|t>>>25)+e|0)^(n=((n+=(e^(r=((r+=(n^t&(e^n))+o[1]-389564586)<<12|r>>>20)+t|0)&(t^e))+o[2]+606105819)<<17|n>>>15)+r|0)&(r^t))+o[3]-1044525330)<<22|e>>>10)+n|0),e=((e+=((t=((t+=(r^e&(n^r))+o[4]-176418897)<<7|t>>>25)+e|0)^(n=((n+=(e^(r=((r+=(n^t&(e^n))+o[5]+1200080426)<<12|r>>>20)+t|0)&(t^e))+o[6]-1473231341)<<17|n>>>15)+r|0)&(r^t))+o[7]-45705983)<<22|e>>>10)+n|0,e=((e+=((t=((t+=(r^e&(n^r))+o[8]+1770035416)<<7|t>>>25)+e|0)^(n=((n+=(e^(r=((r+=(n^t&(e^n))+o[9]-1958414417)<<12|r>>>20)+t|0)&(t^e))+o[10]-42063)<<17|n>>>15)+r|0)&(r^t))+o[11]-1990404162)<<22|e>>>10)+n|0,e=((e+=((t=((t+=(r^e&(n^r))+o[12]+1804603682)<<7|t>>>25)+e|0)^(n=((n+=(e^(r=((r+=(n^t&(e^n))+o[13]-40341101)<<12|r>>>20)+t|0)&(t^e))+o[14]-1502002290)<<17|n>>>15)+r|0)&(r^t))+o[15]+1236535329)<<22|e>>>10)+n|0,e=((e+=((r=((r+=(e^n&((t=((t+=(n^r&(e^n))+o[1]-165796510)<<5|t>>>27)+e|0)^e))+o[6]-1069501632)<<9|r>>>23)+t|0)^t&((n=((n+=(t^e&(r^t))+o[11]+643717713)<<14|n>>>18)+r|0)^r))+o[0]-373897302)<<20|e>>>12)+n|0,e=((e+=((r=((r+=(e^n&((t=((t+=(n^r&(e^n))+o[5]-701558691)<<5|t>>>27)+e|0)^e))+o[10]+38016083)<<9|r>>>23)+t|0)^t&((n=((n+=(t^e&(r^t))+o[15]-660478335)<<14|n>>>18)+r|0)^r))+o[4]-405537848)<<20|e>>>12)+n|0,e=((e+=((r=((r+=(e^n&((t=((t+=(n^r&(e^n))+o[9]+568446438)<<5|t>>>27)+e|0)^e))+o[14]-1019803690)<<9|r>>>23)+t|0)^t&((n=((n+=(t^e&(r^t))+o[3]-187363961)<<14|n>>>18)+r|0)^r))+o[8]+1163531501)<<20|e>>>12)+n|0,e=((e+=((r=((r+=(e^n&((t=((t+=(n^r&(e^n))+o[13]-1444681467)<<5|t>>>27)+e|0)^e))+o[2]-51403784)<<9|r>>>23)+t|0)^t&((n=((n+=(t^e&(r^t))+o[7]+1735328473)<<14|n>>>18)+r|0)^r))+o[12]-1926607734)<<20|e>>>12)+n|0,e=((e+=((i=(r=((r+=((s=e^n)^(t=((t+=(s^r)+o[5]-378558)<<4|t>>>28)+e|0))+o[8]-2022574463)<<11|r>>>21)+t|0)^t)^(n=((n+=(i^e)+o[11]+1839030562)<<16|n>>>16)+r|0))+o[14]-35309556)<<23|e>>>9)+n|0,e=((e+=((i=(r=((r+=((s=e^n)^(t=((t+=(s^r)+o[1]-1530992060)<<4|t>>>28)+e|0))+o[4]+1272893353)<<11|r>>>21)+t|0)^t)^(n=((n+=(i^e)+o[7]-155497632)<<16|n>>>16)+r|0))+o[10]-1094730640)<<23|e>>>9)+n|0,e=((e+=((i=(r=((r+=((s=e^n)^(t=((t+=(s^r)+o[13]+681279174)<<4|t>>>28)+e|0))+o[0]-358537222)<<11|r>>>21)+t|0)^t)^(n=((n+=(i^e)+o[3]-722521979)<<16|n>>>16)+r|0))+o[6]+76029189)<<23|e>>>9)+n|0,e=((e+=((i=(r=((r+=((s=e^n)^(t=((t+=(s^r)+o[9]-640364487)<<4|t>>>28)+e|0))+o[12]-421815835)<<11|r>>>21)+t|0)^t)^(n=((n+=(i^e)+o[15]+530742520)<<16|n>>>16)+r|0))+o[2]-995338651)<<23|e>>>9)+n|0,e=((e+=((r=((r+=(e^((t=((t+=(n^(e|~r))+o[0]-198630844)<<6|t>>>26)+e|0)|~n))+o[7]+1126891415)<<10|r>>>22)+t|0)^((n=((n+=(t^(r|~e))+o[14]-1416354905)<<15|n>>>17)+r|0)|~t))+o[5]-57434055)<<21|e>>>11)+n|0,e=((e+=((r=((r+=(e^((t=((t+=(n^(e|~r))+o[12]+1700485571)<<6|t>>>26)+e|0)|~n))+o[3]-1894986606)<<10|r>>>22)+t|0)^((n=((n+=(t^(r|~e))+o[10]-1051523)<<15|n>>>17)+r|0)|~t))+o[1]-2054922799)<<21|e>>>11)+n|0,e=((e+=((r=((r+=(e^((t=((t+=(n^(e|~r))+o[8]+1873313359)<<6|t>>>26)+e|0)|~n))+o[15]-30611744)<<10|r>>>22)+t|0)^((n=((n+=(t^(r|~e))+o[6]-1560198380)<<15|n>>>17)+r|0)|~t))+o[13]+1309151649)<<21|e>>>11)+n|0,e=((e+=((r=((r+=(e^((t=((t+=(n^(e|~r))+o[4]-145523070)<<6|t>>>26)+e|0)|~n))+o[11]-1120210379)<<10|r>>>22)+t|0)^((n=((n+=(t^(r|~e))+o[2]+718787259)<<15|n>>>17)+r|0)|~t))+o[9]-343485551)<<21|e>>>11)+n|0,this.first?(this.h0=t+1732584193|0,this.h1=e-271733879|0,this.h2=n-1732584194|0,this.h3=r+271733878|0,this.first=!1):(this.h0=this.h0+t|0,this.h1=this.h1+e|0,this.h2=this.h2+n|0,this.h3=this.h3+r|0)},y.prototype.toString=y.prototype.hex=function(){this.finalize();var t=this.h0,e=this.h1,n=this.h2,r=this.h3;return u[t>>>4&15]+u[15&t]+u[t>>>12&15]+u[t>>>8&15]+u[t>>>20&15]+u[t>>>16&15]+u[t>>>28&15]+u[t>>>24&15]+u[e>>>4&15]+u[15&e]+u[e>>>12&15]+u[e>>>8&15]+u[e>>>20&15]+u[e>>>16&15]+u[e>>>28&15]+u[e>>>24&15]+u[n>>>4&15]+u[15&n]+u[n>>>12&15]+u[n>>>8&15]+u[n>>>20&15]+u[n>>>16&15]+u[n>>>28&15]+u[n>>>24&15]+u[r>>>4&15]+u[15&r]+u[r>>>12&15]+u[r>>>8&15]+u[r>>>20&15]+u[r>>>16&15]+u[r>>>28&15]+u[r>>>24&15]},y.prototype.array=y.prototype.digest=function(){this.finalize();var t=this.h0,e=this.h1,n=this.h2,r=this.h3;return[255&t,t>>>8&255,t>>>16&255,t>>>24&255,255&e,e>>>8&255,e>>>16&255,e>>>24&255,255&n,n>>>8&255,n>>>16&255,n>>>24&255,255&r,r>>>8&255,r>>>16&255,r>>>24&255]},y.prototype.arrayBuffer=function(){this.finalize();var t=new ArrayBuffer(16),e=new Uint32Array(t);return e[0]=this.h0,e[1]=this.h1,e[2]=this.h2,e[3]=this.h3,t},y.prototype.buffer=y.prototype.arrayBuffer,y.prototype.base64=function(){for(var t,e,n,r="",s=this.array(),i=0;15>i;)t=s[i++],e=s[i++],n=s[i++],r+=d[t>>>2]+d[63&(t<<4|e>>>4)]+d[63&(e<<2|n>>>6)]+d[63&n];return r+(d[(t=s[i])>>>2]+d[t<<4&63]+"==")},($.prototype=new y).finalize=function(){if(y.prototype.finalize.call(this),this.inner){this.inner=!1;var t=this.array();y.call(this,this.sharedMemory),this.update(this.oKeyPad),this.update(t),y.prototype.finalize.call(this)}};var v=function(){var r=I("hex");o&&(r=function(r){var i,o=t,a=e.Buffer;return i=a.from&&!s.JS_MD5_NO_BUFFER_FROM?a.from:function(t){return new a(t)},function(t){if("string"==typeof t)return o.createHash("md5").update(t,"utf8").digest("hex");if(null==t)throw Error(n);return t.constructor===ArrayBuffer&&(t=new Uint8Array(t)),k(t)||b(t)||t.constructor===a?o.createHash("md5").update(i(t)).digest("hex"):r(t)}}(r)),r.create=function(){return new y},r.update=function(t){return r.create().update(t)};for(var i=0;f.length>i;++i){var a=f[i];r[a]=I(a)}return r}();v.md5=v,v.md5.hmac=function(){var t=w("hex");t.create=function(t){return new $(t)},t.update=function(e,n){return t.create(e).update(n)};for(var e=0;f.length>e;++e){var n=f[e];t[n]=w(n)}return t}(),l?Wt.exports=v:s.md5=v}()),Yt.exports);function ee(t){const e=se;try{t=encodeURI(t)[e(277)](/%25/g,"%")}catch(t){return null}return t}function ne(){const t=["source","string","pop","276540DxwzBv","2084574FsSmaW","undefined","match","92qtXsXw","length","92868RTRiDl","trim","class-","5600200jjsdEO","push","102605KmFwth","1093666Mvoaiw","splice","replace","charAt","879297jpUOGi","split","test","versions"];return(ne=function(){return t})()}!function(){const t=se,e=ne();for(;;)try{if(301650==-parseInt(t(269))/1+parseInt(t(286))/2+parseInt(t(279))/3+parseInt(t(290))/4*(parseInt(t(274))/5)+parseInt(t(287))/6+-parseInt(t(275))/7+-parseInt(t(272))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const re={exec:()=>null};function se(t,e){return t-=268,ne()[t]}function ie(t,e){const n=se;let r=typeof t===n(284)?t:t.source;e=e||"";const s={replace:(t,e)=>{const i=n;let o=typeof e===i(284)?e:e[i(283)];return o=o.replace(/(^|[^[])\^/g,"$1"),r=r[i(277)](t,o),s},getRegex:()=>RegExp(r,e)};return s}const oe=t=>{const e=se;return/^[a-z][\w-]*$/i[e(281)](t)?t:e(271)+te.md5(t)};function ae(t){const e=se,n=t[e(289)](/^(.*?)(?:\s*=(\d*)(?:x(\d+))?)?$/);if(n){const t=n[1][e(270)](),r=n[2]?parseInt(n[2],10):null,s=n[3]?parseInt(n[3],10):null;return{text:0===t[e(268)]?null:t,width:r,height:s}}return{text:null,width:null,height:null}}function le(t,e){const n=se,r=t.replace(/\|/g,(t,e,n)=>{let r=!1,s=e;for(;--s>=0&&"\\"===n[s];)r=!r;return r?"|":" |"})[n(280)](/ \|/);let s=0;if(!r[0][n(270)]()&&r.shift(),r[n(268)]>0&&!r[r[n(268)]-1][n(270)]()&&r[n(285)](),e)if(r[n(268)]>e)r[n(276)](e);else for(;r[n(268)]<e;)r[n(273)]("");for(;r.length>s;s++)r[s]=r[s][n(270)]()[n(277)](/\\\|/g,"|");return r}function ce(t,e){return t-=396,he()[t]}!function(){const t=ce,e=he();for(;;)try{if(536479==parseInt(t(438))/1*(parseInt(t(401))/2)+-parseInt(t(440))/3*(-parseInt(t(413))/4)+parseInt(t(396))/5+parseInt(t(418))/6*(-parseInt(t(407))/7)+-parseInt(t(446))/8*(parseInt(t(435))/9)+parseInt(t(431))/10*(parseInt(t(410))/11)+parseInt(t(414))/12*(-parseInt(t(409))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ue={paragraph({tokens:t}){const e=ce;if(1===t[e(447)]&&"image"===t[0][e(421)]){const n=t[0];if(null===ee(n[e(436)]))return n[e(416)];let r=e(411);if(r+=e(397),r+=this.image(n)+"\n",r+=e(444),n[e(432)]){const{text:t}=ae(n.title);t&&(r+=e(427)+t+e(423))}return r+=e(408),r}return e(433)+this[e(442)][e(424)](t)+e(404)},list(t){const e=ce,n=t.ordered,r=t.start;let s="";for(let n=0;n<t[e(428)][e(447)];n++){const r=t[e(428)][n];s+=this[e(415)](r)}const i=n?"ol":"ul";return"<"+i+(n&&1!==r?' start="'+r+'"':"")+e(402)+">\n"+s+"</"+i+">\n"},listitem(t){const e=ce;let n="";if(t.task){const r=this.checkbox({type:e(430),raw:"",checked:!!t.checked});t[e(437)]?t[e(434)][e(447)]>0&&"paragraph"===t[e(434)][0][e(421)]?(t[e(434)][0][e(416)]=r+" "+t.tokens[0].text,t.tokens[0][e(434)]&&t[e(434)][0][e(434)].length>0&&t[e(434)][0].tokens[0][e(421)]===e(416)&&(t.tokens[0][e(434)][0].text=r+" "+t[e(434)][0][e(434)][0].text)):t[e(434)].unshift({type:e(416),raw:r+" ",text:r+" "}):n+=r+" "}return n+=this.parser[e(439)](t[e(434)]),e(417)+n+e(420)},table(t){const e=ce;let n="",r="";for(let n=0;n<t[e(422)].length;n++)r+=this[e(425)](t[e(422)][n]);n+=this[e(405)]({text:r});let s="";for(let n=0;n<t[e(443)][e(447)];n++){const i=t.rows[n];r="";for(let t=0;t<i[e(447)];t++)r+=this.tablecell(i[t]);s+=this[e(405)]({text:r})}s&&(s=e(403)+s+e(429));let i="";return t.caption[e(416)]&&(i=e(427)+this.parser[e(424)]([t[e(406)]])+"</figcaption>\n"),e(411)+e(399)+e(445)+n+e(441)+s+e(426)+i+"</figure>\n"},image(t){const e=ce,n=ee(t[e(436)]);if(null===n)return t[e(416)];let r='<img src="'+n+e(419)+t[e(416)]+'"';if(t[e(432)]){const{text:n,width:s,height:i}=ae(t[e(432)]);n&&(r+=' title="'+n+'"'),(s||i)&&(r+=e(400),s&&(r+=e(412)+s+e(398)),i&&(r+="height:"+i+"px;"),r+='"')}return r+=">",r}},pe={};function he(){const t=["5004575xwfIka",'<section class="img-container">\n',"px;","<table>\n",' style="',"54rPvRjN",' class="md-list"',"<tbody>","</p>\n","tablerow","caption","4942MQaLaS","</figure>\n","6526hzbEBn","11wjBkrW","<figure>\n","width:","3212NExqdR","28344IGmLXs","listitem","text",'<li class="md-list-item">',"6186eyPyQf",'" alt="',"</li>\n","type","header","</figcaption>\n","parseInline","tablecell","</table>\n","<figcaption>","items","</tbody>\n","checkbox","7188810IymtDu","title",'<p class="paragraph">',"tokens","7188849ynUQjX","href","loose","28943LFshAT","parse","2793zZxdoe","</thead>\n","parser","rows","</section>\n","<thead>\n","8sjhvTj","length"];return(he=function(){return t})()}const fe=ge;function de(){const t=["|tr|track|ul","|(?!_)[punct\\s](_+)(?=[^punct\\s])","|(?!\\*)[punct](\\*+)(?=[\\s]|$)","(?:--\x3e|$)","^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)","|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)"," {0,3}(?<!>)>(?!>)","45IGvnII","address|article|aside|base|basefont|blockquote|body|caption","--\x3e","|table","80LMLeOs","comment","\\p{P}\\p{S}","|[\\s](\\*+)(?!\\*)(?=[punct])","code","heading","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)","|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option","|^</[a-zA-Z][\\w:-]*\\s*>","290601oGrahK","((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html|\\|\\|[^\\|]+\\|\\|).*(?:\\n|$))*)","|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)","fences","6727058tBvtnr","(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)","(?:(?:\\|\\|([^\\|]+)\\|\\|)?\\n*|$)","|<\\?[\\s\\S]*?(?:\\?>\\n*|$)","^ {0,3}(?:","63bmawzN","|(?!_)[punct](_+)(?!_)(?=[punct])","paragraph","replace","|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>","reflink|nolink(?!\\()","|lheading","|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)","|[^*]+(?=[^*])","scheme","reflink","|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title","|^<\\?[\\s\\S]*?\\?>","36HmFqDX","141954QUDERd","getRegex","^comment","|[\\s](_+)(?!_)(?=[punct])","|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])","href","title","table","(?: {4}| {0,3}\t)[^\\n]","|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption","ref","email","attribute"," {0,3}(?:[*+-]|1[.)]) "," {0,3}>","3027167HgJSbM","|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)","2UgTqDd","html","list","label","assign","290006GCjqFg","tag","|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)","^ *([^\\n ].*)\\n","36ormMFl","260701xpKbOF"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n","~|])","blockquote"," {0,3}#{1,6}(?:\\s|$)","|[^punct\\s](\\*+)(?=[^punct\\s])","669160PqMLYD","nolink"];return(de=function(){return t})()}function ge(t,e){return t-=210,de()[t]}!function(){const t=ge,e=de();for(;;)try{if(548837==parseInt(t(275))/1*(-parseInt(t(280))/2)+parseInt(t(235))/3*(-parseInt(t(284))/4)+parseInt(t(222))/5*(-parseInt(t(258))/6)+-parseInt(t(285))/7*(parseInt(t(226))/8)+parseInt(t(244))/9*(parseInt(t(213))/10)+parseInt(t(273))/11+-parseInt(t(257))/12*(-parseInt(t(239))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const me=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ke=/(?:[*+-]|\d{1,9}[.)])/,be=ie(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/)[fe(247)](/bull/g,ke)[fe(247)](/blockCode/g,/(?: {4}| {0,3}\t)/)[fe(247)](/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/)[fe(247)](/heading/g,/ {0,3}#{1,6}/)[fe(247)](/html/g,/ {0,3}<[^\n>]+>\n/)[fe(259)](),xe=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Ie=/(?!\s*\])(?:\\.|[^[\]\\])+/,we=ie(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s]\S*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/)[fe(247)]("label",Ie)[fe(247)](fe(264),/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/)[fe(259)](),ye=ie(/^( {0,3}bull)([ \t][^\n]+)?(?:\n|$)/)[fe(247)](/bull/g,ke)[fe(259)](),$e=fe(223)+fe(267)+"|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe"+fe(233)+fe(255)+fe(215),ve=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Se=ie(fe(243)+"<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)"+fe(242)+"|<![A-Z][\\s\\S]*?(?:>\\n*|$)"+fe(237)+"|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)"+fe(251)+fe(274)+")","i")[fe(247)]("comment",ve)[fe(247)](fe(281),$e)[fe(247)](fe(270),/ +[a-z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/i)[fe(259)](),Ae=ie(xe)[fe(247)]("hr",me)[fe(247)]("heading"," {0,3}#{1,6}(?:\\s|$)")[fe(247)](fe(250),"")[fe(247)](fe(225),"").replace(fe(210)," {0,3}>")[fe(247)](fe(238),fe(286)).replace("list",fe(271))[fe(247)]("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)")[fe(247)](fe(281),$e)[fe(259)](),qe={blockquote:ie(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/)[fe(247)](fe(246),Ae).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:we,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:me,html:Se,lheading:be,list:ye,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:Ae,table:re,text:/^[^\n]+/},_e=ie(fe(283)+" {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)"+fe(240))[fe(247)]("hr",me)[fe(247)]("heading",fe(211))[fe(247)](fe(210),fe(272))[fe(247)]("code",fe(266))[fe(247)](fe(238),fe(286)).replace("list",fe(271)).replace("html",fe(232)).replace(fe(281),$e)[fe(259)](),je=Object.assign(Object[fe(279)]({},qe),{table:_e,paragraph:ie(xe)[fe(247)]("hr",me)[fe(247)](fe(231),fe(211))[fe(247)](fe(250),"")[fe(247)](fe(265),_e)[fe(247)](fe(210),fe(272))[fe(247)](fe(238),fe(286))[fe(247)](fe(277),fe(271))[fe(247)](fe(276),"</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)")[fe(247)](fe(281),$e)[fe(259)]()}),Re=/^\\([!"#$%&'()*+,\-./:;<=>?@[\]\\^_`{|}~])/,ze=fe(228),Pe=ie(/^((?![*_])[\spunctaio])/,"u")[fe(247)](/punctuation/g,ze).getRegex(),Te=ie(/^\*+(?:((?!\*)[punct])|[^\s*])|^_+(?:((?!_)[punct])|([^\s_]))/,"u")[fe(247)](/punct/g,ze)[fe(259)](),Le=ie("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)"+fe(252)+fe(217)+fe(282)+"|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])"+fe(229)+fe(262)+fe(212),"gu")[fe(247)](/punct/g,ze)[fe(259)](),De=ie(fe(219)+"|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)"+fe(220)+fe(216)+fe(261)+fe(245),"gu")[fe(247)](/punct/g,ze)[fe(259)](),Ne=ie(/\\([punct])/,"gu")[fe(247)](/punct/g,ze)[fe(259)](),Me=ie(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/)[fe(247)](fe(253),/[a-z][a-z\d+.-]{1,31}/i)[fe(247)](fe(269),/[\w.!#$%&'*+/=?^`{|}~-]+(@)[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)+(?![-_])/i)[fe(259)](),Ee=ie(ve)[fe(247)](fe(218),fe(224))[fe(259)](),Oe=ie(fe(260)+fe(234)+"|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>"+fe(256)+"|^<![a-zA-Z]+\\s[\\s\\S]*?>"+fe(248))[fe(247)](fe(227),Ee)[fe(247)]("attribute",/\s+[a-z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/i)[fe(259)](),Ce=/(?:\[(?:\\.|[^[\]\\])*\]|\\.|`[^`]*`|[^[\]\\`])*?/,Be=ie(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/)[fe(247)](fe(278),Ce).replace(fe(263),/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/)[fe(247)](fe(264),/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Ze=ie(/^!?\[(label)\]\[(ref)\]/)[fe(247)](fe(278),Ce).replace(fe(268),Ie)[fe(259)](),Ue=ie(/^!?\[(ref)\](?:\[\])?/)[fe(247)]("ref",Ie)[fe(259)](),Xe={t:re,anyPunctuation:Ne,autolink:Me,blockSkip:/\[[^[\]]*\]\((?:\\.|[^\\()]|\((?:\\.|[^\\()])*\))*\)|`[^`]*`|<[^<>]*>/g,br:/^( {2,}|\\)\n(?!\s*$)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:re,delLDelim:re,delRDelim:re,emStrongLDelim:Te,emStrongRDelimAst:Le,emStrongRDelimUnd:De,escape:Re,link:Be,nolink:Ue,punctuation:Pe,reflink:Ze,reflinkSearch:ie(fe(249),"g")[fe(247)](fe(254),Ze).replace(fe(214),Ue)[fe(259)](),tag:Oe,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<![`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:re},He=Object[fe(279)](Object[fe(279)]({},Xe),{escape:ie(Re)[fe(247)]("])",fe(287))[fe(259)](),url:ie(/^((?:ftp|https?):\/\/|www\.)[a-zA-Z\d-][^\s<]*|^email/,"i")[fe(247)](fe(269),/[\w.+-]+(@)[\w-]+(?:\.[\w-]*[a-z\d])+(?![-_])/i)[fe(259)](),t:/(?:[^?!.,:;*_'"~()&]|\([^)]*\)|&(?![a-z\d]+;$)|[?!.,:;*_'"~)]+(?!$))+/i,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,delLDelim:/^~~?(?:((?!~)[\p{P}\p{S}])|[^\s~])/u,delRDelim:/^[^~]+(?=[^~])|(?!~)[\p{P}\p{S}](~~?)(?=[\s]|$)|[^\s\p{P}\p{S}](~~?)(?!~)(?=[\s\p{P}\p{S}]|$)|(?!~)[\s\p{P}\p{S}](~~?)(?=[^\s\p{P}\p{S}])|[\s](~~?)(?!~)(?=[\p{P}\p{S}])|(?!~)[\p{P}\p{S}](~~?)(?!~)(?=[\p{P}\p{S}])|[^\s\p{P}\p{S}](~~?)(?=[^\s\p{P}\p{S}])/gu,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[\w.!#$%&'*+/=?`{|}~-]+@)|[\s\S]*?(?:(?=[\\<![`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^\w.!#$%&'*+/=?`{|}~-](?=[\w.!#$%&'*+/=?`{|}~-]+@)))/}),Fe=Object[fe(279)](Object[fe(279)]({},He),{br:re,emStrongLDelim:/^\*+(?:([!"#$%&'()+\-.,/:;<=>?@[\]`{|}~_])|[^\s*])/}),Ke={block:Object[fe(279)](Object[fe(279)]({},je),{lheading:re,code:re,fences:/^ {0,3}(`{3,}(?=[^`\n[]*(?:\n|$)))([^\n]*)(?:\n|$)([\s\S]*?)(?:\n|$)(?: {0,3}\1`* *(?=\n|$)|$)/,paragraph:ie(xe)[fe(247)]("hr",me)[fe(247)](fe(231),fe(211))[fe(247)](fe(250),"")[fe(247)](fe(265),_e)[fe(247)](fe(210),fe(221)).replace(fe(238),fe(286))[fe(247)](fe(277),fe(271))[fe(247)]("html",fe(232)).replace(fe(281),$e)[fe(259)](),table:ie(fe(283)+" {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)\\n"+fe(236)+fe(241)).replace("hr",me)[fe(247)]("heading",fe(211))[fe(247)](fe(210),fe(272))[fe(247)](fe(230),"(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace(fe(277)," {0,3}(?:[*+-]|1[.)]) ").replace(fe(276),"</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace(fe(281),$e).getRegex(),blockquote:ie(/^( {0,3}(?<!>)>(?!>) ?(paragraph|[^\n]*)(?:\n|$))+/)[fe(247)]("paragraph",Ae).getRegex()}),inline:Fe};function Qe(t,e){return t-=400,Je()[t]}!function(){const t=Qe,e=Je();for(;;)try{if(856574==-parseInt(t(426))/1*(parseInt(t(417))/2)+-parseInt(t(448))/3+-parseInt(t(433))/4*(-parseInt(t(422))/5)+parseInt(t(442))/6+-parseInt(t(430))/7*(parseInt(t(418))/8)+parseInt(t(423))/9+-parseInt(t(413))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ge={table(t){const e=Qe,n=Ke.block[e(407)][e(419)](t);if(!n)return;if(!/[:|]/[e(440)](n[2]))return;const r=le(n[1]),s=n[2].replace(/^\||\| *$/g,"")[e(405)]("|"),i=n[3]&&n[3].trim()?n[3][e(408)](/\n[ \t]*$/,"")[e(405)]("\n"):[],o=n[5],a={type:"table",raw:n[0],header:[],align:[],rows:[],caption:{type:e(438),text:o,raw:o,tokens:this[e(411)][e(404)](o)}};if(r[e(428)]===s[e(428)]){for(const t of s)/^ *-+: *$/.test(t)?a[e(447)][e(432)](e(412)):/^ *:-+: *$/[e(440)](t)?a.align[e(432)](e(427)):/^ *:-+ *$/[e(440)](t)?a[e(447)][e(432)](e(449)):a[e(447)][e(432)](null);for(let t=0;t<r[e(428)];t++)a[e(434)].push({text:r[t],tokens:this[e(411)].inline(r[t]),header:!0,align:a[e(447)][t]});for(const t of i)a[e(446)].push(le(t,a.header[e(428)])[e(429)]((t,n)=>({text:t,tokens:this[e(411)].inline(t),header:!1,align:a.align[n]})));return a}},lheading(){},code(){},fences(t){const e=Qe,n=Ke[e(401)].fences.exec(t);if(n){const t=n[0],r=function(t,e){const n=Qe,r=t[n(439)](/^(\s+)```/);if(null===r)return e;const s=r[1];return e[n(405)]("\n")[n(429)](t=>{const e=n,r=t[e(439)](/^\s+/);if(null===r)return t;const[i]=r;return i[e(428)]<s[e(428)]?t:t.slice(s[e(428)])}).join("\n")}(t,n[3]||"");return{type:e(445),raw:t,lang:n[2]?n[2][e(441)]()[e(408)](Ke[e(404)][e(425)],"$1"):n[2],text:r}}},br(){},emStrong(t,e,n=""){const r=Qe;let s=Ke[r(404)].emStrongLDelim[r(419)](t);if(s&&(!s[3]||!n[r(439)](/[\p{L}\p{N}]/u))&&(!s[1]&&!s[2]||!n||Ke[r(404)].punctuation.exec(n))){const n=[...s[0]][r(428)]-1;let i,o,a=n,l=0;const c="*"===s[0][0]?Ke.inline[r(402)]:Ke[r(404)][r(414)];for(c[r(435)]=0,e=e[r(400)](-1*t.length+n);null!=(s=c[r(419)](e));){if(i=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!i)continue;if(o=[...i][r(428)],s[3]||s[4]){a+=o;continue}if((s[5]||s[6])&&n%3&&!((n+o)%3)){l+=o;continue}if(a-=o,a>0)continue;o=Math[r(420)](o,o+a+l);const e=[...s[0]][0][r(428)],c=t[r(400)](0,n+s[r(416)]+e+o);if(Math[r(420)](n,o)%2){const t=c[r(400)](1,-1);return{type:"em",raw:c,text:t,tokens:this.lexer[r(443)](t)}}const u=c.slice(2,-2);return{type:r(437),raw:c,text:u,tokens:this[r(411)][r(443)](u)}}}},blockquote(t){const e=Qe,n=Ke[e(401)][e(431)][e(419)](t);if(n){let t=function(t){const e=se,n=t[e(268)];if(0===n)return"";let r=0;for(;n>r&&"\n"===t[e(278)](n-r-1);)r++;return t.slice(0,n-r)}(n[0])[e(405)]("\n"),r="",s="";const i=[];for(;t[e(428)]>0;){let n=!1;const o=[];let a;for(a=0;a<t[e(428)];a++)if(/^ {0,3}>/[e(440)](t[a]))o[e(432)](t[a]),n=!0;else{if(n)break;o[e(432)](t[a])}t=t[e(400)](a);const l=o[e(410)]("\n"),c=l[e(408)](/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,e(421))[e(408)](/^ {0,3}>[ \t]?/gm,"");r=r?r+"\n"+l:l,s=s?s+"\n"+c:c;const u=this[e(411)].state[e(406)];if(this[e(411)][e(436)][e(406)]=!0,this[e(411)][e(415)](c,i,!0),this.lexer.state.top=u,0===t[e(428)])break;const p=i[i.length-1];if("code"===(null==p?void 0:p.type))break;if("blockquote"===(null==p?void 0:p.type)){const n=p,o=n[e(403)]+"\n"+t[e(410)]("\n"),a=this[e(431)](o);i[i[e(428)]-1]=a,r=r[e(424)](0,r[e(428)]-n[e(403)][e(428)])+a[e(403)],s=s[e(424)](0,s.length-n[e(438)][e(428)])+a[e(438)];break}if((null==p?void 0:p[e(409)])===e(444)){const n=p,o=n[e(403)]+"\n"+t[e(410)]("\n"),a=this.list(o);i[i.length-1]=a,r=r.substring(0,r[e(428)]-p[e(403)][e(428)])+a[e(403)],s=s[e(424)](0,s[e(428)]-n[e(403)][e(428)])+a.raw,t=o[e(424)](i[i[e(428)]-1].raw[e(428)])[e(405)]("\n");continue}}return{type:e(431),raw:r,tokens:i,text:s}}}};function Je(){const t=["text","match","test","trim","6457104PoFdqp","inlineTokens","list","code","rows","align","32781Jfkmir","left","slice","block","emStrongRDelimAst","raw","inline","split","top","table","replace","type","join","lexer","right","20502640uQzlDs","emStrongRDelimUnd","blockTokens","index","222CUULSk","5416ZbyqqS","exec","min","\n $1","35cMXgGO","14575005TYXSDm","substring","anyPunctuation","240OAeZKx","center","length","map","8071dilnxH","blockquote","push","588204SdEahL","header","lastIndex","state","strong"];return(Je=function(){return t})()}function We(t,e){return t-=313,Ve()[t]}function Ve(){var t=["35BOLCaH","1395672xtSykj","58280hCKqXy","5727106fEuKCb","77463dGYGMg","1598610BNpeDg","6RIBKVP","430168olKeSz","52YfxXZX","20mtVUAo","886203QhJkyr"];return(Ve=function(){return t})()}function Ye(t,e){return t-=492,tn()[t]}function tn(){const t=["info","title","144918GnKfNR",'<span class="icon">',"exec",'<p class="content paragraph">',"ttype","tokens","alert","</span></p>","icon","5iVQxwA","115953XTVPjE","Success","inlineTokens","indexOf","220911NDahYM","true",'<p class="heading">',"trim","287NpIHfa","22270abGLgs","^ {0,3}!!![","Info","parser","parseInline","72zQWKKg","583sbDXdR",'<section class="alert ',"1746cpMUPo","854156PyLyBb","success","10SILmIR","<span class='title'>","warn","3941472BmqnKT","Error","error","lexer"];return(tn=function(){return t})()}!function(){for(var t=We,e=Ve();;)try{if(169164==parseInt(t(314))/1*(-parseInt(t(318))/2)+parseInt(t(316))/3*(-parseInt(t(320))/4)+parseInt(t(317))/5+-parseInt(t(313))/6+parseInt(t(323))/7*(parseInt(t(319))/8)+parseInt(t(322))/9*(-parseInt(t(321))/10)+parseInt(t(315))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const en=Ye;var nn;!function(){const t=Ye,e=tn();for(;;)try{if(126079==-parseInt(t(526))/1+-parseInt(t(503))/2*(-parseInt(t(522))/3)+-parseInt(t(501))/4*(parseInt(t(521))/5)+parseInt(t(500))/6*(parseInt(t(530))/7)+parseInt(t(497))/8*(parseInt(t(512))/9)+-parseInt(t(492))/10*(parseInt(t(498))/11)+parseInt(t(506))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(t){const e=Ye;t.Warn=e(505),t.Success=e(502),t[e(507)]=e(508),t[e(494)]=e(510)}(nn||(nn={}));const rn={name:en(518),level:"block",start(t){const e=en;return t[e(525)](e(493))},tokenizer(t){const e=en;var n,r,s,i;const o=/^ {0,3}(!{3,}(?=\[[^\n\]]*\](?:\n|$)))\[([^\],]*)(?:,([^\],]*))?(?:,([^\],]+))?\]\n([\s\S]*?)(?:\n|$)(?: {0,3}\1 *(?=\n|$)|$)/[e(514)](t);if(o){const t=null===(n=o[2])||void 0===n?void 0:n[e(529)](),a=null===(r=o[3])||void 0===r?void 0:r.trim(),l=null===(s=o[4])||void 0===s?void 0:s[e(529)](),c=null===(i=o[5])||void 0===i?void 0:i[e(529)]();return{type:e(518),raw:o[0],title:a,icon:l,text:c,ttype:t,tokens:this[e(509)][e(524)](c)}}},renderer(t){const e=en;var n;let r="";if(t[e(520)]===e(527))switch(t[e(516)]){case nn.Warn:t[e(520)]="⚠️";break;case nn[e(523)]:t.icon="🎉";break;case nn.Error:t[e(520)]="⛔";break;case nn[e(494)]:t[e(520)]="ℹ️"}const s=void 0!==t[e(520)]?e(513)+t[e(520)]+"</span> ":"";return r+=e(499)+t[e(516)]+'">',t[e(511)]&&(r+=e(528)+s+e(504)+t[e(511)]+e(519)),r+=e(515)+(t[e(511)]?"":s)+this[e(495)][e(496)](null!==(n=t[e(517)])&&void 0!==n?n:[])+"</p>",r+="</section>",r}};function sn(t){return(t||"").match(/\S*/)[0]}function on(t){return e=>{"string"==typeof e&&e!==t.text&&(t.escaped=!0,t.text=e)}}const an=/[&<>"']/,ln=RegExp(an.source,"g"),cn=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,un=RegExp(cn.source,"g"),pn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},hn=t=>pn[t];function fn(t,e){if(e){if(an.test(t))return t.replace(ln,hn)}else if(cn.test(t))return t.replace(un,hn);return t}function dn(){const t=["3916160BibCPT","latex","464oGHpss","1085154hDWQrs","javascript","34287370IWPCFg","5025249XkJBmQ","3ylxuqZ","getLanguage","772qCmWAl","registerLanguage","highlight","json","14cHwEnu","value","4102444pMUuxx","9055088hSneyA"];return(dn=function(){return t})()}const gn=mn;function mn(t,e){return t-=398,dn()[t]}!function(){const t=mn,e=dn();for(;;)try{if(955289==-parseInt(t(405))/1*(parseInt(t(398))/2)+parseInt(t(403))/3*(-parseInt(t(411))/4)+parseInt(t(413))/5+-parseInt(t(399))/6*(parseInt(t(409))/7)+-parseInt(t(412))/8+-parseInt(t(402))/9+parseInt(t(401))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),n.registerLanguage(gn(400),r),n[gn(406)]("python",o),n.registerLanguage(gn(414),i),n[gn(406)](gn(408),s);const kn=new qt(function(t){if("function"==typeof t&&(t={highlight:t}),!t||"function"!=typeof t.highlight)throw Error("Must provide highlight function");return"string"!=typeof t.langPrefix&&(t.langPrefix="language-"),"string"!=typeof t.emptyLangClass&&(t.emptyLangClass=""),{async:!!t.async,walkTokens(e){if("code"!==e.type)return;const n=sn(e.lang);if(t.async)return Promise.resolve(t.highlight(e.text,n,e.lang||"")).then(on(e));const r=t.highlight(e.text,n,e.lang||"");if(r instanceof Promise)throw Error("markedHighlight is not set to async but the highlight function is async. Set the async option to true on markedHighlight to await the async highlight function.");on(e)(r)},useNewRenderer:!0,renderer:{code(e,n,r){"object"==typeof e&&(r=e.escaped,n=e.lang,e=e.text);const s=sn(n),i=s?t.langPrefix+fn(s):t.emptyLangClass,o=i?` class="${i}"`:"";return e=e.replace(/\n$/,""),`<pre><code${o}>${r?e:fn(e,!0)}\n</code></pre>`}}}}({highlight(t,e){const r=gn,s=n[r(404)](e)?e:"plaintext";return n[r(407)](t,{language:s})[r(410)]}}));function bn(){const t=["</section>\n","block","25dvuXfx","parse","exec","image","720051aRuKbq","70638tXJrqk","240TWkchd","280251vDrNhW",'<section class="gallery-wrapper">\n','<section class="gallery-container">\n',"forEach","indexOf","lexer","148464hsBxcF","gallery","2IJUOZw","446439iaTjQu","2531088TSKWKC","type","!!!","14276900JPlriC","238DQmrGm"];return(bn=function(){return t})()}function xn(t,e){return t-=397,bn()[t]}const In=xn;!function(){const t=xn,e=bn();for(;;)try{if(375365==parseInt(t(411))/1+-parseInt(t(398))/2*(-parseInt(t(399))/3)+-parseInt(t(400))/4+-parseInt(t(407))/5*(-parseInt(t(412))/6)+-parseInt(t(404))/7*(-parseInt(t(420))/8)+parseInt(t(414))/9*(parseInt(t(413))/10)+-parseInt(t(403))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const wn={name:In(397),level:In(406),start(t){const e=In;return t[e(418)](e(402))},tokenizer(t){const e=In,n=/^ {0,3}(!{3,}) *\n([\s\S]*?)(?:\n|$)(?: {0,3}\1 *(?=\n|$)|$)/[e(409)](t);if(n){const t=n[2];return{type:e(397),raw:n[0],text:t,tokens:this[e(419)].blockTokens(t)}}},renderer(t){const e=In;var n;let r=e(416);return r+=e(415),null===(n=t.tokens)||void 0===n||n[e(417)](t=>{const n=e;var s;"paragraph"===t[n(401)]&&(null===(s=t.tokens)||void 0===s||s[n(417)](t=>{const e=n;t[e(401)]===e(410)&&(r+=kn[e(408)](t.raw))}))}),r+=e(405),r+=e(405),r}};function yn(){const t=["]</a></sup></span>",'"><sup><a href="#footnote-',"length","parseInline","lexer","parser","footnoteDef","key","tokens","37838jQFqoY","inlineTokens","indexOf","trim","table","isolated","footnoteRef","number","</li>","replaceAll",'<li class="footnote-def" key="',"caption","9756SLkLgt","1109672ZrXGNJ","29595doTuKu","1157289ErlclQ","forEach","header","sort","map","block","inline",'<ol class="footnote-list">','"> ⬅ </a>',"220404WFaOuF","4aUbhtN","383778nOkeHQ","type","92IVEpxs","430AqqDnP","exec",'">['];return(yn=function(){return t})()}const $n=Sn;!function(){const t=Sn,e=yn();for(;;)try{if(103961==-parseInt(t(235))/1*(-parseInt(t(219))/2)+parseInt(t(220))/3+parseInt(t(222))/4*(-parseInt(t(249))/5)+-parseInt(t(218))/6+parseInt(t(250))/7+-parseInt(t(248))/8+-parseInt(t(247))/9*(-parseInt(t(223))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const vn={name:$n(241),level:$n(215),start:t=>t[$n(237)]("[^"),tokenizer:t=>{const e=$n,n=/^\[\^([^\]]+)\]/[e(224)](t);if(n){const t=n[1][e(238)]();return{type:e(241),raw:n[0],id:t,tokens:[]}}},renderer:t=>{const e=$n;return'<span class="footnote-ref" id="footnote-ref-'+t.id+e(227)+t.id+e(225)+t[e(242)]+e(226)}};function Sn(t,e){return t-=215,yn()[t]}const An={name:$n(232),level:$n(255),start:t=>t.indexOf("[^"),tokenizer(t){const e=$n,n=/^\[\^(.+?)\]: ([\s\S]*?)(?:\n+|$)/[e(224)](t);if(n){const t=n[1][e(238)](),r=n[2][e(238)]();return{type:e(232),raw:n[0],id:t,text:r,tokens:this[e(230)][e(236)](r)}}},renderer(t){const e=$n;var n;const r=' <a href="#footnote-ref-'+t.id+e(217);return e(245)+t.number+'" id="footnote-'+t.id+'">'+this[e(231)][e(229)](null!==(n=null==t?void 0:t[e(234)])&&void 0!==n?n:[])+(t[e(240)]?"":r)+e(243)}},qn=t=>{const e={};let n=1;return function t(r){const s=Sn;r[s(251)](r=>{const i=s;r[i(221)]===i(241)&&(!(r.id in e)&&(e[r.id]=n,n++),r[i(242)]=e[r.id]),"list"===r[i(221)]&&r.items[i(251)](e=>{const n=i;e[n(234)]&&e[n(234)][n(228)]>0&&t(e[n(234)])}),r[i(221)]===i(239)&&(r[i(252)][i(251)](e=>{const n=i;e[n(234)]&&e[n(234)][n(228)]>0&&t(e[n(234)])}),r.rows[i(251)](e=>{const n=i;e[n(251)](e=>{const r=n;e[r(234)]&&e[r(234)][r(228)]>0&&t(e[r(234)])})}),r[i(246)][i(234)]&&r[i(246)][i(234)][i(228)]>0&&t(r.caption[i(234)])),r[i(234)]&&r[i(234)].length>0&&t(r[i(234)])})}(t),function t(r){r.forEach(r=>{const s=Sn;r.type===s(232)&&(r.isolated=!1,!(r.id in e)&&(e[r.id]=n,n++,r[s(240)]=!0),r[s(242)]=e[r.id]),r[s(234)]&&r[s(234)][s(228)]>0&&t(r[s(234)])})}(t),t};function _n(t,e){return t-=161,zn()[t]}const jn=_n;var Rn;function zn(){const t=["523630euHHWQ","block","tokens","stype",'<details class="solution ',"exec","864bWBhHu","175bqwBdN","~~~[",'"><summary>',"trim","PROOF","parse","295236HKcUdR","blockTokens",'</summary>\n <section class="content">\n ',"parser","6930oTFTZO","216261RowRWl","typeName","SOLUTION","proof","18243xESlnH","solution","lexer","494888pogSVL","16291AXswGg","8RckXeg","4911390ehPGMH"];return(zn=function(){return t})()}!function(){const t=_n,e=zn();for(;;)try{if(792482==-parseInt(t(164))/1+-parseInt(t(168))/2+-parseInt(t(186))/3*(-parseInt(t(166))/4)+parseInt(t(167))/5+parseInt(t(181))/6*(parseInt(t(175))/7)+parseInt(t(174))/8*(parseInt(t(161))/9)+-parseInt(t(185))/10*(parseInt(t(165))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(t){const e=_n;t[e(179)]=e(189),t.SOLUTION=e(162)}(Rn||(Rn={}));const Pn={[Rn[jn(179)]]:"证明",[Rn[jn(188)]]:"解答"},Tn={name:jn(162),level:jn(169),start:t=>t.indexOf(jn(176)),tokenizer(t){const e=jn;var n;const r=/^ {0,3}(~{3,}(?=\[[^\n\]]*\](?:\n|$)))\[([^\],]*)\]\n([\s\S]*?)(?:\n|$)(?: {0,3}\1~* *(?=\n|$)|$)/[e(173)](t);if(r){const t=r[2].trim(),s=r[3][e(178)]();return{type:e(162),raw:r[0],stype:t,typeName:null!==(n=Pn[t])&&void 0!==n?n:t,text:s,tokens:this[e(163)][e(182)](s)}}},renderer(t){const e=jn;var n;return e(172)+oe(t[e(171)])+e(177)+t[e(187)]+e(183)+this[e(184)][e(180)](null!==(n=null==t?void 0:t[e(170)])&&void 0!==n?n:[])+"\n </section></details>"}},Ln=Mn;function Dn(){const t=["ttype",'">\n <p class="title"><b>',"forEach","block","Axiom","8756ghxnrE",'" id="theorem-like-',"definition","theoremLikeDef","</b>","type","tokens","parse","Theorem","Definition","parser","99LgwRXo","inline","theoremLikeRef","length","axiom","exec","name","Corollary","trim","3782508oawLrl","number","</em> )","229KkxbQP","807306jiRddH","24MHCmkQ","typeName","trimEnd","77nmDqBt","15519ZsOjyC","5nLlpkb","880168DJpvXj","items","Lemma","example","endsWith","lemma","16586790sNGVvX","2780481NILqty","Example",'<a id="theorem-like-ref-',"unnumbered","indexOf","\n </section> \n</section>"];return(Dn=function(){return t})()}var Nn;function Mn(t,e){return t-=105,Dn()[t]}!function(){const t=Mn,e=Dn();for(;;)try{if(935069==parseInt(t(122))/1*(parseInt(t(148))/2)+-parseInt(t(128))/3+-parseInt(t(119))/4*(parseInt(t(129))/5)+-parseInt(t(123))/6*(parseInt(t(127))/7)+parseInt(t(130))/8*(parseInt(t(110))/9)+parseInt(t(136))/10+parseInt(t(137))/11*(-parseInt(t(124))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(t){const e=Mn;t[e(107)]="theorem",t[e(132)]=e(135),t[e(117)]="corollary",t.Axiom=e(114),t.Definition=e(150),t[e(138)]=e(133)}(Nn||(Nn={}));const En={[Nn[Ln(107)]]:"定理",[Nn[Ln(132)]]:"引理",[Nn[Ln(117)]]:"推论",[Nn[Ln(147)]]:"公理",[Nn[Ln(108)]]:"定义",[Nn[Ln(138)]]:"例"},On={name:"theoremLikeRef",level:Ln(111),start:t=>t[Ln(141)]("[~"),tokenizer:t=>{const e=Ln,n=/^\[~([^\]]+)\]/[e(115)](t);if(n){const t=n[1].trim();return{type:e(112),raw:n[0],id:t,tokens:[]}}},renderer:t=>{const e=Ln;return e(139)+t.id+'" href="#theorem-like-'+t.id+'">'+(t[e(125)]+" "+t[e(120)])[e(126)]()+"</a>"}},Cn={name:Ln(151),level:Ln(146),start:t=>t[Ln(141)]("```["),tokenizer(t){const e=Ln;var n,r,s,i,o,a;const l=/^ {0,3}(`{3,}(?=\[[^\n\]]*\](?:\n|$)))\[([^\],]*),([^\],]*)(?:,([^\],]+))?\]\n([\s\S]*?)(?:\n|$)(?: {0,3}\1 *(?=\n|$)|$)/[e(115)](t);if(l){const t=null===(n=l[2])||void 0===n?void 0:n[e(118)]().replace(/\*$/,""),c=null===(r=l[2])||void 0===r?void 0:r[e(118)]()[e(134)]("*"),u=null===(s=l[3])||void 0===s?void 0:s[e(118)](),p=null===(i=l[4])||void 0===i?void 0:i[e(118)](),h=null===(o=l[5])||void 0===o?void 0:o[e(118)]();return{type:"theoremLikeDef",raw:l[0],id:u,name:p,text:h,ttype:t,typeName:null!==(a=En[t])&&void 0!==a?a:t,tokens:this.lexer.blockTokens(h),unnumbered:c}}},renderer(t){const e=Ln;var n;return'<section class="theorem-like '+oe(t[e(143)])+e(149)+t.id+e(144)+t[e(125)]+e(152)+(t[e(140)]?"":" "+t.number)+(t[e(116)]?" ( <em>"+t[e(116)]+e(121):"")+'\n </p>\n <section class="content">\n '+this[e(109)][e(106)](null!==(n=null==t?void 0:t[e(105)])&&void 0!==n?n:[])+e(142)}};function Bn(){const t=["text","trim","title","63icdemg","parseInline","4McpkBO","imageUrl","raw","304625Ztoglg",'<span class="tooltip-title">',"exec",'<input type="checkbox" id=',"lexer",' class="tooltip-trigger">',"tooltip",'" alt="',"tokens","4789215frSXdj","</span>\n","parser","51194UWHfoV","45990YjIIqG",'<span class="tooltip">\n','"></span>\n',"inline","indexOf","id-","description","2859399owbWtX",'<span class="tooltip-description">','<span class="tooltip-image"><img src="',">>>","inlineTokens","372762BqeAtM","34527210zUbeOm","24JXeRSK"];return(Bn=function(){return t})()}const Zn=Un;function Un(t,e){return t-=230,Bn()[t]}!function(){const t=Un,e=Bn();for(;;)try{if(637050==-parseInt(t(262))/1+-parseInt(t(238))/2+-parseInt(t(239))/3+-parseInt(t(259))/4*(parseInt(t(235))/5)+-parseInt(t(251))/6*(parseInt(t(257))/7)+parseInt(t(253))/8*(-parseInt(t(246))/9)+parseInt(t(252))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Xn=/^>>>([^\r\n]+?) *(?<!\\)\[ *([^|\r\n]+?) *\|\s*([^|\r\n]*?) *(?:\| *([^\r\n]*?) *)?(?<!\\)\] *<<</,Hn={name:"tooltip",level:Zn(242),start(t){const e=Zn;return t[e(243)](e(249))},tokenizer(t){const e=Zn,n=Xn[e(264)](t);if(n){const[t,r,s,i,o]=n,a=e(244)+te.md5(t);return{type:e(232),id:a,raw:t,title:s,text:r,imageUrl:null!=o?o:"",description:{type:e(254),text:i,raw:i,tokens:this.lexer[e(242)](i)},tokens:this[e(230)][e(250)](r.trim())}}},renderer(t){const e=Zn;var n;let r='<span class="tooltip-container">\n';return r+=e(265)+t.id+' class="tooltip-toggle"><label for='+t.id+e(231)+this[e(237)][e(258)](null!==(n=t[e(234)])&&void 0!==n?n:[])+"</label>\n",r+=e(240),t[e(260)][e(255)]()&&(r+=e(248)+t[e(260)][e(255)]()+e(233)+t[e(256)][e(255)]()+e(241)),t[e(256)][e(255)]()&&(r+=e(263)+t.title[e(255)]()+"</span>\n"),t[e(245)][e(261)][e(255)]()&&(r+=e(247)+this[e(237)][e(258)]([t[e(245)]])+e(236)),r+=e(236),r+=e(236),r}},Fn=Gn;function Kn(t){const e=Gn;return t[e(366)](/\s*<\s*/g,e(364))[e(366)](/\s*>\s*/g,e(349))}!function(){const t=Gn,e=Wn();for(;;)try{if(785334==-parseInt(t(369))/1+-parseInt(t(361))/2+-parseInt(t(350))/3*(parseInt(t(370))/4)+parseInt(t(357))/5*(parseInt(t(358))/6)+-parseInt(t(352))/7+parseInt(t(367))/8*(-parseInt(t(346))/9)+-parseInt(t(351))/10*(-parseInt(t(348))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Qn={name:Fn(353),level:Fn(355),start:t=>t[Fn(365)]("$"),tokenizer(t){const e=Fn,n=/^\$(?:[^$]|\\\$)+\$(?!\$)/[e(363)](t);if(n)return{type:e(353),raw:n[0],text:n[0]}},renderer:t=>Kn(t[Fn(360)])};function Gn(t,e){return t-=344,Wn()[t]}const Jn={name:Fn(347),level:Fn(355),start:t=>t[Fn(365)]("\\("),tokenizer(t){const e=Fn,n=t[e(344)](/^\\\(.*?\\\)/);if(n)return{type:e(347),raw:n[0],text:n[0]}},renderer:t=>Kn(t.text)};function Wn(){const t=["4OPeBgP","match","trim","1971qsJzZd","inlineMath2","7161sEBtdH"," \\gt ","727773AihxkK","68070cFEvlF","2949422rarVLv","inlineMath","blockMath2","inline","block","10WbZMXY","115554uDCvTM","blockMath","text","2004628lcXbGX",'<p class="paragraph">',"exec"," \\lt ","indexOf","replace","30904NaPgcN","</p>\n","1172293jUhyNl"];return(Wn=function(){return t})()}const Vn={name:"blockMath",level:"block",start:t=>t[Fn(365)]("$$"),tokenizer(t){const e=Fn,n=t[e(344)](/^\${2}(?:[^$]|\\\$|\$[^$])+\${2}(?!\$)/);if(n)return{type:e(359),raw:n[0],text:n[0][e(345)]()}},renderer(t){const e=Fn;return e(362)+Kn(t[e(360)])+"</p>\n"}},Yn={name:Fn(354),level:Fn(356),start:t=>t[Fn(365)]("\\["),tokenizer(t){const e=Fn,n=t.match(/^\\\[(?:[^$]|\\\$)+\\\]/);if(n)return{type:e(354),raw:n[0],text:n[0][e(345)]()}},renderer(t){const e=Fn;return'<p class="paragraph">'+Kn(t.text)+e(368)}};function tr(t,e){return t-=334,er()[t]}function er(){var t=["4809879eeYZmp","855060UbyNlV","3612VnFZaY","1813imZWQV","31452ZeHJwV","5269efOzJX","4UfMQFT","16xpUINb","195210qHPWqq","60SUxyOA","503930uLBcgO","35926XqJsaq"];return(er=function(){return t})()}function nr(t,e){return t-=390,rr()[t]}function rr(){const t=["px;","2529zBEwUG","1320mOefrm",'" alt="',"4073961lYJatp","width:","17736iostyp",' title="',"15804120xdRsWL","text","replaceAll","49357Jsoaoh","1316930aFnnnx","5AkAkFr","817365JXDaVx","3592364GSznyq","tokens",'<img src="',"title","type","push","isArray"];return(rr=function(){return t})()}!function(){for(var t=tr,e=er();;)try{if(818512==-parseInt(t(342))/1*(parseInt(t(337))/2)+parseInt(t(344))/3+-parseInt(t(340))/4*(-parseInt(t(339))/5)+-parseInt(t(345))/6*(-parseInt(t(334))/7)+parseInt(t(338))/8*(parseInt(t(343))/9)+parseInt(t(341))/10+parseInt(t(336))/11*(-parseInt(t(335))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(){const t=nr,e=rr();for(;;)try{if(953165==-parseInt(t(399))/1+parseInt(t(397))/2+parseInt(t(411))/3+parseInt(t(400))/4*(-parseInt(t(398))/5)+-parseInt(t(409))/6*(parseInt(t(396))/7)+-parseInt(t(391))/8*(-parseInt(t(408))/9)+parseInt(t(393))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const sr=or;function ir(){const t=["27cDnaHB","49SXVtWz","node","warn","Lexer","use","12LcGcMg","getTime","813325oCxpOu","Contact charles@mathcrowd.cn for commercial licensing. ","71235wEZLQP","195336nkiKMN","undefined","[mmarked] ⚠️ No valid license configured for Node.js server-side usage. ","assign","For commercial use, please configure a license using configureLicense(). ","renderMarkdownCompact","[mmarked] ℹ️ Running in browser environment, no license required. ","For commercial use in Node.js, please configure a license using configureLicense(). ","470jDRNKd","defaults","83118QIhLhQ","Browser usage does not require a license.","48556pUcpHh","1344288CwYRKz","lexInline","80432ZYdOYQ","parseInline","versions"];return(ir=function(){return t})()}function or(t,e){return t-=184,ir()[t]}!function(){const t=or,e=ir();for(;;)try{if(193206==parseInt(t(204))/1+-parseInt(t(194))/2+parseInt(t(212))/3*(parseInt(t(206))/4)+-parseInt(t(191))/5*(parseInt(t(189))/6)+-parseInt(t(184))/7*(parseInt(t(209))/8)+-parseInt(t(193))/9*(-parseInt(t(202))/10)+parseInt(t(207))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ar=new qt;function lr(){const t=["1141220woufyM","4347720FIhYpH","use","[mmarked] ℹ️ Running in browser environment, no license required. ","1122336UyBwkZ","For commercial use, please configure a license using configureLicense(). ","parse","For commercial use in Node.js, please configure a license using configureLicense(). ","228ZCpNUO","assign","node","Contact charles@mathcrowd.cn for commercial licensing.","4603348QwcWuh","138kLCZOM","47453JMHzoo","Browser usage does not require a license.","414YHlVKK","getTime","29701908vrcFFS","undefined"];return(lr=function(){return t})()}ar[sr(188)]({extensions:[Qn,Jn],tokenizer:Object[sr(197)]({},Ge),renderer:Object.assign({},pe)});const cr=ur;function ur(t,e){return t-=201,lr()[t]}!function(){const t=ur,e=lr();for(;;)try{if(717837==-parseInt(t(209))/1+-parseInt(t(218))/2*(parseInt(t(213))/3)+-parseInt(t(217))/4+-parseInt(t(205))/5+-parseInt(t(201))/6*(-parseInt(t(219))/7)+-parseInt(t(206))/8+parseInt(t(203))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const pr={renderer:Object.assign(Object[cr(214)]({},ue),pe),tokenizer:Object[cr(214)]({},Ge),useNewRenderer:!0,gfm:!0,extensions:[Qn,Jn,Vn,Yn,vn,An,Cn,On,Tn,rn,wn,Hn],hooks:{preprocess:t=>t,processAllTokens:t=>(t=>{const e=Ln,n={[Nn[e(107)]]:0,[Nn[e(132)]]:0,[Nn[e(117)]]:0,[Nn[e(147)]]:0,[Nn.Definition]:0,[Nn[e(138)]]:0},r={};return function t(s){const i=e;s[i(145)](e=>{const s=i;e.type===s(151)&&(e[s(143)]in n?n[e.ttype]=n[e[s(143)]]+1:n[e[s(143)]]=1,e[s(120)]=e[s(140)]?"":n[e.ttype],r[e.id]={typeName:e[s(125)],number:e.number}),e[s(105)]&&e[s(105)][s(113)]>0&&t(e[s(105)])})}(t),function t(e){e.forEach(e=>{const n=Mn;e[n(153)]===n(112)&&e.id in r&&(e[n(120)]=r[e.id][n(120)],e[n(125)]=r[e.id][n(125)]),"list"===e.type&&e[n(131)][n(145)](e=>{const r=n;e[r(105)]&&e[r(105)][r(113)]>0&&t(e[r(105)])}),e.tokens&&e.tokens[n(113)]>0&&t(e[n(105)])})}(t),t})(qn(t)),postprocess:t=>(t=>{const e=$n,n=[];return t=t[e(244)](/<li class="footnote-def" key="(\d+)".*?<\/li>/g,(t,e)=>(n.push({key:parseInt(e),content:t}),"")),n[e(253)]((t,n)=>t.key-n[e(233)]),t=t[e(244)](/<ol class="footnote-list">.*?<\/ol>/g,()=>""),n.length>0&&(t+=e(216)+n[e(254)](t=>t.content).join("")+"</ol>"),t})(t)}};function hr(){var t=["2vNabvJ","121880fvehmK","99jcQWYN","2585770bNZKoi","167270BhRwiX","10380sNowOX","124941SBxHbN","23800116vrKRaq","12OGDIrQ","4984LDkNlW","11lLklRw","1584328bvAYzt"];return(hr=function(){return t})()}function fr(t,e){return t-=320,hr()[t]}kn[cr(207)](pr),function(){for(var t=fr,e=hr();;)try{if(819918==parseInt(t(331))/1*(-parseInt(t(330))/2)+parseInt(t(325))/3*(-parseInt(t(327))/4)+-parseInt(t(322))/5+-parseInt(t(324))/6*(-parseInt(t(328))/7)+parseInt(t(320))/8+-parseInt(t(321))/9*(parseInt(t(323))/10)+parseInt(t(329))/11*(parseInt(t(326))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const dr=xr;function gr(){const t=["956838QxtoQS","clear","render","327534MHNQdr","2059908yXQLsv","1304wZMsBi","innerHTML","\\unicode{x25B1}","body","405896DdKfUQ","872482ppTikx","error","none","document","1161495eITCWr","22379sBsziX"];return(gr=function(){return t})()}!function(){const t=xr,e=gr();for(;;)try{if(258383==parseInt(t(403))/1+-parseInt(t(404))/2+-parseInt(t(397))/3+-parseInt(t(398))/4+parseInt(t(408))/5+parseInt(t(394))/6+parseInt(t(409))/7*(parseInt(t(399))/8))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const mr=a.liteAdaptor({fontSize:13});l.RegisterHTMLHandler(mr);const kr=new u.TeX({packages:c.AllPackages,inlineMath:[["$","$"],["\\(","\\)"]],displayMath:[["$$","$$"],["\\[","\\]"]],macros:{parallelogram:dr(401)}}),br=new h.SVG({fontCache:dr(406)});function xr(t,e){return t-=394,gr()[t]}function Ir(){var t=["76990vZNmmb","27433wUXxCN","226832gFEBBN","566458epuhPN","4PWujiH","6klIcmx","1266MoMgib","843625vuBQFq","4341072afGkgl","950329npVgli","1705YOmBgE","261NTMHGL"];return(Ir=function(){return t})()}function wr(t,e){return t-=186,Ir()[t]}function yr(t,e){return t-=284,$r()[t]}function $r(){var t=["564gBJcEf","57369912codzbl","8346450LVhzYZ","8897405uQgVZH","16149pkpfis","12KrRFSU","10304NxALIQ","240222uXDLQT","10zLCwRN","84pkTKvm","82106yGDSuJ","2241fWZgNt"];return($r=function(){return t})()}!function(){for(var t=wr,e=Ir();;)try{if(602440==-parseInt(t(186))/1+-parseInt(t(192))/2*(-parseInt(t(194))/3)+parseInt(t(193))/4*(parseInt(t(196))/5)+-parseInt(t(195))/6*(-parseInt(t(190))/7)+-parseInt(t(191))/8*(-parseInt(t(188))/9)+parseInt(t(189))/10*(-parseInt(t(187))/11)+parseInt(t(197))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(){for(var t=yr,e=$r();;)try{if(891310==parseInt(t(295))/1*(-parseInt(t(290))/2)+-parseInt(t(289))/3*(parseInt(t(285))/4)+-parseInt(t(287))/5+parseInt(t(292))/6*(-parseInt(t(294))/7)+-parseInt(t(291))/8*(-parseInt(t(284))/9)+-parseInt(t(293))/10*(parseInt(t(288))/11)+parseInt(t(286))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),exports.clearValidationCache=function(){const t=zt;Lt[t(512)](),Dt=!1,console[t(499)](t(563))},exports.configureLicense=Ft,exports.getLicenseConfig=function(){return Tt},exports.getWarningIfNeeded=Xt,exports.isLicensed=Gt,exports.renderMarkdown=t=>{const e=cr;if(Ut("renderMarkdown"),!Gt()){const t=typeof process!==e(204)&&null!=process.versions&&null!=process.versions[e(215)];console.warn(t?"[mmarked] ⚠️ No valid license configured for Node.js server-side usage. "+e(210)+"Contact charles@mathcrowd.cn for commercial licensing. "+e(220):e(208)+e(212)+e(216))}const n=new Date,r=qn(kn.lexer(t));let s=kn[e(211)](t);const i=new Date,o=Xt();return o&&(s=o+s),{parsed:s,lexed:r,time:i[e(202)]()-n[e(202)]()}},exports.renderMarkdownCompact=t=>{const e=sr;Ut(e(199)),Gt()||(typeof process!==e(195)&&null!=process[e(211)]&&null!=process[e(211)][e(185)]?console.warn(e(196)+e(198)+e(192)+e(205)):console[e(186)](e(200)+e(201)+"Contact charles@mathcrowd.cn for commercial licensing."));const n=new Date,r=ar[e(187)][e(208)](t,ar[e(203)]),s=ar[e(210)](t),i=new Date;let o=function(t,e){const n=nr;let r=t;for(const t of e){const e=ee(t.href);if(null===e)continue;let s=n(402)+e+n(410)+t[n(394)]+'"';if(t[n(403)]){const{text:e,width:r,height:i}=ae(t[n(403)]);e&&(s+=n(392)+e+'"'),(r||i)&&(s+=' style="',r&&(s+=n(390)+r+n(407)),i&&(s+="height:"+i+n(407)),s+='"')}s+=">";const i=n(402)+e+'" alt="'+t[n(394)]+'"'+(t[n(403)]?n(392)+t[n(403)]+'"':"")+">";r=r[n(395)](i,s)}return r}(s,function t(e){const n=nr,r=[];for(const s of e)"image"===s[n(404)]&&r[n(405)](s),n(401)in s&&Array[n(406)](s.tokens)&&r[n(405)](...t(s[n(401)]));return r}(r));const a=Xt();return a&&(o=a+o),{parsed:o,lexed:r,time:i[e(190)]()-n[e(190)]()}},exports.resetUsageStats=function(){const t=zt;Ot.totalCalls=0,Ot[t(497)]=0,Ot[t(505)]=0,Ot.firstUsedAt=Date.now(),Ot[t(520)]=Date[t(524)](),Ot[t(502)]=void 0,Ot[t(558)]=Pt(),Tt=null,Lt[t(512)](),Dt=!1,console[t(499)](t(509)),console.log("[mmarked] Validation cache cleared")},exports.setUnlicensedWarningInterval=function(t){exports.UNLICENSED_WARNING_INTERVAL=t},exports.stopUsageTracking=function(){Ct&&(clearInterval(Ct),Ct=null)},exports.tex2svg=t=>{const e=dr;try{const n=p.mathjax[e(407)](t,{InputJax:kr,OutputJax:br});n[e(396)]();const r=mr[e(400)](mr[e(402)](n[e(407)]));return n[e(395)](),r}catch(n){return console[e(405)](n),t}},exports.trackFunctionCall=Ut,exports.validateLicense=Qt;
1
+ "use strict";var t=require("crypto"),e=require("buffer"),n=require("highlight.js"),r=require("highlight.js/lib/languages/javascript"),s=require("highlight.js/lib/languages/json"),i=require("highlight.js/lib/languages/latex"),o=require("highlight.js/lib/languages/python"),a=require("mathjax-full/js/adaptors/liteAdaptor.js"),l=require("mathjax-full/js/handlers/html.js"),c=require("mathjax-full/js/input/tex/AllPackages.js"),u=require("mathjax-full/js/input/tex.js"),p=require("mathjax-full/js/mathjax.js"),h=require("mathjax-full/js/output/svg.js");var f={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function d(t){f=t}var g={exec:()=>null};function m(t,e=""){let n="string"==typeof t?t:t.source,r={replace:(t,e)=>{let s="string"==typeof e?e:e.source;return s=s.replace(b.caret,"$1"),n=n.replace(t,s),r},getRegex:()=>RegExp(n,e)};return r}var k=(()=>{try{return!!RegExp("(?<=1)(?<!1)")}catch{return!1}})(),b={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>RegExp(`^( {0,3}${t})((?:[\t ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),hrRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}>`)},x=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,y=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,I=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,w=m(I).replace(/bull/g,y).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),$=m(I).replace(/bull/g,y).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),v=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,S=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,A=m(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",S).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),z=m(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,y).getRegex(),q="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[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",j=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,R=m("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",j).replace("tag",q).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),_=m(v).replace("hr",x).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",q).getRegex(),P={blockquote:m(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",_).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:A,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:x,html:R,lheading:w,list:z,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:_,table:g,text:/^[^\n]+/},T=m("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",x).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",q).getRegex(),D={...P,lheading:$,table:T,paragraph:m(v).replace("hr",x).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",T).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",q).getRegex()},L={...P,html:m("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",j).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:g,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:m(v).replace("hr",x).replace("heading"," *#{1,6} *[^\n]").replace("lheading",w).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},C=/^( {2,}|\\)\n(?!\s*$)/,M=/[\p{P}\p{S}]/u,Z=/[\s\p{P}\p{S}]/u,E=/[^\s\p{P}\p{S}]/u,O=m(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Z).getRegex(),B=/(?!~)[\p{P}\p{S}]/u,N=m(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",k?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),U=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,F=m(U,"u").replace(/punct/g,M).getRegex(),H=m(U,"u").replace(/punct/g,B).getRegex(),K="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",G=m(K,"gu").replace(/notPunctSpace/g,E).replace(/punctSpace/g,Z).replace(/punct/g,M).getRegex(),Y=m(K,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,B).getRegex(),V=m("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,E).replace(/punctSpace/g,Z).replace(/punct/g,M).getRegex(),W=m(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,M).getRegex(),J=m("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,E).replace(/punctSpace/g,Z).replace(/punct/g,M).getRegex(),Q=m(/\\(punct)/,"gu").replace(/punct/g,M).getRegex(),X=m(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[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])?)+(?![-_])/).getRegex(),tt=m(j).replace("(?:--\x3e|$)","--\x3e").getRegex(),et=m("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",tt).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),nt=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,rt=m(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",nt).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),st=m(/^!?\[(label)\]\[(ref)\]/).replace("label",nt).replace("ref",S).getRegex(),it=m(/^!?\[(ref)\](?:\[\])?/).replace("ref",S).getRegex(),ot=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,at={t:g,anyPunctuation:Q,autolink:X,blockSkip:N,br:C,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:g,delLDelim:g,delRDelim:g,emStrongLDelim:F,emStrongRDelimAst:G,emStrongRDelimUnd:V,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:rt,nolink:it,punctuation:O,reflink:st,reflinkSearch:m("reflink|nolink(?!\\()","g").replace("reflink",st).replace("nolink",it).getRegex(),tag:et,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:g},lt={...at,link:m(/^!?\[(label)\]\((.*?)\)/).replace("label",nt).getRegex(),reflink:m(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",nt).getRegex()},ct={...at,emStrongRDelimAst:Y,emStrongLDelim:H,delLDelim:W,delRDelim:J,url:m(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",ot).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),t:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:m(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",ot).getRegex()},ut={...ct,br:m(C).replace("{2,}","*").getRegex(),text:m(ct.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},pt={normal:P,gfm:D,pedantic:L},ht={normal:at,gfm:ct,breaks:ut,pedantic:lt},ft={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},dt=t=>ft[t];function gt(t,e){if(e){if(b.escapeTest.test(t))return t.replace(b.escapeReplace,dt)}else if(b.escapeTestNoEncode.test(t))return t.replace(b.escapeReplaceNoEncode,dt);return t}function mt(t){try{t=encodeURI(t).replace(b.percentDecode,"%")}catch{return null}return t}function kt(t,e){let n=t.replace(b.findPipe,(t,e,n)=>{let r=!1,s=e;for(;--s>=0&&"\\"===n[s];)r=!r;return r?"|":" |"}).split(b.splitPipe),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),e)if(n.length>e)n.splice(e);else for(;e>n.length;)n.push("");for(;n.length>r;r++)n[r]=n[r].trim().replace(b.slashPipe,"|");return n}function bt(t,e,n){let r=t.length;if(0===r)return"";let s=0;for(;r>s&&t.charAt(r-s-1)===e;)s++;return t.slice(0,r-s)}function xt(t,e=0){let n=e,r="";for(let e of t)if("\t"===e){let t=4-n%4;r+=" ".repeat(t),n+=t}else r+=e,n++;return r}function yt(t,e,n,r,s){let i=e.href,o=e.title||null,a=t[1].replace(s.other.outputLinkReplace,"$1");r.state.inLink=!0;let l={type:"!"===t[0].charAt(0)?"image":"link",raw:n,href:i,title:o,text:a,tokens:r.inlineTokens(a)};return r.state.inLink=!1,l}var It=class{options;rules;lexer;constructor(t){this.options=t||f}space(t){let e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){let e=this.rules.block.code.exec(t);if(e){let t=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?t:bt(t,"\n")}}}fences(t){let e=this.rules.block.fences.exec(t);if(e){let t=e[0],n=function(t,e,n){let r=t.match(n.other.indentCodeCompensation);if(null===r)return e;let s=r[1];return e.split("\n").map(t=>{let e=t.match(n.other.beginningSpace);if(null===e)return t;let[r]=e;return s.length>r.length?t:t.slice(s.length)}).join("\n")}(t,e[3]||"",this.rules);return{type:"code",raw:t,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:n}}}heading(t){let e=this.rules.block.heading.exec(t);if(e){let t=e[2].trim();if(this.rules.other.endingHash.test(t)){let e=bt(t,"#");(this.options.pedantic||!e||this.rules.other.endingSpaceChar.test(e))&&(t=e.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:t,tokens:this.lexer.inline(t)}}}hr(t){let e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:bt(e[0],"\n")}}blockquote(t){let e=this.rules.block.blockquote.exec(t);if(e){let t=bt(e[0],"\n").split("\n"),n="",r="",s=[];for(;t.length>0;){let e,i=!1,o=[];for(e=0;t.length>e;e++)if(this.rules.other.blockquoteStart.test(t[e]))o.push(t[e]),i=!0;else{if(i)break;o.push(t[e])}t=t.slice(e);let a=o.join("\n"),l=a.replace(this.rules.other.blockquoteSetextReplace,"\n $1").replace(this.rules.other.blockquoteSetextReplace2,"");n=n?`${n}\n${a}`:a,r=r?`${r}\n${l}`:l;let c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,s,!0),this.lexer.state.top=c,0===t.length)break;let u=s.at(-1);if("code"===u?.type)break;if("blockquote"===u?.type){let e=u,i=e.raw+"\n"+t.join("\n"),o=this.blockquote(i);s[s.length-1]=o,n=n.substring(0,n.length-e.raw.length)+o.raw,r=r.substring(0,r.length-e.text.length)+o.text;break}if("list"===u?.type){let e=u,i=e.raw+"\n"+t.join("\n"),o=this.list(i);s[s.length-1]=o,n=n.substring(0,n.length-u.raw.length)+o.raw,r=r.substring(0,r.length-e.raw.length)+o.raw,t=i.substring(s.at(-1).raw.length).split("\n");continue}}return{type:"blockquote",raw:n,tokens:s,text:r}}}list(t){let e=this.rules.block.list.exec(t);if(e){let n=e[1].trim(),r=n.length>1,s={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?"\\d{1,9}\\"+n.slice(-1):"\\"+n,this.options.pedantic&&(n=r?n:"[*+-]");let i=this.rules.other.listItemRegex(n),o=!1;for(;t;){let n=!1,r="",a="";if(!(e=i.exec(t))||this.rules.block.hr.test(t))break;r=e[0],t=t.substring(r.length);let l=xt(e[2].split("\n",1)[0],e[1].length),c=t.split("\n",1)[0],u=!l.trim(),p=0;if(this.options.pedantic?(p=2,a=l.trimStart()):u?p=e[1].length+1:(p=l.search(this.rules.other.nonSpaceChar),p=p>4?1:p,a=l.slice(p),p+=e[1].length),u&&this.rules.other.blankLine.test(c)&&(r+=c+"\n",t=t.substring(c.length+1),n=!0),!n){let e=this.rules.other.nextBulletRegex(p),n=this.rules.other.hrRegex(p),s=this.rules.other.fencesBeginRegex(p),i=this.rules.other.headingBeginRegex(p),o=this.rules.other.htmlBeginRegex(p),h=this.rules.other.blockquoteBeginRegex(p);for(;t;){let f,d=t.split("\n",1)[0];if(c=d,this.options.pedantic?(c=c.replace(this.rules.other.listReplaceNesting," "),f=c):f=c.replace(this.rules.other.tabCharGlobal," "),s.test(c)||i.test(c)||o.test(c)||h.test(c)||e.test(c)||n.test(c))break;if(f.search(this.rules.other.nonSpaceChar)<p&&c.trim()){if(u||l.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||s.test(l)||i.test(l)||n.test(l))break;a+="\n"+c}else a+="\n"+f.slice(p);u=!c.trim(),r+=d+"\n",t=t.substring(d.length+1),l=f.slice(p)}}s.loose||(o?s.loose=!0:this.rules.other.doubleBlankLine.test(r)&&(o=!0)),s.items.push({type:"list_item",raw:r,task:!!this.options.gfm&&this.rules.other.listIsTask.test(a),loose:!1,text:a,tokens:[]}),s.raw+=r}let a=s.items.at(-1);if(!a)return;a.raw=a.raw.trimEnd(),a.text=a.text.trimEnd(),s.raw=s.raw.trimEnd();for(let t of s.items){if(this.lexer.state.top=!1,t.tokens=this.lexer.blockTokens(t.text,[]),t.task){if(t.text=t.text.replace(this.rules.other.listReplaceTask,""),"text"===t.tokens[0]?.type||"paragraph"===t.tokens[0]?.type){t.tokens[0].raw=t.tokens[0].raw.replace(this.rules.other.listReplaceTask,""),t.tokens[0].text=t.tokens[0].text.replace(this.rules.other.listReplaceTask,"");for(let t=this.lexer.inlineQueue.length-1;t>=0;t--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[t].src)){this.lexer.inlineQueue[t].src=this.lexer.inlineQueue[t].src.replace(this.rules.other.listReplaceTask,"");break}}let e=this.rules.other.listTaskCheckbox.exec(t.raw);if(e){let n={type:"checkbox",raw:e[0]+" ",checked:"[ ]"!==e[0]};t.checked=n.checked,s.loose?t.tokens[0]&&["paragraph","text"].includes(t.tokens[0].type)&&"tokens"in t.tokens[0]&&t.tokens[0].tokens?(t.tokens[0].raw=n.raw+t.tokens[0].raw,t.tokens[0].text=n.raw+t.tokens[0].text,t.tokens[0].tokens.unshift(n)):t.tokens.unshift({type:"paragraph",raw:n.raw,text:n.raw,tokens:[n]}):t.tokens.unshift(n)}}if(!s.loose){let e=t.tokens.filter(t=>"space"===t.type),n=e.length>0&&e.some(t=>this.rules.other.anyLine.test(t.raw));s.loose=n}}if(s.loose)for(let t of s.items){t.loose=!0;for(let e of t.tokens)"text"===e.type&&(e.type="paragraph")}return s}}html(t){let e=this.rules.block.html.exec(t);if(e)return{type:"html",block:!0,raw:e[0],pre:"pre"===e[1]||"script"===e[1]||"style"===e[1],text:e[0]}}def(t){let e=this.rules.block.def.exec(t);if(e){let t=e[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),n=e[2]?e[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:t,raw:e[0],href:n,title:r}}}table(t){let e=this.rules.block.table.exec(t);if(!e||!this.rules.other.tableDelimiter.test(e[2]))return;let n=kt(e[1]),r=e[2].replace(this.rules.other.tableAlignChars,"").split("|"),s=e[3]?.trim()?e[3].replace(this.rules.other.tableRowBlankLine,"").split("\n"):[],i={type:"table",raw:e[0],header:[],align:[],rows:[]};if(n.length===r.length){for(let t of r)this.rules.other.tableAlignRight.test(t)?i.align.push("right"):this.rules.other.tableAlignCenter.test(t)?i.align.push("center"):this.rules.other.tableAlignLeft.test(t)?i.align.push("left"):i.align.push(null);for(let t=0;n.length>t;t++)i.header.push({text:n[t],tokens:this.lexer.inline(n[t]),header:!0,align:i.align[t]});for(let t of s)i.rows.push(kt(t,i.header.length).map((t,e)=>({text:t,tokens:this.lexer.inline(t),header:!1,align:i.align[e]})));return i}}lheading(t){let e=this.rules.block.lheading.exec(t);if(e){let t=e[1].trim();return{type:"heading",raw:e[0],depth:"="===e[2].charAt(0)?1:2,text:t,tokens:this.lexer.inline(t)}}}paragraph(t){let e=this.rules.block.paragraph.exec(t);if(e){let t="\n"===e[1].charAt(e[1].length-1)?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:t,tokens:this.lexer.inline(t)}}}text(t){let e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){let e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(t){let e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){let e=this.rules.inline.link.exec(t);if(e){let t=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(t)){if(!this.rules.other.endAngleBracket.test(t))return;let e=bt(t.slice(0,-1),"\\");if((t.length-e.length)%2==0)return}else{let t=function(t){if(-1===t.indexOf(")"))return-1;let e=0;for(let n=0;t.length>n;n++)if("\\"===t[n])n++;else if("("===t[n])e++;else if(")"===t[n]&&(e--,0>e))return n;return e>0?-2:-1}(e[2]);if(-2===t)return;if(t>-1){let n=(0===e[0].indexOf("!")?5:4)+e[1].length+t;e[2]=e[2].substring(0,t),e[0]=e[0].substring(0,n).trim(),e[3]=""}}let n=e[2],r="";if(this.options.pedantic){let t=this.rules.other.pedanticHrefTitle.exec(n);t&&(n=t[1],r=t[3])}else r=e[3]?e[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(n=this.options.pedantic&&!this.rules.other.endAngleBracket.test(t)?n.slice(1):n.slice(1,-1)),yt(e,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:r&&r.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer,this.rules)}}reflink(t,e){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){let t=e[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!t){let t=n[0].charAt(0);return{type:"text",raw:t,text:t}}return yt(n,t,n[0],this.lexer,this.rules)}}emStrong(t,e,n=""){let r=this.rules.inline.emStrongLDelim.exec(t);if(r&&(r[1]||r[2]||r[3]||r[4])&&(!r[4]||!n.match(this.rules.other.unicodeAlphaNumeric))&&(!r[1]&&!r[3]||!n||this.rules.inline.punctuation.exec(n))){let n,s,i=[...r[0]].length-1,o=i,a=0,l="*"===r[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,e=e.slice(-1*t.length+i);null!=(r=l.exec(e));){if(n=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!n)continue;if(s=[...n].length,r[3]||r[4]){o+=s;continue}if((r[5]||r[6])&&i%3&&!((i+s)%3)){a+=s;continue}if(o-=s,o>0)continue;s=Math.min(s,s+o+a);let e=[...r[0]][0].length,l=t.slice(0,i+r.index+e+s);if(Math.min(i,s)%2){let t=l.slice(1,-1);return{type:"em",raw:l,text:t,tokens:this.lexer.inlineTokens(t)}}let c=l.slice(2,-2);return{type:"strong",raw:l,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(t){let e=this.rules.inline.code.exec(t);if(e){let t=e[2].replace(this.rules.other.newLineCharGlobal," "),n=this.rules.other.nonSpaceChar.test(t),r=this.rules.other.startingSpaceChar.test(t)&&this.rules.other.endingSpaceChar.test(t);return n&&r&&(t=t.substring(1,t.length-1)),{type:"codespan",raw:e[0],text:t}}}br(t){let e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t,e,n=""){let r=this.rules.inline.delLDelim.exec(t);if(r&&(!r[1]||!n||this.rules.inline.punctuation.exec(n))){let n,s,i=[...r[0]].length-1,o=i,a=this.rules.inline.delRDelim;for(a.lastIndex=0,e=e.slice(-1*t.length+i);null!=(r=a.exec(e));){if(n=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!n||(s=[...n].length,s!==i))continue;if(r[3]||r[4]){o+=s;continue}if(o-=s,o>0)continue;s=Math.min(s,s+o);let e=[...r[0]][0].length,a=t.slice(0,i+r.index+e+s),l=a.slice(i,-i);return{type:"del",raw:a,text:l,tokens:this.lexer.inlineTokens(l)}}}}autolink(t){let e=this.rules.inline.autolink.exec(t);if(e){let t,n;return"@"===e[2]?(t=e[1],n="mailto:"+t):(t=e[1],n=t),{type:"link",raw:e[0],text:t,href:n,tokens:[{type:"text",raw:t,text:t}]}}}url(t){let e;if(e=this.rules.inline.url.exec(t)){let t,n;if("@"===e[2])t=e[0],n="mailto:"+t;else{let r;do{r=e[0],e[0]=this.rules.inline.t.exec(e[0])?.[0]??""}while(r!==e[0]);t=e[0],n="www."===e[1]?"http://"+e[0]:e[0]}return{type:"link",raw:e[0],text:t,href:n,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(t){let e=this.rules.inline.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],escaped:this.lexer.state.inRawBlock}}},wt=class t{tokens;options;state;inlineQueue;tokenizer;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||f,this.options.tokenizer=this.options.tokenizer||new It,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let e={other:b,block:pt.normal,inline:ht.normal};this.options.pedantic?(e.block=pt.pedantic,e.inline=ht.pedantic):this.options.gfm&&(e.block=pt.gfm,e.inline=this.options.breaks?ht.breaks:ht.gfm),this.tokenizer.rules=e}static get rules(){return{block:pt,inline:ht}}static lex(e,n){return new t(n).lex(e)}static lexInline(e,n){return new t(n).inlineTokens(e)}lex(t){t=t.replace(b.carriageReturn,"\n"),this.blockTokens(t,this.tokens);for(let t=0;this.inlineQueue.length>t;t++){let e=this.inlineQueue[t];this.inlineTokens(e.src,e.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,e=[],n=!1){for(this.tokenizer.lexer=this,this.options.pedantic&&(t=t.replace(b.tabCharGlobal," ").replace(b.spaceLine,""));t;){let r;if(this.options.extensions?.block?.some(n=>!!(r=n.call({lexer:this},t,e))&&(t=t.substring(r.raw.length),e.push(r),!0)))continue;if(r=this.tokenizer.space(t)){t=t.substring(r.raw.length);let n=e.at(-1);1===r.raw.length&&void 0!==n?n.raw+="\n":e.push(r);continue}if(r=this.tokenizer.code(t)){t=t.substring(r.raw.length);let n=e.at(-1);"paragraph"===n?.type||"text"===n?.type?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+r.raw,n.text+="\n"+r.text,this.inlineQueue.at(-1).src=n.text):e.push(r);continue}if(r=this.tokenizer.fences(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.heading(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.hr(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.blockquote(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.list(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.html(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.def(t)){t=t.substring(r.raw.length);let n=e.at(-1);"paragraph"===n?.type||"text"===n?.type?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+r.raw,n.text+="\n"+r.raw,this.inlineQueue.at(-1).src=n.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title},e.push(r));continue}if(r=this.tokenizer.table(t)){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.lheading(t)){t=t.substring(r.raw.length),e.push(r);continue}let s=t;if(this.options.extensions?.startBlock){let e,n=1/0,r=t.slice(1);this.options.extensions.startBlock.forEach(t=>{e=t.call({lexer:this},r),"number"==typeof e&&e>=0&&(n=Math.min(n,e))}),1/0>n&&n>=0&&(s=t.substring(0,n+1))}if(this.state.top&&(r=this.tokenizer.paragraph(s))){let i=e.at(-1);n&&"paragraph"===i?.type?(i.raw+=(i.raw.endsWith("\n")?"":"\n")+r.raw,i.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=i.text):e.push(r),n=s.length!==t.length,t=t.substring(r.raw.length);continue}if(r=this.tokenizer.text(t)){t=t.substring(r.raw.length);let n=e.at(-1);"text"===n?.type?(n.raw+=(n.raw.endsWith("\n")?"":"\n")+r.raw,n.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):e.push(r);continue}if(t){let e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw Error(e)}}return this.state.top=!0,e}inline(t,e=[]){return this.inlineQueue.push({src:t,tokens:e}),e}inlineTokens(t,e=[]){this.tokenizer.lexer=this;let n,r=t,s=null;if(this.tokens.links){let t=Object.keys(this.tokens.links);if(t.length>0)for(;null!=(s=this.tokenizer.rules.inline.reflinkSearch.exec(r));)t.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(s=this.tokenizer.rules.inline.anyPunctuation.exec(r));)r=r.slice(0,s.index)+"++"+r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!=(s=this.tokenizer.rules.inline.blockSkip.exec(r));)n=s[2]?s[2].length:0,r=r.slice(0,s.index+n)+"["+"a".repeat(s[0].length-n-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);r=this.options.hooks?.emStrongMask?.call({lexer:this},r)??r;let i=!1,o="";for(;t;){let n;if(i||(o=""),i=!1,this.options.extensions?.inline?.some(r=>!!(n=r.call({lexer:this},t,e))&&(t=t.substring(n.raw.length),e.push(n),!0)))continue;if(n=this.tokenizer.escape(t)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.tag(t)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.link(t)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(n.raw.length);let r=e.at(-1);"text"===n.type&&"text"===r?.type?(r.raw+=n.raw,r.text+=n.text):e.push(n);continue}if(n=this.tokenizer.emStrong(t,r,o)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.codespan(t)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.br(t)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.del(t,r,o)){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.autolink(t)){t=t.substring(n.raw.length),e.push(n);continue}if(!this.state.inLink&&(n=this.tokenizer.url(t))){t=t.substring(n.raw.length),e.push(n);continue}let s=t;if(this.options.extensions?.startInline){let e,n=1/0,r=t.slice(1);this.options.extensions.startInline.forEach(t=>{e=t.call({lexer:this},r),"number"==typeof e&&e>=0&&(n=Math.min(n,e))}),1/0>n&&n>=0&&(s=t.substring(0,n+1))}if(n=this.tokenizer.inlineText(s)){t=t.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(o=n.raw.slice(-1)),i=!0;let r=e.at(-1);"text"===r?.type?(r.raw+=n.raw,r.text+=n.text):e.push(n);continue}if(t){let e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw Error(e)}}return e}},$t=class{options;parser;constructor(t){this.options=t||f}space(t){return""}code({text:t,lang:e,escaped:n}){let r=(e||"").match(b.notSpaceStart)?.[0],s=t.replace(b.endingNewline,"")+"\n";return r?'<pre><code class="language-'+gt(r)+'">'+(n?s:gt(s,!0))+"</code></pre>\n":"<pre><code>"+(n?s:gt(s,!0))+"</code></pre>\n"}blockquote({tokens:t}){return`<blockquote>\n${this.parser.parse(t)}</blockquote>\n`}html({text:t}){return t}def(t){return""}heading({tokens:t,depth:e}){return`<h${e}>${this.parser.parseInline(t)}</h${e}>\n`}hr(t){return"<hr>\n"}list(t){let e=t.ordered,n=t.start,r="";for(let e=0;t.items.length>e;e++)r+=this.listitem(t.items[e]);let s=e?"ol":"ul";return"<"+s+(e&&1!==n?' start="'+n+'"':"")+">\n"+r+"</"+s+">\n"}listitem(t){return`<li>${this.parser.parse(t.tokens)}</li>\n`}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>\n`}table(t){let e="",n="";for(let e=0;t.header.length>e;e++)n+=this.tablecell(t.header[e]);e+=this.tablerow({text:n});let r="";for(let e=0;t.rows.length>e;e++){let s=t.rows[e];n="";for(let t=0;s.length>t;t++)n+=this.tablecell(s[t]);r+=this.tablerow({text:n})}return r&&(r=`<tbody>${r}</tbody>`),"<table>\n<thead>\n"+e+"</thead>\n"+r+"</table>\n"}tablerow({text:t}){return`<tr>\n${t}</tr>\n`}tablecell(t){let e=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+`</${n}>\n`}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${gt(t,!0)}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:e,tokens:n}){let r=this.parser.parseInline(n),s=mt(t);if(null===s)return r;let i='<a href="'+(t=s)+'"';return e&&(i+=' title="'+gt(e)+'"'),i+=">"+r+"</a>",i}image({href:t,title:e,text:n,tokens:r}){r&&(n=this.parser.parseInline(r,this.parser.textRenderer));let s=mt(t);if(null===s)return gt(n);let i=`<img src="${t=s}" alt="${gt(n)}"`;return e&&(i+=` title="${gt(e)}"`),i+=">",i}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:gt(t.text)}},vt=class{strong({text:t}){return t}em({text:t}){return t}codespan({text:t}){return t}del({text:t}){return t}html({text:t}){return t}text({text:t}){return t}link({text:t}){return""+t}image({text:t}){return""+t}br(){return""}checkbox({raw:t}){return t}},St=class t{options;renderer;textRenderer;constructor(t){this.options=t||f,this.options.renderer=this.options.renderer||new $t,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new vt}static parse(e,n){return new t(n).parse(e)}static parseInline(e,n){return new t(n).parseInline(e)}parse(t){this.renderer.parser=this;let e="";for(let n=0;t.length>n;n++){let r=t[n];if(this.options.extensions?.renderers?.[r.type]){let t=r,n=this.options.extensions.renderers[t.type].call({parser:this},t);if(!1!==n||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(t.type)){e+=n||"";continue}}let s=r;switch(s.type){case"space":e+=this.renderer.space(s);break;case"hr":e+=this.renderer.hr(s);break;case"heading":e+=this.renderer.heading(s);break;case"code":e+=this.renderer.code(s);break;case"table":e+=this.renderer.table(s);break;case"blockquote":e+=this.renderer.blockquote(s);break;case"list":e+=this.renderer.list(s);break;case"checkbox":e+=this.renderer.checkbox(s);break;case"html":e+=this.renderer.html(s);break;case"def":e+=this.renderer.def(s);break;case"paragraph":e+=this.renderer.paragraph(s);break;case"text":e+=this.renderer.text(s);break;default:{let t='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(t),"";throw Error(t)}}}return e}parseInline(t,e=this.renderer){this.renderer.parser=this;let n="";for(let r=0;t.length>r;r++){let s=t[r];if(this.options.extensions?.renderers?.[s.type]){let t=this.options.extensions.renderers[s.type].call({parser:this},s);if(!1!==t||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){n+=t||"";continue}}let i=s;switch(i.type){case"escape":case"text":n+=e.text(i);break;case"html":n+=e.html(i);break;case"link":n+=e.link(i);break;case"image":n+=e.image(i);break;case"checkbox":n+=e.checkbox(i);break;case"strong":n+=e.strong(i);break;case"em":n+=e.em(i);break;case"codespan":n+=e.codespan(i);break;case"br":n+=e.br(i);break;case"del":n+=e.del(i);break;default:{let t='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(t),"";throw Error(t)}}}return n}},At=class{options;block;constructor(t){this.options=t||f}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}emStrongMask(t){return t}provideLexer(){return this.block?wt.lex:wt.lexInline}provideParser(){return this.block?St.parse:St.parseInline}},zt=class{defaults={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=St;Renderer=$t;TextRenderer=vt;Lexer=wt;Tokenizer=It;Hooks=At;constructor(...t){this.use(...t)}walkTokens(t,e){let n=[];for(let r of t)switch(n=n.concat(e.call(this,r)),r.type){case"table":{let t=r;for(let r of t.header)n=n.concat(this.walkTokens(r.tokens,e));for(let r of t.rows)for(let t of r)n=n.concat(this.walkTokens(t.tokens,e));break}case"list":n=n.concat(this.walkTokens(r.items,e));break;default:{let t=r;this.defaults.extensions?.childTokens?.[t.type]?this.defaults.extensions.childTokens[t.type].forEach(r=>{let s=t[r].flat(1/0);n=n.concat(this.walkTokens(s,e))}):t.tokens&&(n=n.concat(this.walkTokens(t.tokens,e)))}}return n}use(...t){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(t=>{let n={...t};if(n.async=this.defaults.async||n.async||!1,t.extensions&&(t.extensions.forEach(t=>{if(!t.name)throw Error("extension name required");if("renderer"in t){let n=e.renderers[t.name];e.renderers[t.name]=n?function(...e){let r=t.renderer.apply(this,e);return!1===r&&(r=n.apply(this,e)),r}:t.renderer}if("tokenizer"in t){if(!t.level||"block"!==t.level&&"inline"!==t.level)throw Error("extension level must be 'block' or 'inline'");let n=e[t.level];n?n.unshift(t.tokenizer):e[t.level]=[t.tokenizer],t.start&&("block"===t.level?e.startBlock?e.startBlock.push(t.start):e.startBlock=[t.start]:"inline"===t.level&&(e.startInline?e.startInline.push(t.start):e.startInline=[t.start]))}"childTokens"in t&&t.childTokens&&(e.childTokens[t.name]=t.childTokens)}),n.extensions=e),t.renderer){let e=this.defaults.renderer||new $t(this.defaults);for(let n in t.renderer){if(!(n in e))throw Error(`renderer '${n}' does not exist`);if(["options","parser"].includes(n))continue;let r=t.renderer[n],s=e[n];e[n]=(...t)=>{let n=r.apply(e,t);return!1===n&&(n=s.apply(e,t)),n||""}}n.renderer=e}if(t.tokenizer){let e=this.defaults.tokenizer||new It(this.defaults);for(let n in t.tokenizer){if(!(n in e))throw Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;let r=t.tokenizer[n],s=e[n];e[n]=(...t)=>{let n=r.apply(e,t);return!1===n&&(n=s.apply(e,t)),n}}n.tokenizer=e}if(t.hooks){let e=this.defaults.hooks||new At;for(let n in t.hooks){if(!(n in e))throw Error(`hook '${n}' does not exist`);if(["options","block"].includes(n))continue;let r=t.hooks[n],s=e[n];e[n]=At.passThroughHooks.has(n)?t=>{if(this.defaults.async&&At.passThroughHooksRespectAsync.has(n))return(async()=>{let n=await r.call(e,t);return s.call(e,n)})();let i=r.call(e,t);return s.call(e,i)}:(...t)=>{if(this.defaults.async)return(async()=>{let n=await r.apply(e,t);return!1===n&&(n=await s.apply(e,t)),n})();let n=r.apply(e,t);return!1===n&&(n=s.apply(e,t)),n}}n.hooks=e}if(t.walkTokens){let e=this.defaults.walkTokens,r=t.walkTokens;n.walkTokens=function(t){let n=[];return n.push(r.call(this,t)),e&&(n=n.concat(e.call(this,t))),n}}this.defaults={...this.defaults,...n}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return wt.lex(t,e??this.defaults)}parser(t,e){return St.parse(t,e??this.defaults)}parseMarkdown(t){return(e,n)=>{let r={...n},s={...this.defaults,...r},i=this.onError(!!s.silent,!!s.async);if(!0===this.defaults.async&&!1===r.async)return i(Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof e>"u"||null===e)return i(Error("marked(): input parameter is undefined or null"));if("string"!=typeof e)return i(Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));if(s.hooks&&(s.hooks.options=s,s.hooks.block=t),s.async)return(async()=>{let n=s.hooks?await s.hooks.preprocess(e):e,r=await(s.hooks?await s.hooks.provideLexer():t?wt.lex:wt.lexInline)(n,s),i=s.hooks?await s.hooks.processAllTokens(r):r;s.walkTokens&&await Promise.all(this.walkTokens(i,s.walkTokens));let o=await(s.hooks?await s.hooks.provideParser():t?St.parse:St.parseInline)(i,s);return s.hooks?await s.hooks.postprocess(o):o})().catch(i);try{s.hooks&&(e=s.hooks.preprocess(e));let n=(s.hooks?s.hooks.provideLexer():t?wt.lex:wt.lexInline)(e,s);s.hooks&&(n=s.hooks.processAllTokens(n)),s.walkTokens&&this.walkTokens(n,s.walkTokens);let r=(s.hooks?s.hooks.provideParser():t?St.parse:St.parseInline)(n,s);return s.hooks&&(r=s.hooks.postprocess(r)),r}catch(t){return i(t)}}}onError(t,e){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",t){let t="<p>An error occurred:</p><pre>"+gt(n.message+"",!0)+"</pre>";return e?Promise.resolve(t):t}if(e)return Promise.reject(n);throw n}}},qt=new zt;function jt(t,e){return qt.parse(t,e)}function Rt(t,e,n,r){return new(n||(n=Promise))(function(s,i){function o(t){try{l(r.next(t))}catch(t){i(t)}}function a(t){try{l(r.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?s(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(o,a)}l((r=r.apply(t,e||[])).next())})}jt.options=jt.setOptions=function(t){return qt.setOptions(t),d(jt.defaults=qt.defaults),jt},jt.getDefaults=function(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},jt.defaults=f,jt.use=function(...t){return qt.use(...t),d(jt.defaults=qt.defaults),jt},jt.walkTokens=function(t,e){return qt.walkTokens(t,e)},jt.parseInline=qt.parseInline,jt.Parser=St,jt.parser=St.parse,jt.Renderer=$t,jt.TextRenderer=vt,jt.Lexer=wt,jt.lexer=wt.lex,jt.Tokenizer=It,jt.Hooks=At,jt.parse=jt,"function"==typeof SuppressedError&&SuppressedError;const _t=Ht;function Pt(){const t=["No license configured. Please call configureLicense() with your API key.","random","6txGDXd","application/json","POST","13tFDgvr","message","browser-session","[mmarked] License validation failed:","valid","15942876ypDIcH","436062NsRQZh","apiKey","1756476RIMpeO","[mmarked] License configured successfully","node","xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx","renderMarkdownCompact","randomUUID","2237570PzQxBS","https://api.mathcrowd.cn/report-usage","[mmarked] Usage reporting error:","renderMarkdown","[mmarked] Failed to report usage statistics:","get","Validation failed: ","stringify","14VWwKNY","debug","8WaONRI","[mmarked] Usage statistics reported successfully","clear","warn","set","48tIxxFp","lastUsedAt","renderMarkdownCompactCalls","totalCalls","33elaUdR","assign","Fetch API not available. Requires Node.js 18+ or use custom validator.","mmarked","2.0.3","[mmarked] Usage stats reset","toString","https://api.mathcrowd.cn/validate-license","726186dWQUwT","Requires Node.js 18+ for fetch API support. ","slice",'">\n <defs>\n <style type="text/css">\n .mjx-warning-text { font-family: Arial, sans-serif; font-size: 14px; fill: #856404; }\n .mjx-warning-link { font-family: Arial, sans-serif; font-size: 14px; fill: #0066cc; text-decoration: underline; cursor: pointer; }\n </style>\n </defs>\n <rect width="800" height="80" fill="#fff3cd" stroke="#ffc107" stroke-width="1" rx="4"/>\n <text x="20" y="25" class="mjx-warning-text" font-weight="bold">⚠️ Non-Commercial Use Only</text>\n <text x="20" y="45" class="mjx-warning-text">This content uses @mathcrowd/mmarked without valid commercial license.</text>\n <text x="20" y="65" class="mjx-warning-text">For commercial use, contact: </text>\n <a href="mailto:charles@mathcrowd.cn">\n <text x="220" y="65" class="mjx-warning-link">charles@mathcrowd.cn</text>\n </a>\n</svg>',"[mmarked] License validation error:","687777zEUAfg","lastReportedAt","then","replace",'<svg xmlns="http://www.w3.org/2000/svg" class="MJX-svg-equation" role="img" focusable="false" viewBox="0 0 800 80" style="vertical-align: -0.5ex; margin: 1em 0; max-width: 100%; display: block;" aria-label="Non-commercial use warning" data-formula-id="',"[mmarked] Validation cache cleared","catch","log","current version","result","timestamp","1494590Qcuvbq","now",'" data-timestamp="',"undefined","renderMarkdownCalls","[mmarked] Initial usage reporting error:","statusText","sessionId","versions"];return(Pt=function(){return t})()}function Tt(){const t=Ht;if(!Nt())return t(246);try{if(typeof require!==t(233)){const e=require("crypto");if(e[t(186)])return e[t(186)]()}return t(184)[t(222)](/[xy]/g,function(e){const n=t,r=16*Math[n(240)]()|0;return("x"===e?r:3&r|8)[n(212)](16)})}catch(e){return"session-"+Date.now()+"-"+Math[t(240)]()[t(212)](36)[t(216)](2,11)}}!function(){const t=Ht,e=Pt();for(;;)try{if(613893==parseInt(t(219))/1+parseInt(t(250))/2*(-parseInt(t(241))/3)+-parseInt(t(197))/4*(-parseInt(t(187))/5)+parseInt(t(214))/6*(-parseInt(t(195))/7)+-parseInt(t(202))/8*(parseInt(t(252))/9)+-parseInt(t(230))/10*(parseInt(t(206))/11)+-parseInt(t(249))/12*(-parseInt(t(244))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),exports.UNLICENSED_WARNING_INTERVAL=1e3;let Dt=null;const Lt=new Map;let Ct=!1;const Mt=36e5,Zt=_t(213),Et=_t(188),Ot={totalCalls:0,renderMarkdownCalls:0,renderMarkdownCompactCalls:0,firstUsedAt:Date[_t(231)](),lastUsedAt:Date[_t(231)](),sessionId:Tt()};let Bt=null;function Nt(){const t=_t;return typeof process!==t(233)&&null!=process.versions&&null!=process.versions[t(183)]}function Ut(){return Rt(this,void 0,void 0,function*(){const t=Ht;var e;if(!Nt())return;const n=Dt;if(!n||!n.apiKey)return;const r=Date[t(231)]();if(Ot[t(220)]&&18e5>r-Ot[t(220)])return;const s=Et;try{const i=Object[t(207)](Object.assign({},Ot),{apiKey:n[t(251)],timestamp:r,nodeVersion:null===(e=process[t(238)])||void 0===e?void 0:e.node});typeof fetch!==t(233)&&(yield fetch(s,{method:t(243),headers:{"Content-Type":"application/json"},body:JSON[t(194)](i)}),Ot.lastReportedAt=r,console[t(196)](t(198)))}catch(e){console[t(196)](t(191),e)}})}function Ft(t){const e=_t;var n;Nt()&&(Ot[e(205)]++,Ot[e(203)]=Date[e(231)](),t===e(190)?Ot[e(234)]++:t===e(185)&&Ot[e(204)]++,(null==Dt?void 0:Dt[e(251)])&&(Ot[e(251)]=Dt.apiKey,Ot.nodeVersion=null===(n=process.versions)||void 0===n?void 0:n[e(183)]))}function Ht(t,e){return t-=182,Pt()[t]}function Kt(){const t=_t;return!Nt()||Vt()?"":Ot[t(205)]>0&&Ot[t(205)]%exports.UNLICENSED_WARNING_INTERVAL===0?function(){const t=_t,e=Date.now(),n=Math.random()[t(212)](36).substring(2,9);return t(223)+n+t(232)+e+t(217)}():""}function Gt(t){const e=_t;Dt=t,function(){const t=_t;Nt()&&Dt&&Dt.apiKey&&(Bt&&clearInterval(Bt),Bt=setInterval(()=>{const t=Ht;Ut()[t(225)](e=>{const n=t;console[n(196)](n(189),e)})},36e5),Ut()[t(225)](e=>{console.debug(t(235),e)}))}(),console[e(226)](e(182))}function Yt(){return Rt(this,void 0,void 0,function*(){const t=Ht,e=Dt;if(!e||!e[t(251)])return{valid:!1,message:t(239)};const{apiKey:n}=e,r=Lt[t(192)](n);if(r&&Date.now()-r[t(229)]<Mt)return{valid:r.result};const s=yield function(t,e){return Rt(this,void 0,void 0,function*(){const n=Ht;var r;try{if(typeof fetch===n(233)){const t=null===(r=process[n(238)])||void 0===r?void 0:r[n(183)];return console[n(200)]("[mmarked] ⚠️ Remote license validation not supported on Node.js "+(t||n(227))+". "+n(215)+"Either upgrade to Node.js 18+, use a custom validator, or configure offline mode."),{valid:!1,message:n(208)}}const s=yield fetch(e,{method:"POST",headers:{"Content-Type":n(242)},body:JSON[n(194)]({apiKey:t,product:n(209),version:n(210)})});return s.ok?yield s.json():{valid:!1,message:n(193)+s[n(236)]}}catch(t){return console[n(200)]("[mmarked] Remote validation failed:",t),{valid:!1,message:"Network error during validation"}}})}(n,Zt);return Lt[t(201)](n,{result:s[t(248)],timestamp:Date[t(231)]()}),s})}function Vt(){const t=_t;if(!Nt())return!1;!function(){if(!Nt())return;if(null==Dt?void 0:Dt.apiKey)return;const t=process.env.MMARKED_API_KEY;t&&Gt({apiKey:t})}();const e=Dt;if(!e||!e[t(251)])return!1;const{apiKey:n}=e,r=Lt[t(192)](n);return r?(Date[t(231)]()-r[t(229)]>=Mt&&Yt()[t(221)](e=>{const n=t;return!e[n(248)]&&console[n(200)](n(247),e[n(245)]),e})[t(225)](e=>{throw console.error(t(218),e),e}),r[t(228)]):(!Ct&&(Ct=!0,Yt()[t(221)](e=>{const n=t;return!e[n(248)]&&console[n(200)](n(247),e[n(245)]),e})[t(225)](e=>{throw console.error(t(218),e),e})),!0)}var Wt,Jt,Qt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Xt={exports:{}},te=(Wt||(Wt=1,Jt=Xt,function(){var n="input is invalid type",r="object"==typeof window,s=r?window:{};s.JS_MD5_NO_WINDOW&&(r=!1);var i=!r&&"object"==typeof self,o=!s.JS_MD5_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;o?s=Qt:i&&(s=self);var a,l=!s.JS_MD5_NO_COMMON_JS&&Jt.exports,c=!s.JS_MD5_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,u="0123456789abcdef".split(""),p=[128,32768,8388608,-2147483648],h=[0,8,16,24],f=["hex","array","digest","buffer","arrayBuffer","base64"],d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),g=[];if(c){var m=new ArrayBuffer(68);a=new Uint8Array(m),g=new Uint32Array(m)}var k=Array.isArray;!s.JS_MD5_NO_NODE_JS&&k||(k=function(t){return"[object Array]"===Object.prototype.toString.call(t)});var b=ArrayBuffer.isView;!c||!s.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW&&b||(b=function(t){return"object"==typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});var x=function(t){var e=typeof t;if("string"===e)return[t,!0];if("object"!==e||null===t)throw Error(n);if(c&&t.constructor===ArrayBuffer)return[new Uint8Array(t),!1];if(!k(t)&&!b(t))throw Error(n);return[t,!1]},y=function(t){return function(e){return new w(!0).update(e)[t]()}},I=function(t){return function(e,n){return new $(e,!0).update(n)[t]()}};function w(t){if(t)g[0]=g[16]=g[1]=g[2]=g[3]=g[4]=g[5]=g[6]=g[7]=g[8]=g[9]=g[10]=g[11]=g[12]=g[13]=g[14]=g[15]=0,this.blocks=g,this.buffer8=a;else if(c){var e=new ArrayBuffer(68);this.buffer8=new Uint8Array(e),this.blocks=new Uint32Array(e)}else this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}function $(t,e){var n,r=x(t);if(t=r[0],r[1]){var s,i=[],o=t.length,a=0;for(n=0;o>n;++n)128>(s=t.charCodeAt(n))?i[a++]=s:2048>s?(i[a++]=192|s>>>6,i[a++]=128|63&s):55296>s||s>=57344?(i[a++]=224|s>>>12,i[a++]=128|s>>>6&63,i[a++]=128|63&s):(s=65536+((1023&s)<<10|1023&t.charCodeAt(++n)),i[a++]=240|s>>>18,i[a++]=128|s>>>12&63,i[a++]=128|s>>>6&63,i[a++]=128|63&s);t=i}t.length>64&&(t=new w(!0).update(t).array());var l=[],c=[];for(n=0;64>n;++n){var u=t[n]||0;l[n]=92^u,c[n]=54^u}w.call(this,e),this.update(c),this.oKeyPad=l,this.inner=!0,this.sharedMemory=e}w.prototype.update=function(t){if(this.finalized)throw Error("finalize already called");for(var e,n,r=x(t),s=r[1],i=0,o=(t=r[0]).length,a=this.blocks,l=this.buffer8;o>i;){if(this.hashed&&(this.hashed=!1,a[0]=a[16],a[16]=a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=0),s)if(c)for(n=this.start;o>i&&64>n;++i)128>(e=t.charCodeAt(i))?l[n++]=e:2048>e?(l[n++]=192|e>>>6,l[n++]=128|63&e):55296>e||e>=57344?(l[n++]=224|e>>>12,l[n++]=128|e>>>6&63,l[n++]=128|63&e):(e=65536+((1023&e)<<10|1023&t.charCodeAt(++i)),l[n++]=240|e>>>18,l[n++]=128|e>>>12&63,l[n++]=128|e>>>6&63,l[n++]=128|63&e);else for(n=this.start;o>i&&64>n;++i)128>(e=t.charCodeAt(i))?a[n>>>2]|=e<<h[3&n++]:2048>e?(a[n>>>2]|=(192|e>>>6)<<h[3&n++],a[n>>>2]|=(128|63&e)<<h[3&n++]):55296>e||e>=57344?(a[n>>>2]|=(224|e>>>12)<<h[3&n++],a[n>>>2]|=(128|e>>>6&63)<<h[3&n++],a[n>>>2]|=(128|63&e)<<h[3&n++]):(e=65536+((1023&e)<<10|1023&t.charCodeAt(++i)),a[n>>>2]|=(240|e>>>18)<<h[3&n++],a[n>>>2]|=(128|e>>>12&63)<<h[3&n++],a[n>>>2]|=(128|e>>>6&63)<<h[3&n++],a[n>>>2]|=(128|63&e)<<h[3&n++]);else if(c)for(n=this.start;o>i&&64>n;++i)l[n++]=t[i];else for(n=this.start;o>i&&64>n;++i)a[n>>>2]|=t[i]<<h[3&n++];this.lastByteIndex=n,this.bytes+=n-this.start,64>n?this.start=n:(this.start=n-64,this.hash(),this.hashed=!0)}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296|0,this.bytes=this.bytes%4294967296),this},w.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,e=this.lastByteIndex;t[e>>>2]|=p[3&e],56>e||(this.hashed||this.hash(),t[0]=t[16],t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0),t[14]=this.bytes<<3,t[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},w.prototype.hash=function(){var t,e,n,r,s,i,o=this.blocks;this.first?e=((e=((t=((t=o[0]-680876937)<<7|t>>>25)-271733879|0)^(n=((n=(-271733879^(r=((r=(-1732584194^2004318071&t)+o[1]-117830708)<<12|r>>>20)+t|0)&(-271733879^t))+o[2]-1126478375)<<17|n>>>15)+r|0)&(r^t))+o[3]-1316259209)<<22|e>>>10)+n|0:(t=this.h0,e=this.h1,e=((e+=((t=((t+=((r=this.h3)^e&((n=this.h2)^r))+o[0]-680876936)<<7|t>>>25)+e|0)^(n=((n+=(e^(r=((r+=(n^t&(e^n))+o[1]-389564586)<<12|r>>>20)+t|0)&(t^e))+o[2]+606105819)<<17|n>>>15)+r|0)&(r^t))+o[3]-1044525330)<<22|e>>>10)+n|0),e=((e+=((t=((t+=(r^e&(n^r))+o[4]-176418897)<<7|t>>>25)+e|0)^(n=((n+=(e^(r=((r+=(n^t&(e^n))+o[5]+1200080426)<<12|r>>>20)+t|0)&(t^e))+o[6]-1473231341)<<17|n>>>15)+r|0)&(r^t))+o[7]-45705983)<<22|e>>>10)+n|0,e=((e+=((t=((t+=(r^e&(n^r))+o[8]+1770035416)<<7|t>>>25)+e|0)^(n=((n+=(e^(r=((r+=(n^t&(e^n))+o[9]-1958414417)<<12|r>>>20)+t|0)&(t^e))+o[10]-42063)<<17|n>>>15)+r|0)&(r^t))+o[11]-1990404162)<<22|e>>>10)+n|0,e=((e+=((t=((t+=(r^e&(n^r))+o[12]+1804603682)<<7|t>>>25)+e|0)^(n=((n+=(e^(r=((r+=(n^t&(e^n))+o[13]-40341101)<<12|r>>>20)+t|0)&(t^e))+o[14]-1502002290)<<17|n>>>15)+r|0)&(r^t))+o[15]+1236535329)<<22|e>>>10)+n|0,e=((e+=((r=((r+=(e^n&((t=((t+=(n^r&(e^n))+o[1]-165796510)<<5|t>>>27)+e|0)^e))+o[6]-1069501632)<<9|r>>>23)+t|0)^t&((n=((n+=(t^e&(r^t))+o[11]+643717713)<<14|n>>>18)+r|0)^r))+o[0]-373897302)<<20|e>>>12)+n|0,e=((e+=((r=((r+=(e^n&((t=((t+=(n^r&(e^n))+o[5]-701558691)<<5|t>>>27)+e|0)^e))+o[10]+38016083)<<9|r>>>23)+t|0)^t&((n=((n+=(t^e&(r^t))+o[15]-660478335)<<14|n>>>18)+r|0)^r))+o[4]-405537848)<<20|e>>>12)+n|0,e=((e+=((r=((r+=(e^n&((t=((t+=(n^r&(e^n))+o[9]+568446438)<<5|t>>>27)+e|0)^e))+o[14]-1019803690)<<9|r>>>23)+t|0)^t&((n=((n+=(t^e&(r^t))+o[3]-187363961)<<14|n>>>18)+r|0)^r))+o[8]+1163531501)<<20|e>>>12)+n|0,e=((e+=((r=((r+=(e^n&((t=((t+=(n^r&(e^n))+o[13]-1444681467)<<5|t>>>27)+e|0)^e))+o[2]-51403784)<<9|r>>>23)+t|0)^t&((n=((n+=(t^e&(r^t))+o[7]+1735328473)<<14|n>>>18)+r|0)^r))+o[12]-1926607734)<<20|e>>>12)+n|0,e=((e+=((i=(r=((r+=((s=e^n)^(t=((t+=(s^r)+o[5]-378558)<<4|t>>>28)+e|0))+o[8]-2022574463)<<11|r>>>21)+t|0)^t)^(n=((n+=(i^e)+o[11]+1839030562)<<16|n>>>16)+r|0))+o[14]-35309556)<<23|e>>>9)+n|0,e=((e+=((i=(r=((r+=((s=e^n)^(t=((t+=(s^r)+o[1]-1530992060)<<4|t>>>28)+e|0))+o[4]+1272893353)<<11|r>>>21)+t|0)^t)^(n=((n+=(i^e)+o[7]-155497632)<<16|n>>>16)+r|0))+o[10]-1094730640)<<23|e>>>9)+n|0,e=((e+=((i=(r=((r+=((s=e^n)^(t=((t+=(s^r)+o[13]+681279174)<<4|t>>>28)+e|0))+o[0]-358537222)<<11|r>>>21)+t|0)^t)^(n=((n+=(i^e)+o[3]-722521979)<<16|n>>>16)+r|0))+o[6]+76029189)<<23|e>>>9)+n|0,e=((e+=((i=(r=((r+=((s=e^n)^(t=((t+=(s^r)+o[9]-640364487)<<4|t>>>28)+e|0))+o[12]-421815835)<<11|r>>>21)+t|0)^t)^(n=((n+=(i^e)+o[15]+530742520)<<16|n>>>16)+r|0))+o[2]-995338651)<<23|e>>>9)+n|0,e=((e+=((r=((r+=(e^((t=((t+=(n^(e|~r))+o[0]-198630844)<<6|t>>>26)+e|0)|~n))+o[7]+1126891415)<<10|r>>>22)+t|0)^((n=((n+=(t^(r|~e))+o[14]-1416354905)<<15|n>>>17)+r|0)|~t))+o[5]-57434055)<<21|e>>>11)+n|0,e=((e+=((r=((r+=(e^((t=((t+=(n^(e|~r))+o[12]+1700485571)<<6|t>>>26)+e|0)|~n))+o[3]-1894986606)<<10|r>>>22)+t|0)^((n=((n+=(t^(r|~e))+o[10]-1051523)<<15|n>>>17)+r|0)|~t))+o[1]-2054922799)<<21|e>>>11)+n|0,e=((e+=((r=((r+=(e^((t=((t+=(n^(e|~r))+o[8]+1873313359)<<6|t>>>26)+e|0)|~n))+o[15]-30611744)<<10|r>>>22)+t|0)^((n=((n+=(t^(r|~e))+o[6]-1560198380)<<15|n>>>17)+r|0)|~t))+o[13]+1309151649)<<21|e>>>11)+n|0,e=((e+=((r=((r+=(e^((t=((t+=(n^(e|~r))+o[4]-145523070)<<6|t>>>26)+e|0)|~n))+o[11]-1120210379)<<10|r>>>22)+t|0)^((n=((n+=(t^(r|~e))+o[2]+718787259)<<15|n>>>17)+r|0)|~t))+o[9]-343485551)<<21|e>>>11)+n|0,this.first?(this.h0=t+1732584193|0,this.h1=e-271733879|0,this.h2=n-1732584194|0,this.h3=r+271733878|0,this.first=!1):(this.h0=this.h0+t|0,this.h1=this.h1+e|0,this.h2=this.h2+n|0,this.h3=this.h3+r|0)},w.prototype.toString=w.prototype.hex=function(){this.finalize();var t=this.h0,e=this.h1,n=this.h2,r=this.h3;return u[t>>>4&15]+u[15&t]+u[t>>>12&15]+u[t>>>8&15]+u[t>>>20&15]+u[t>>>16&15]+u[t>>>28&15]+u[t>>>24&15]+u[e>>>4&15]+u[15&e]+u[e>>>12&15]+u[e>>>8&15]+u[e>>>20&15]+u[e>>>16&15]+u[e>>>28&15]+u[e>>>24&15]+u[n>>>4&15]+u[15&n]+u[n>>>12&15]+u[n>>>8&15]+u[n>>>20&15]+u[n>>>16&15]+u[n>>>28&15]+u[n>>>24&15]+u[r>>>4&15]+u[15&r]+u[r>>>12&15]+u[r>>>8&15]+u[r>>>20&15]+u[r>>>16&15]+u[r>>>28&15]+u[r>>>24&15]},w.prototype.array=w.prototype.digest=function(){this.finalize();var t=this.h0,e=this.h1,n=this.h2,r=this.h3;return[255&t,t>>>8&255,t>>>16&255,t>>>24&255,255&e,e>>>8&255,e>>>16&255,e>>>24&255,255&n,n>>>8&255,n>>>16&255,n>>>24&255,255&r,r>>>8&255,r>>>16&255,r>>>24&255]},w.prototype.arrayBuffer=function(){this.finalize();var t=new ArrayBuffer(16),e=new Uint32Array(t);return e[0]=this.h0,e[1]=this.h1,e[2]=this.h2,e[3]=this.h3,t},w.prototype.buffer=w.prototype.arrayBuffer,w.prototype.base64=function(){for(var t,e,n,r="",s=this.array(),i=0;15>i;)t=s[i++],e=s[i++],n=s[i++],r+=d[t>>>2]+d[63&(t<<4|e>>>4)]+d[63&(e<<2|n>>>6)]+d[63&n];return r+(d[(t=s[i])>>>2]+d[t<<4&63]+"==")},($.prototype=new w).finalize=function(){if(w.prototype.finalize.call(this),this.inner){this.inner=!1;var t=this.array();w.call(this,this.sharedMemory),this.update(this.oKeyPad),this.update(t),w.prototype.finalize.call(this)}};var v=function(){var r=y("hex");o&&(r=function(r){var i,o=t,a=e.Buffer;return i=a.from&&!s.JS_MD5_NO_BUFFER_FROM?a.from:function(t){return new a(t)},function(t){if("string"==typeof t)return o.createHash("md5").update(t,"utf8").digest("hex");if(null==t)throw Error(n);return t.constructor===ArrayBuffer&&(t=new Uint8Array(t)),k(t)||b(t)||t.constructor===a?o.createHash("md5").update(i(t)).digest("hex"):r(t)}}(r)),r.create=function(){return new w},r.update=function(t){return r.create().update(t)};for(var i=0;f.length>i;++i){var a=f[i];r[a]=y(a)}return r}();v.md5=v,v.md5.hmac=function(){var t=I("hex");t.create=function(t){return new $(t)},t.update=function(e,n){return t.create(e).update(n)};for(var e=0;f.length>e;++e){var n=f[e];t[n]=I(n)}return t}(),l?Jt.exports=v:s.md5=v}()),Xt.exports);function ee(t){const e=oe;try{t=encodeURI(t)[e(167)](/%25/g,"%")}catch(t){return null}return t}!function(){const t=oe,e=ie();for(;;)try{if(293965==-parseInt(t(161))/1*(parseInt(t(175))/2)+-parseInt(t(168))/3+-parseInt(t(172))/4*(parseInt(t(156))/5)+parseInt(t(157))/6+-parseInt(t(170))/7+parseInt(t(166))/8+-parseInt(t(169))/9*(-parseInt(t(173))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ne={exec:()=>null};function re(t,e){let n="string"==typeof t?t:t.source;e=e||"";const r={replace:(t,e)=>{const s=oe;let i=typeof e===s(164)?e:e[s(163)];return i=i[s(167)](/(^|[^[])\^/g,"$1"),n=n[s(167)](t,i),r},getRegex:()=>RegExp(n,e)};return r}const se=t=>{const e=oe;return/^[a-z][\w-]*$/i[e(159)](t)?t:e(160)+te.md5(t)};function ie(){const t=["11hlfHZA","split","source","string","versions","1208328oDsKrP","replace","595167eTXwqI","4921155xYJLqy","66003bmCMRz","slice","40DkGkFA","10WjXVYB","push","65266BpWGby","length","match","shift","charAt","undefined","pop","trim","208255dFjfpn","3476520jpfKay","splice","test","class-"];return(ie=function(){return t})()}function oe(t,e){return t-=151,ie()[t]}function ae(t){const e=oe,n=t[e(177)](/^(.*?)(?:\s*=(\d*)(?:x(\d+))?)?$/);if(n){const t=n[1].trim(),r=n[2]?parseInt(n[2],10):null,s=n[3]?parseInt(n[3],10):null;return{text:0===t[e(176)]?null:t,width:r,height:s}}return{text:null,width:null,height:null}}function le(t,e){const n=oe,r=t[n(167)](/\|/g,(t,e,n)=>{let r=!1,s=e;for(;--s>=0&&"\\"===n[s];)r=!r;return r?"|":" |"})[n(162)](/ \|/);let s=0;if(!r[0][n(155)]()&&r[n(151)](),r.length>0&&!r[r[n(176)]-1][n(155)]()&&r[n(154)](),e)if(r[n(176)]>e)r[n(158)](e);else for(;r[n(176)]<e;)r[n(174)]("");for(;s<r[n(176)];s++)r[s]=r[s][n(155)]()[n(167)](/\\\|/g,"|");return r}function ce(){const t=["paragraph","</tbody>\n","task","1276544pnWMDk","24qFTmlB",'<p class="paragraph">',"image","</section>\n","20mJLAwt","217638QpFvDn","parser",'" alt="',"px;","</li>\n","checkbox","title","parse","items","379929bdGzxP","start",' class="md-list"',"rows","listitem","</figure>\n",'<li class="md-list-item">',"<tbody>","header","<figure>\n","</p>\n","tokens","width:","checked","tablerow","type",' style="',"text","442135vDzqBv","345226HoaNzL","tablecell","length","</table>\n","unshift","caption","<table>\n","854841KJGwRV",'<img src="',' start="',"parseInline","5579811DwgFBf","height:"];return(ce=function(){return t})()}!function(){const t=pe,e=ce();for(;;)try{if(239011==parseInt(t(275))/1+parseInt(t(266))/2+parseInt(t(251))/3+-parseInt(t(265))/4*(-parseInt(t(243))/5)+-parseInt(t(261))/6*(parseInt(t(244))/7)+-parseInt(t(260))/8+-parseInt(t(255))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ue={paragraph({tokens:t}){const e=pe;if(1===t[e(246)]&&t[0].type===e(263)){const n=t[0];if(null===ee(n.href))return n[e(242)];let r=e(284);if(r+='<section class="img-container">\n',r+=this.image(n)+"\n",r+=e(264),n[e(272)]){const{text:t}=ae(n.title);t&&(r+="<figcaption>"+t+"</figcaption>\n")}return r+=e(280),r}return e(262)+this[e(267)][e(254)](t)+e(285)},list(t){const e=pe,n=t.ordered,r=t[e(276)];let s="";for(let n=0;n<t[e(274)][e(246)];n++){const r=t.items[n];s+=this[e(279)](r)}const i=n?"ol":"ul";return"<"+i+(n&&1!==r?e(253)+r+'"':"")+e(277)+">\n"+s+"</"+i+">\n"},listitem(t){const e=pe;let n="";if(t[e(259)]){const r=this[e(271)]({type:e(271),raw:"",checked:!!t[e(238)]});t.loose?t[e(286)][e(246)]>0&&t[e(286)][0][e(240)]===e(257)?(t[e(286)][0][e(242)]=r+" "+t.tokens[0].text,t[e(286)][0].tokens&&t[e(286)][0][e(286)][e(246)]>0&&t[e(286)][0][e(286)][0][e(240)]===e(242)&&(t[e(286)][0][e(286)][0].text=r+" "+t[e(286)][0][e(286)][0].text)):t[e(286)][e(248)]({type:e(242),raw:r+" ",text:r+" "}):n+=r+" "}return n+=this.parser[e(273)](t[e(286)]),e(281)+n+e(270)},table(t){const e=pe;let n="",r="";for(let n=0;n<t[e(283)][e(246)];n++)r+=this[e(245)](t[e(283)][n]);n+=this[e(239)]({text:r});let s="";for(let n=0;n<t[e(278)][e(246)];n++){const i=t.rows[n];r="";for(let t=0;i.length>t;t++)r+=this[e(245)](i[t]);s+=this[e(239)]({text:r})}s&&(s=e(282)+s+e(258));let i="";return t[e(249)].text&&(i="<figcaption>"+this[e(267)].parseInline([t[e(249)]])+"</figcaption>\n"),e(284)+e(250)+"<thead>\n"+n+"</thead>\n"+s+e(247)+i+e(280)},image(t){const e=pe,n=ee(t.href);if(null===n)return t[e(242)];let r=e(252)+n+e(268)+t.text+'"';if(t[e(272)]){const{text:n,width:s,height:i}=ae(t[e(272)]);n&&(r+=' title="'+n+'"'),(s||i)&&(r+=e(241),s&&(r+=e(237)+s+e(269)),i&&(r+=e(256)+i+"px;"),r+='"')}return r+=">",r}};function pe(t,e){return t-=237,ce()[t]}const he={},fe=de;function de(t,e){return t-=193,ge()[t]}function ge(){const t=["reflink","10oWcrvt","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)","|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)","|lheading","|comment[^\\n]*(\\n+|$)","25591905ZyclpK","|<![A-Z][\\s\\S]*?(?:>\\n*|$)","|table","address|article|aside|base|basefont|blockquote|body|caption","2069613LDtSaN","2401eIeuzj","(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)","blockquote","|(?!_)[punct](_+)(?!_)(?=[punct])","table","heading","getRegex","paragraph","|<\\?[\\s\\S]*?(?:\\?>\\n*|$)","~|])","|^</[a-zA-Z][\\w:-]*\\s*>","^ *([^\\n ].*)\\n","|[^*]+(?=[^*])","tag","|[^_]+(?=[^_])","attribute","code","|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)","assign"," {0,3}#{1,6}(?:\\s|$)","list","(?:--\x3e|$)","|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>","^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)","(?:(?:\\|\\|([^\\|]+)\\|\\|)?\\n*|$)","3267984eVQaBv","|^<![a-zA-Z]+\\s[\\s\\S]*?>","comment","<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)"," {0,3}>","((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html|\\|\\|[^\\|]+\\|\\|).*(?:\\n|$))*)","|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)","reflink|nolink(?!\\()"," {0,3}(?:[*+-]|1[.)]) ","label"," {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)\\n","(?: {4}| {0,3}\t)[^\\n]","|[\\s](_+)(?!_)(?=[punct])","2EGlUKk","^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)","|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])","|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>","replace","^comment","|(?!_)[punct\\s](_+)(?=[^punct\\s])","5093948Wvuvzg","email","|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])","\\p{P}\\p{S}","--\x3e","2137685eiqhYZ"," {0,3}(?<!>)>(?!>)","7230zozCiS","nolink","ref","title","fences","html","|[\\s](\\*+)(?!\\*)(?=[punct])","|(?!\\*)[punct](\\*+)(?=[\\s]|$)","1032683vDPTPV","|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe","|(?!_)[punct](_+)(?=[\\s]|$)","|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n","|tr|track|ul"];return(ge=function(){return t})()}!function(){const t=de,e=ge();for(;;)try{if(804526==-parseInt(t(211))/1*(parseInt(t(266))/2)+parseInt(t(227))/3+-parseInt(t(196))/4+-parseInt(t(201))/5+-parseInt(t(203))/6*(-parseInt(t(228))/7)+-parseInt(t(253))/8+parseInt(t(223))/9*(parseInt(t(218))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const me=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ke=/(?:[*+-]|\d{1,9}[.)])/,be=re(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/)[fe(193)](/bull/g,ke)[fe(193)](/blockCode/g,/(?: {4}| {0,3}\t)/)[fe(193)](/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/)[fe(193)](/heading/g,/ {0,3}#{1,6}/)[fe(193)](/html/g,/ {0,3}<[^\n>]+>\n/)[fe(234)](),xe=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,ye=/(?!\s*\])(?:\\.|[^[\]\\])+/,Ie=re(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s]\S*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace(fe(262),ye)[fe(193)](fe(206),/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/)[fe(234)](),we=re(/^( {0,3}bull)([ \t][^\n]+)?(?:\n|$)/)[fe(193)](/bull/g,ke)[fe(234)](),$e=fe(226)+fe(214)+fe(212)+"|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title"+fe(216),ve=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Se=re("^ {0,3}(?:"+fe(256)+fe(222)+fe(236)+fe(224)+"|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)"+fe(245)+"|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)"+fe(259)+")","i").replace("comment",ve)[fe(193)](fe(241),$e).replace(fe(243),/ +[a-z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/i).getRegex(),Ae=re(xe).replace("hr",me)[fe(193)]("heading"," {0,3}#{1,6}(?:\\s|$)")[fe(193)](fe(221),"").replace(fe(225),"").replace(fe(230),fe(257))[fe(193)]("fences",fe(215))[fe(193)]("list",fe(261))[fe(193)](fe(208),fe(219))[fe(193)]("tag",$e)[fe(234)](),ze={blockquote:re(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/)[fe(193)](fe(235),Ae).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:Ie,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:me,html:Se,lheading:be,list:we,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:Ae,table:ne,text:/^[^\n]+/},qe=re("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)"+fe(229))[fe(193)]("hr",me)[fe(193)]("heading",fe(247))[fe(193)](fe(230)," {0,3}>")[fe(193)](fe(244),fe(264))[fe(193)](fe(207)," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n")[fe(193)](fe(248)," {0,3}(?:[*+-]|1[.)]) ")[fe(193)](fe(208),fe(219))[fe(193)](fe(241),$e).getRegex(),je=Object[fe(246)](Object[fe(246)]({},ze),{table:qe,paragraph:re(xe).replace("hr",me).replace(fe(233),fe(247))[fe(193)]("|lheading","")[fe(193)](fe(232),qe)[fe(193)]("blockquote",fe(257))[fe(193)]("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n")[fe(193)](fe(248),fe(261)).replace(fe(208),fe(219))[fe(193)]("tag",$e).getRegex()}),Re=/^\\([!"#$%&'()*+,\-./:;<=>?@[\]\\^_`{|}~])/,_e=fe(199),Pe=re(/^((?![*_])[\spunctaio])/,"u")[fe(193)](/punctuation/g,_e)[fe(234)](),Te=re(/^\*+(?:((?!\*)[punct])|[^\s*])|^_+(?:((?!_)[punct])|([^\s_]))/,"u")[fe(193)](/punct/g,_e)[fe(234)](),De=re(fe(251)+fe(240)+fe(210)+"|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)"+fe(198)+fe(209)+fe(268)+"|[^punct\\s](\\*+)(?=[^punct\\s])","gu")[fe(193)](/punct/g,_e)[fe(234)](),Le=re(fe(267)+fe(242)+fe(213)+fe(220)+fe(195)+fe(265)+fe(231),"gu").replace(/punct/g,_e)[fe(234)](),Ce=re(/\\([punct])/,"gu")[fe(193)](/punct/g,_e)[fe(234)](),Me=re(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/)[fe(193)]("scheme",/[a-z][a-z\d+.-]{1,31}/i)[fe(193)]("email",/[\w.!#$%&'*+/=?^`{|}~-]+(@)[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)+(?![-_])/i).getRegex(),Ze=re(ve)[fe(193)](fe(249),fe(200))[fe(234)](),Ee=re(fe(194)+fe(238)+fe(269)+"|^<\\?[\\s\\S]*?\\?>"+fe(254)+fe(250))[fe(193)](fe(255),Ze)[fe(193)](fe(243),/\s+[a-z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/i)[fe(234)](),Oe=/(?:\[(?:\\.|[^[\]\\])*\]|\\.|`[^`]*`|[^[\]\\`])*?/,Be=re(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/)[fe(193)](fe(262),Oe).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/)[fe(193)](fe(206),/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/)[fe(234)](),Ne=re(/^!?\[(label)\]\[(ref)\]/)[fe(193)](fe(262),Oe)[fe(193)](fe(205),ye)[fe(234)](),Ue=re(/^!?\[(ref)\](?:\[\])?/)[fe(193)](fe(205),ye).getRegex(),Fe={t:ne,anyPunctuation:Ce,autolink:Me,blockSkip:/\[[^[\]]*\]\((?:\\.|[^\\()]|\((?:\\.|[^\\()])*\))*\)|`[^`]*`|<[^<>]*>/g,br:/^( {2,}|\\)\n(?!\s*$)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:ne,delLDelim:ne,delRDelim:ne,emStrongLDelim:Te,emStrongRDelimAst:De,emStrongRDelimUnd:Le,escape:Re,link:Be,nolink:Ue,punctuation:Pe,reflink:Ne,reflinkSearch:re(fe(260),"g")[fe(193)](fe(217),Ne)[fe(193)](fe(204),Ue)[fe(234)](),tag:Ee,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<![`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:ne},He=Object[fe(246)](Object.assign({},Fe),{escape:re(Re).replace("])",fe(237))[fe(234)](),url:re(/^((?:ftp|https?):\/\/|www\.)[a-zA-Z\d-][^\s<]*|^email/,"i")[fe(193)](fe(197),/[\w.+-]+(@)[\w-]+(?:\.[\w-]*[a-z\d])+(?![-_])/i).getRegex(),t:/(?:[^?!.,:;*_'"~()&]|\([^)]*\)|&(?![a-z\d]+;$)|[?!.,:;*_'"~)]+(?!$))+/i,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,delLDelim:/^~~?(?:((?!~)[\p{P}\p{S}])|[^\s~])/u,delRDelim:/^[^~]+(?=[^~])|(?!~)[\p{P}\p{S}](~~?)(?=\s|$)|[^\s\p{P}\p{S}](~~?)(?!~)(?=[\s\p{P}\p{S}]|$)|(?!~)[\s\p{P}\p{S}](~~?)(?=[^\s\p{P}\p{S}])|\s(~~?)(?!~)(?=[\p{P}\p{S}])|(?!~)[\p{P}\p{S}](~~?)(?!~)(?=[\p{P}\p{S}])|[^\s\p{P}\p{S}](~~?)(?=[^\s\p{P}\p{S}])/gu,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[\w.!#$%&'*+/=?`{|}~-]+@)|[\s\S]*?(?:(?=[\\<![`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^\w.!#$%&'*+/=?`{|}~-](?=[\w.!#$%&'*+/=?`{|}~-]+@)))/}),Ke=Object[fe(246)](Object[fe(246)]({},He),{br:ne,emStrongLDelim:/^\*+(?:([!"#$%&'()+\-.,/:;<=>?@[\]`{|}~_])|[^\s*])/}),Ge={block:Object[fe(246)](Object[fe(246)]({},je),{lheading:ne,code:ne,fences:/^ {0,3}(`{3,}(?=[^`\n[]*(?:\n|$)))([^\n]*)(?:\n|$)([\s\S]*?)(?:\n|$)(?: {0,3}\1`* *(?=\n|$)|$)/,paragraph:re(xe).replace("hr",me).replace(fe(233),fe(247))[fe(193)](fe(221),"").replace(fe(232),qe).replace("blockquote",fe(202))[fe(193)](fe(207),fe(215))[fe(193)]("list",fe(261))[fe(193)](fe(208),fe(219))[fe(193)]("tag",$e)[fe(234)](),table:re(fe(239)+fe(263)+fe(258)+fe(252))[fe(193)]("hr",me)[fe(193)](fe(233)," {0,3}#{1,6}(?:\\s|$)")[fe(193)]("blockquote",fe(257))[fe(193)](fe(244),fe(264)).replace(fe(207),fe(215)).replace("list",fe(261)).replace(fe(208),"</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)")[fe(193)](fe(241),$e).getRegex(),blockquote:re(/^( {0,3}(?<!>)>(?!>) ?(paragraph|[^\n]*)(?:\n|$))+/)[fe(193)](fe(235),Ae)[fe(234)]()}),inline:Ke};function Ye(){const t=["264HoFyRD","860vBiuEp","\n $1","raw","3868543hXZGGn","index","315hBctfB","inline","emStrongRDelimAst","state","test","1597630Cwclgd","join","5314632swTwcY","type","punctuation","exec","82577GtPupo","rows","list","match","lexer","inlineTokens","13730MZKAqf","972494zwWhmq","trim","substring","top","text","push","min","right","emStrongRDelimUnd","emStrongLDelim","length","map","blockquote","center","slice","replace","5526wvIILM","block","table","align","split","6lyAFhV","fences","code","anyPunctuation","header","strong"];return(Ye=function(){return t})()}function Ve(t,e){return t-=115,Ye()[t]}!function(){const t=Ve,e=Ye();for(;;)try{if(830154==-parseInt(t(128))/1+parseInt(t(127))/2*(parseInt(t(161))/3)+parseInt(t(117))/4+parseInt(t(115))/5*(-parseInt(t(149))/6)+-parseInt(t(159))/7+parseInt(t(155))/8*(-parseInt(t(144))/9)+parseInt(t(156))/10*(parseInt(t(121))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const We={table(t){const e=Ve,n=Ge.block[e(146)][e(120)](t);if(!n)return;if(!/[:|]/[e(165)](n[2]))return;const r=le(n[1]),s=n[2][e(143)](/^\||\| *$/g,"")[e(148)]("|"),i=n[3]&&n[3].trim()?n[3][e(143)](/\n[ \t]*$/,"")[e(148)]("\n"):[],o=n[5],a={type:"table",raw:n[0],header:[],align:[],rows:[],caption:{type:"text",text:o,raw:o,tokens:this[e(125)][e(162)](o)}};if(r[e(138)]===s.length){for(const t of s)/^ *-+: *$/.test(t)?a[e(147)].push(e(135)):/^ *:-+: *$/[e(165)](t)?a[e(147)][e(133)](e(141)):/^ *:-+ *$/.test(t)?a[e(147)][e(133)]("left"):a[e(147)].push(null);for(let t=0;t<r[e(138)];t++)a[e(153)].push({text:r[t],tokens:this[e(125)].inline(r[t]),header:!0,align:a[e(147)][t]});for(const t of i)a[e(122)][e(133)](le(t,a.header[e(138)])[e(139)]((t,n)=>({text:t,tokens:this.lexer[e(162)](t),header:!1,align:a.align[n]})));return a}},lheading(){},code(){},fences(t){const e=Ve,n=Ge.block[e(150)][e(120)](t);if(n){const t=n[0],r=function(t,e){const n=Ve,r=t.match(/^(\s+)```/);if(null===r)return e;const s=r[1];return e[n(148)]("\n")[n(139)](t=>{const e=n,r=t[e(124)](/^\s+/);if(null===r)return t;const[i]=r;return i[e(138)]<s[e(138)]?t:t[e(142)](s[e(138)])})[n(116)]("\n")}(t,n[3]||"");return{type:e(151),raw:t,lang:n[2]?n[2][e(129)]()[e(143)](Ge.inline[e(152)],"$1"):n[2],text:r}}},br(){},emStrong(t,e,n=""){const r=Ve;let s=Ge[r(162)][r(137)][r(120)](t);if(s&&(!s[3]||!n[r(124)](/[\p{L}\p{N}]/u))&&(!s[1]&&!s[2]||!n||Ge[r(162)][r(119)].exec(n))){const n=[...s[0]].length-1;let i,o,a=n,l=0;const c="*"===s[0][0]?Ge.inline[r(163)]:Ge[r(162)][r(136)];for(c.lastIndex=0,e=e[r(142)](-1*t.length+n);null!=(s=c[r(120)](e));){if(i=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!i)continue;if(o=[...i][r(138)],s[3]||s[4]){a+=o;continue}if((s[5]||s[6])&&n%3&&!((n+o)%3)){l+=o;continue}if(a-=o,a>0)continue;o=Math.min(o,o+a+l);const e=[...s[0]][0][r(138)],c=t.slice(0,n+s[r(160)]+e+o);if(Math[r(134)](n,o)%2){const t=c.slice(1,-1);return{type:"em",raw:c,text:t,tokens:this[r(125)][r(126)](t)}}const u=c[r(142)](2,-2);return{type:r(154),raw:c,text:u,tokens:this.lexer[r(126)](u)}}}},blockquote(t){const e=Ve,n=Ge[e(145)][e(140)].exec(t);if(n){let t=function(t){const e=oe,n=t[e(176)];if(0===n)return"";let r=0;for(;n>r&&"\n"===t[e(152)](n-r-1);)r++;return t[e(171)](0,n-r)}(n[0])[e(148)]("\n"),r="",s="";const i=[];for(;t[e(138)]>0;){let n=!1;const o=[];let a;for(a=0;a<t[e(138)];a++)if(/^ {0,3}>/.test(t[a]))o[e(133)](t[a]),n=!0;else{if(n)break;o.push(t[a])}t=t[e(142)](a);const l=o[e(116)]("\n"),c=l.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,e(157))[e(143)](/^ {0,3}>[ \t]?/gm,"");r=r?r+"\n"+l:l,s=s?s+"\n"+c:c;const u=this[e(125)][e(164)][e(131)];if(this[e(125)][e(164)][e(131)]=!0,this[e(125)].blockTokens(c,i,!0),this[e(125)][e(164)][e(131)]=u,0===t[e(138)])break;const p=i[i[e(138)]-1];if((null==p?void 0:p[e(118)])===e(151))break;if("blockquote"===(null==p?void 0:p[e(118)])){const n=p,o=n[e(158)]+"\n"+t[e(116)]("\n"),a=this[e(140)](o);i[i[e(138)]-1]=a,r=r[e(130)](0,r[e(138)]-n[e(158)][e(138)])+a.raw,s=s[e(130)](0,s[e(138)]-n.text[e(138)])+a[e(132)];break}if((null==p?void 0:p[e(118)])===e(123)){const n=p,o=n[e(158)]+"\n"+t[e(116)]("\n"),a=this.list(o);i[i[e(138)]-1]=a,r=r[e(130)](0,r.length-p[e(158)][e(138)])+a[e(158)],s=s.substring(0,s[e(138)]-n[e(158)].length)+a[e(158)],t=o[e(130)](i[i.length-1].raw.length)[e(148)]("\n");continue}}return{type:e(140),raw:r,tokens:i,text:s}}}};function Je(t,e){return t-=195,Qe()[t]}function Qe(){var t=["6rNiicY","311596vVDdDB","7120352ccQzsZ","6578180fsVeXB","20IOVnMu","6726429OduqVA","4428084exenpz","627RLHSBw","4ULGmZf","3915845lEizNe","7xIjAGW","1196148RTZXbw"];return(Qe=function(){return t})()}function Xe(){const t=['<section class="alert ',"68948qpyAmT","Success","trim","</span> ","icon","Info","1361481TprStL","4834137CpCzMS","title",'<p class="content paragraph">',"3ucSExP","tokens","warn","error","ttype","156284oPkSkY","parseInline","</p>","indexOf","</span></p>",'<span class="icon">',"exec","186430GVglyG","9914456zwsgeM","success","block","alert","Warn",'<p class="heading">',"parser","933228YuNzls","</section>"];return(Xe=function(){return t})()}!function(){for(var t=Je,e=Qe();;)try{if(787462==parseInt(t(202))/1*(-parseInt(t(205))/2)+parseInt(t(198))/3*(-parseInt(t(200))/4)+-parseInt(t(201))/5*(parseInt(t(204))/6)+-parseInt(t(195))/7+parseInt(t(206))/8+parseInt(t(197))/9*(-parseInt(t(196))/10)+-parseInt(t(199))/11*(-parseInt(t(203))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const tn=nn;var en;function nn(t,e){return t-=190,Xe()[t]}!function(){const t=nn,e=Xe();for(;;)try{if(349598==parseInt(t(205))/1*(parseInt(t(210))/2)+parseInt(t(201))/3+parseInt(t(195))/4+parseInt(t(217))/5+parseInt(t(192))/6+parseInt(t(202))/7+-parseInt(t(218))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(t){const e=nn;t[e(222)]=e(207),t.Success=e(219),t.Error=e(208),t[e(200)]="info"}(en||(en={}));const rn={name:tn(221),level:tn(220),start:t=>t[tn(213)]("^ {0,3}!!!["),tokenizer(t){const e=tn;var n,r,s,i;const o=/^ {0,3}(!{3,}(?=\[[^\n\]]*\](?:\n|$)))\[([^\],]*)(?:,([^\],]*))?(?:,([^\],]+))?\]\n([\s\S]*?)(?:\n|$)(?: {0,3}\1 *(?=\n|$)|$)/[e(216)](t);if(o){const t=null===(n=o[2])||void 0===n?void 0:n[e(197)](),a=null===(r=o[3])||void 0===r?void 0:r[e(197)](),l=null===(s=o[4])||void 0===s?void 0:s[e(197)](),c=null===(i=o[5])||void 0===i?void 0:i[e(197)]();return{type:e(221),raw:o[0],title:a,icon:l,text:c,ttype:t,tokens:this.lexer.inlineTokens(c)}}},renderer(t){const e=tn;var n;let r="";if("true"===t[e(199)])switch(t[e(209)]){case en[e(222)]:t[e(199)]="⚠️";break;case en[e(196)]:t[e(199)]="🎉";break;case en.Error:t.icon="⛔";break;case en[e(200)]:t[e(199)]="ℹ️"}const s=void 0!==t.icon?e(215)+t[e(199)]+e(198):"";return r+=e(194)+t[e(209)]+'">',t[e(203)]&&(r=r+(e(190)+s+"<span class='title'>")+t[e(203)]+e(214)),r+=e(204)+(t[e(203)]?"":s)+this[e(191)][e(211)](null!==(n=t[e(206)])&&void 0!==n?n:[])+e(212),r+=e(193),r}};function sn(t){return(t||"").match(/\S*/)[0]}function on(t){return e=>{"string"==typeof e&&e!==t.text&&(t.escaped=!0,t.text=e)}}const an=/[&<>"']/,ln=RegExp(an.source,"g"),cn=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,un=RegExp(cn.source,"g"),pn={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},hn=t=>pn[t];function fn(t,e){if(e){if(an.test(t))return t.replace(ln,hn)}else if(cn.test(t))return t.replace(un,hn);return t}const dn=mn;function gn(){const t=["10985DpoOdV","1098919jZeuxw","9040073SvCehJ","registerLanguage","value","8067150AbwfqM","376qmAavV","javascript","271071vHQTjy","getLanguage","1904372aVkFrM","2120zmmHUS","python","3444483jsktxx","highlight"];return(gn=function(){return t})()}function mn(t,e){return t-=212,gn()[t]}!function(){const t=mn,e=gn();for(;;)try{if(958905==parseInt(t(216))/1+parseInt(t(225))/2+-parseInt(t(213))/3+-parseInt(t(226))/4*(parseInt(t(215))/5)+parseInt(t(220))/6+parseInt(t(217))/7+-parseInt(t(221))/8*(parseInt(t(223))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),n[dn(218)](dn(222),r),n.registerLanguage(dn(212),o),n[dn(218)]("latex",i),n[dn(218)]("json",s);const kn=new zt(function(t){if("function"==typeof t&&(t={highlight:t}),!t||"function"!=typeof t.highlight)throw Error("Must provide highlight function");return"string"!=typeof t.langPrefix&&(t.langPrefix="language-"),"string"!=typeof t.emptyLangClass&&(t.emptyLangClass=""),{async:!!t.async,walkTokens(e){if("code"!==e.type)return;const n=sn(e.lang);if(t.async)return Promise.resolve(t.highlight(e.text,n,e.lang||"")).then(on(e));const r=t.highlight(e.text,n,e.lang||"");if(r instanceof Promise)throw Error("markedHighlight is not set to async but the highlight function is async. Set the async option to true on markedHighlight to await the async highlight function.");on(e)(r)},useNewRenderer:!0,renderer:{code(e,n,r){"object"==typeof e&&(r=e.escaped,n=e.lang,e=e.text);const s=sn(n),i=s?t.langPrefix+fn(s):t.emptyLangClass,o=i?` class="${i}"`:"";return e=e.replace(/\n$/,""),`<pre><code${o}>${r?e:fn(e,!0)}\n</code></pre>`}}}}({highlight(t,e){const r=dn,s=n[r(224)](e)?e:"plaintext";return n[r(214)](t,{language:s})[r(219)]}})),bn=xn;function xn(t,e){return t-=217,yn()[t]}function yn(){const t=["1263aCYoKK","gallery","exec","lexer","732995gYeOVh","4044330zIuGyZ","</section>\n","1CNtJoX","forEach",'<section class="gallery-wrapper">\n',"40PZKSdH","tokens","13932KIWudY","paragraph","blockTokens","type","image","1655996PmnBAv","7047819YitmOn","2602545qDSrIM","29246WvibCo","block","1016fFmsRH","!!!","indexOf"];return(yn=function(){return t})()}!function(){const t=xn,e=yn();for(;;)try{if(854918==parseInt(t(223))/1*(parseInt(t(233))/2)+-parseInt(t(241))/3*(-parseInt(t(228))/4)+parseInt(t(220))/5+parseInt(t(221))/6+-parseInt(t(236))/7*(parseInt(t(238))/8)+-parseInt(t(234))/9+-parseInt(t(226))/10*(parseInt(t(235))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const In={name:"gallery",level:bn(237),start(t){const e=bn;return t[e(240)](e(239))},tokenizer(t){const e=bn,n=/^ {0,3}(!{3,}) *\n([\s\S]*?)(?:\n|$)(?: {0,3}\1 *(?=\n|$)|$)/[e(218)](t);if(n){const t=n[2];return{type:e(217),raw:n[0],text:t,tokens:this[e(219)][e(230)](t)}}},renderer(t){const e=bn;var n;let r='<section class="gallery-container">\n';return r+=e(225),null===(n=t[e(227)])||void 0===n||n[e(224)](t=>{const n=e;var s;t.type===n(229)&&(null===(s=t[n(227)])||void 0===s||s.forEach(t=>{const e=n;t[e(231)]===e(232)&&(r+=kn.parse(t.raw))}))}),r+="</section>\n",r+=e(222),r}};function wn(t,e){return t-=328,vn()[t]}var $n=wn;function vn(){var t=["1757435miUVSM","3asdbmr","1065306jssUzN","257634WnsjyH","10wfleFT","solution","10633590Blkpew","4Icuqgh","Definition","16nHeoBh","4654287wsZYqk","Axiom","Corollary","Solution","1981581qAKAan","Theorem","1181739xRsJCE"];return(vn=function(){return t})()}!function(){for(var t=wn,e=vn();;)try{if(283093==-parseInt(t(339))/1*(-parseInt(t(341))/2)+-parseInt(t(337))/3*(parseInt(t(328))/4)+parseInt(t(338))/5+-parseInt(t(340))/6+-parseInt(t(335))/7*(-parseInt(t(330))/8)+parseInt(t(331))/9*(parseInt(t(342))/10)+-parseInt(t(344))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Sn={zh:{theoremLike:{theorem:"定理",lemma:"引理",corollary:"推论",axiom:"公理",definition:"定义",example:"例"},solution:{proof:"证明",solution:"解答"}},en:{theoremLike:{theorem:$n(336),lemma:"Lemma",corollary:$n(333),axiom:$n(332),definition:$n(329),example:"Example"},solution:{proof:"Proof",solution:$n(334)}}};let An="zh";const zn={zh:"脚注",en:"Footnotes"},qn=Rn;!function(){const t=Rn,e=_n();for(;;)try{if(325136==parseInt(t(201))/1+-parseInt(t(203))/2+parseInt(t(179))/3*(parseInt(t(207))/4)+parseInt(t(180))/5*(parseInt(t(173))/6)+parseInt(t(189))/7+-parseInt(t(181))/8+-parseInt(t(176))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const jn={name:qn(194),level:qn(199),start:t=>t[qn(163)]("[^"),tokenizer:t=>{const e=qn,n=/^\[\^([^\]]+)\]/.exec(t);if(n){const t=n[1].trim();return{type:e(194),raw:n[0],id:t,tokens:[]}}},renderer:t=>{const e=qn;return e(170)+t.id+e(174)+t.id+e(186)+t[e(175)]+e(168)}};function Rn(t,e){return t-=162,_n()[t]}function _n(){const t=["parseInline","parser","header","items",'">[','</p><ol class="footnote-list">',"rows","4437503eYkYnY","forEach","footnoteDef","content","type","footnoteRef",'<section class="footnotes"><p class="footnote-title">',"isolated","</ol></section>","block","inline","list","168322QktVYy","inlineTokens","336374STqYeZ","push","length","key","46924UfGiIR",'" id="footnote-',"replaceAll","indexOf","caption","tokens","exec","trim","]</a></sup></span>","join",'<span class="footnote-ref" id="footnote-ref-','"> ⬅ </a>',"lexer","6054GiaMmS",'"><sup><a href="#footnote-',"number","4869243FVcyZG",' <a href="#footnote-ref-',"sort","102wOHURp","385oJEfSD","1955584TzHxsN"];return(_n=function(){return t})()}const Pn={name:qn(191),level:qn(198),start:t=>t[qn(163)]("[^"),tokenizer(t){const e=qn,n=/^\[\^(.+?)\]: ([\s\S]*?)(?:\n+|$)/[e(166)](t);if(n){const t=n[1][e(167)](),r=n[2].trim();return{type:e(191),raw:n[0],id:t,text:r,tokens:this[e(172)][e(202)](r)}}},renderer(t){const e=qn;var n;const r=e(177)+t.id+e(171);return'<li class="footnote-def" key="'+t[e(175)]+e(208)+t.id+'">'+this[e(183)][e(182)](null!==(n=null==t?void 0:t.tokens)&&void 0!==n?n:[])+(t[e(196)]?"":r)+"</li>"}},Tn=t=>{const e={};let n=1;return function t(r){const s=Rn;r[s(190)](r=>{const i=s;"footnoteRef"===r[i(193)]&&(!(r.id in e)&&(e[r.id]=n,n++),r.number=e[r.id]),r[i(193)]===i(200)&&r[i(185)].forEach(e=>{const n=i;e[n(165)]&&e[n(165)][n(205)]>0&&t(e.tokens)}),"table"===r[i(193)]&&(r[i(184)][i(190)](e=>{const n=i;e[n(165)]&&e[n(165)][n(205)]>0&&t(e[n(165)])}),r[i(188)][i(190)](e=>{e.forEach(e=>{e.tokens&&e.tokens.length>0&&t(e[Rn(165)])})}),r[i(164)][i(165)]&&r[i(164)][i(165)][i(205)]>0&&t(r[i(164)][i(165)])),r.tokens&&r[i(165)][i(205)]>0&&t(r[i(165)])})}(t),function t(r){const s=Rn;r[s(190)](r=>{const i=s;"footnoteDef"===r[i(193)]&&(r[i(196)]=!1,!(r.id in e)&&(e[r.id]=n,n++,r[i(196)]=!0),r[i(175)]=e[r.id]),r.tokens&&r[i(165)][i(205)]>0&&t(r.tokens)})}(t),t},Dn=Ln;function Ln(t,e){return t-=356,Cn()[t]}function Cn(){const t=["287wOsvUT","block","trim","blockTokens","87656rMMCRD","140824MHeZal","948650Pknyua","tokens","5WdOxaU","1465194YTXAPA","parse","solution","9GtJsrL","76397FXzFFh","typeName","exec","lexer","parser",'</summary>\n <section class="content">\n ',"stype","214384yDBIZC","226542saaTPy"];return(Cn=function(){return t})()}!function(){const t=Ln,e=Cn();for(;;)try{if(235064==parseInt(t(365))/1+parseInt(t(357))/2+-parseInt(t(373))/3+parseInt(t(372))/4+parseInt(t(360))/5*(-parseInt(t(361))/6)+-parseInt(t(374))/7*(-parseInt(t(356))/8)+parseInt(t(364))/9*(-parseInt(t(358))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Mn={name:Dn(363),level:Dn(375),start:t=>t.indexOf("~~~["),tokenizer(t){const e=Dn,n=/^ {0,3}(~{3,}(?=\[[^\n\]]*\](?:\n|$)))\[([^\],]*)\]\n([\s\S]*?)(?:\n|$)(?: {0,3}\1~* *(?=\n|$)|$)/[e(367)](t);if(n){const t=n[2][e(376)](),i=n[3][e(376)]();return{type:e(363),raw:n[0],stype:t,typeName:(r=t,null!==(s=Sn[An][$n(343)][r])&&void 0!==s?s:r),text:i,tokens:this[e(368)][e(377)](i)}}var r,s},renderer(t){const e=Dn;var n;return'<details class="solution '+se(t[e(371)])+'"><summary>'+t[e(366)]+e(370)+this[e(369)][e(362)](null!==(n=null==t?void 0:t[e(359)])&&void 0!==n?n:[])+"\n </section></details>"}},Zn=En;function En(t,e){return t-=476,On()[t]}function On(){const t=["exec","theoremLikeRef","forEach","</b>","tokens","5644368vPnZGf","</a>","length","36TCOokZ","indexOf","150LCncTl"," ( <em>","lexer","parse","575630cXRNtO","1052387jPZKyU",'" id="theorem-like-',"name",'\n </p>\n <section class="content">\n ',"replace","7261944nZRkzM","ttype","type","unnumbered","155163rmYMNV","788502NCPYUb","inline","number","trimEnd","blockTokens",'" href="#theorem-like-',"</em> )","theoremLikeDef","block","trim","51485JETNaF",'">\n <p class="title"><b>',"typeName",'<section class="theorem-like ',"endsWith",'<a id="theorem-like-ref-'];return(On=function(){return t})()}!function(){const t=En,e=On();for(;;)try{if(461635==-parseInt(t(502))/1+parseInt(t(491))/2+parseInt(t(501))/3*(-parseInt(t(485))/4)+-parseInt(t(512))/5*(parseInt(t(487))/6)+parseInt(t(492))/7+parseInt(t(497))/8+parseInt(t(482))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Bn={name:"theoremLikeRef",level:Zn(503),start:t=>t[Zn(486)]("[~"),tokenizer:t=>{const e=Zn,n=/^\[~([^\]]+)\]/[e(477)](t);if(n){const t=n[1][e(511)]();return{type:e(478),raw:n[0],id:t,tokens:[]}}},renderer:t=>{const e=Zn;return e(476)+t.id+e(507)+t.id+'">'+(t[e(514)]+" "+t[e(504)])[e(505)]()+e(483)}},Nn={name:Zn(509),level:Zn(510),start:t=>t[Zn(486)]("```["),tokenizer(t){const e=Zn;var n,r,s,i,o;const a=/^ {0,3}(`{3,}(?=\[[^\n\]]*\](?:\n|$)))\[([^\],]*),([^\],]*)(?:,([^\],]+))?\]\n([\s\S]*?)(?:\n|$)(?: {0,3}\1 *(?=\n|$)|$)/[e(477)](t);if(a){const t=null===(n=a[2])||void 0===n?void 0:n[e(511)]()[e(496)](/\*$/,""),u=null===(r=a[2])||void 0===r?void 0:r[e(511)]()[e(516)]("*"),p=null===(s=a[3])||void 0===s?void 0:s.trim(),h=null===(i=a[4])||void 0===i?void 0:i[e(511)](),f=null===(o=a[5])||void 0===o?void 0:o[e(511)]();return{type:e(509),raw:a[0],id:p,name:h,text:f,ttype:t,typeName:(l=t,null!==(c=Sn[An].theoremLike[l])&&void 0!==c?c:l),tokens:this[e(489)][e(506)](f),unnumbered:u}}var l,c},renderer(t){const e=Zn;var n;return e(515)+se(t[e(498)])+e(493)+t.id+e(513)+t[e(514)]+e(480)+(t[e(500)]?"":" "+t[e(504)])+(t[e(494)]?e(488)+t[e(494)]+e(508):"")+e(495)+this.parser[e(490)](null!==(n=null==t?void 0:t[e(481)])&&void 0!==n?n:[])+"\n </section> \n</section>"}},Un=Kn;function Fn(){const t=["411252rbyoqz","inline","2EMiHIM","228237ticuLw","1071096FXQNAf","parseInline","105537TpyYRu",'<span class="tooltip-image"><img src="','<span class="tooltip-description">',"141860WycXvE",' class="tooltip-trigger">','<span class="tooltip-title">',"270sBwsNd","id-","lexer","</label>\n","1519224jdZSwu","title","tooltip","tokens","text",'<span class="tooltip-container">\n',"indexOf","parser","inlineTokens","trim",' class="tooltip-toggle"><label for=',"75848xDfmqI","description",'<span class="tooltip">\n','<input type="checkbox" id=',"</span>\n","exec","imageUrl",">>>"];return(Fn=function(){return t})()}!function(){const t=Kn,e=Fn();for(;;)try{if(215017==parseInt(t(139))/1*(parseInt(t(135))/2)+-parseInt(t(136))/3+parseInt(t(133))/4+-parseInt(t(142))/5+parseInt(t(137))/6+parseInt(t(114))/7+parseInt(t(125))/8*(-parseInt(t(110))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Hn=/^>>>([^\r\n]+?) *(?<!\\)\[ *([^|\r\n]+?) *\|\s*([^|\r\n]*?) *(?:\| *([^\r\n]*?) *)?(?<!\\)\] *<<</;function Kn(t,e){return t-=109,Fn()[t]}const Gn={name:Un(116),level:Un(134),start(t){const e=Un;return t[e(120)](e(132))},tokenizer(t){const e=Un,n=Hn[e(130)](t);if(n){const[t,r,s,i,o]=n,a=e(111)+te.md5(t);return{type:e(116),id:a,raw:t,title:s,text:r,imageUrl:null!=o?o:"",description:{type:e(118),text:i,raw:i,tokens:this[e(112)][e(134)](i)},tokens:this.lexer[e(122)](r[e(123)]())}}},renderer(t){const e=Un;var n;let r=e(119);return r+=e(128)+t.id+e(124)+t.id+e(143)+this[e(121)][e(138)](null!==(n=t[e(117)])&&void 0!==n?n:[])+e(113),r+=e(127),t[e(131)][e(123)]()&&(r+=e(140)+t[e(131)][e(123)]()+'" alt="'+t.title[e(123)]()+'"></span>\n'),t[e(115)][e(123)]()&&(r+=e(109)+t[e(115)][e(123)]()+e(129)),t[e(126)].raw[e(123)]()&&(r+=e(141)+this.parser[e(138)]([t.description])+e(129)),r+="</span>\n",r+=e(129),r}},Yn=Qn;function Vn(t){const e=Qn;return t[e(445)](/\s*<\s*/g,e(458)).replace(/\s*>\s*/g,e(461))}!function(){const t=Qn,e=Xn();for(;;)try{if(482196==parseInt(t(463))/1+-parseInt(t(453))/2*(parseInt(t(442))/3)+parseInt(t(446))/4+parseInt(t(450))/5*(-parseInt(t(443))/6)+parseInt(t(439))/7+-parseInt(t(441))/8+parseInt(t(456))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Wn={name:Yn(459),level:Yn(452),start:t=>t[Yn(447)]("$"),tokenizer(t){const e=/^\$(?:[^$]|\\\$)+\$(?!\$)/[Yn(448)](t);if(e)return{type:"inlineMath",raw:e[0],text:e[0]}},renderer:t=>Vn(t[Yn(444)])},Jn={name:Yn(462),level:Yn(452),start:t=>t[Yn(447)]("\\("),tokenizer(t){const e=Yn,n=t[e(440)](/^\\\(.*?\\\)/);if(n)return{type:e(462),raw:n[0],text:n[0]}},renderer:t=>Vn(t[Yn(444)])};function Qn(t,e){return t-=439,Xn()[t]}function Xn(){const t=["12hrdKvl","text","replace","3537708RVvKWw","indexOf","exec",'<p class="paragraph">',"1066955TNlxXk","block","inline","92IermSE","</p>\n","blockMath2","6138459HCMfCs","blockMath"," \\lt ","inlineMath","trim"," \\gt ","inlineMath2","515212OXpWui","735301OrDTlr","match","7608136ciqDed","21309gjMOEG"];return(Xn=function(){return t})()}const tr={name:"blockMath",level:Yn(451),start:t=>t[Yn(447)]("$$"),tokenizer(t){const e=Yn,n=t[e(440)](/^\${2}(?:[^$]|\\\$|\$[^$])+\${2}(?!\$)/);if(n)return{type:e(457),raw:n[0],text:n[0][e(460)]()}},renderer(t){const e=Yn;return e(449)+Vn(t[e(444)])+"</p>\n"}},er={name:Yn(455),level:Yn(451),start:t=>t.indexOf("\\["),tokenizer(t){const e=Yn,n=t[e(440)](/^\\\[(?:[^$]|\\\$)+\\\]/);if(n)return{type:e(455),raw:n[0],text:n[0][e(460)]()}},renderer(t){const e=Yn;return e(449)+Vn(t[e(444)])+e(454)}};function nr(){var t=["36SZqxtr","497BRwvGr","505hxyRUH","29448ftEjIH","52684ajLiCo","1323rbSkUf","378336xmXhqx","98QpyMOW","215679NqHyEU","3624850UHZqFY","1656028FzgTKy"];return(nr=function(){return t})()}function rr(t,e){return t-=407,nr()[t]}function sr(t,e){return t-=469,ir()[t]}function ir(){const t=["width:","4866SxsKqD","3802827pTvoQA","text","15594689OixKLY","12LsayiO","height:","8676sTGtQk","12anLcaw","push","6275476PpfHOS","px;","title","replaceAll","tokens","16iAcQjs","2632497JoDbll","type","3550tdNvwr","99590hDLJlA","href",' style="','<img src="',"18sJeuMZ"];return(ir=function(){return t})()}!function(){for(var t=rr,e=nr();;)try{if(806624==-parseInt(t(411))/1*(parseInt(t(417))/2)+-parseInt(t(407))/3+parseInt(t(414))/4*(-parseInt(t(412))/5)+-parseInt(t(416))/6+parseInt(t(415))/7*(parseInt(t(413))/8)+parseInt(t(410))/9*(parseInt(t(408))/10)+parseInt(t(409))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(){const t=sr,e=ir();for(;;)try{if(791363==parseInt(t(472))/1*(parseInt(t(492))/2)+-parseInt(t(483))/3+parseInt(t(477))/4+parseInt(t(486))/5*(parseInt(t(490))/6)+-parseInt(t(469))/7*(-parseInt(t(482))/8)+parseInt(t(474))/9*(parseInt(t(485))/10)+-parseInt(t(471))/11*(parseInt(t(475))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const or=ar;function ar(t,e){return t-=154,lr()[t]}function lr(){const t=["undefined","599209FRQGxt","Browser usage does not require a license.","2898763ChCqZM","Contact charles@mathcrowd.cn for commercial licensing.","renderMarkdownCompact","3147745vzbnQU","3602020LoQIpL","use","[mmarked] ⚠️ No valid license configured for Node.js server-side usage. ","Lexer","defaults","versions","warn","580677HKayLO","[mmarked] ℹ️ Running in browser environment, no license required. ","4657752OAhvbU","Contact charles@mathcrowd.cn for commercial licensing. ","assign","getTime","parseInline","152070JVQoSK"];return(lr=function(){return t})()}!function(){const t=ar,e=lr();for(;;)try{if(529150==parseInt(t(156))/1+parseInt(t(154))/2+parseInt(t(169))/3+-parseInt(t(162))/4+-parseInt(t(161))/5+parseInt(t(171))/6+parseInt(t(158))/7)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const cr=new zt;function ur(t,e){return t-=158,pr()[t]}function pr(){const t=["renderMarkdown","For commercial use in Node.js, please configure a license using configureLicense(). ","use","8142HCctba","4604700KKfPKu","4349648hJDIyy","10728EecitC","[mmarked] ℹ️ Running in browser environment, no license required. ","Contact charles@mathcrowd.cn for commercial licensing.","2115ZKqiui","undefined","versions","534258vIObWF","5496543fjjNAT","assign","1928129DMTRyB","126frAPRG","locale","node","24nUnQOm","parse","getTime","Contact charles@mathcrowd.cn for commercial licensing. ","warn","[mmarked] ⚠️ No valid license configured for Node.js server-side usage. "];return(pr=function(){return t})()}cr[or(163)]({extensions:[Wn,Jn],tokenizer:Object[or(173)]({},We),renderer:Object[or(173)]({},he)});const hr=ur;!function(){const t=ur,e=pr();for(;;)try{if(637230==parseInt(t(160))/1*(parseInt(t(172))/2)+parseInt(t(181))/3+parseInt(t(174))/4+-parseInt(t(178))/5*(-parseInt(t(175))/6)+-parseInt(t(159))/7*(parseInt(t(163))/8)+-parseInt(t(182))/9+-parseInt(t(173))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const fr={renderer:Object[hr(158)](Object[hr(158)]({},ue),he),tokenizer:Object[hr(158)]({},We),useNewRenderer:!0,gfm:!0,extensions:[Wn,Jn,tr,er,jn,Pn,Nn,Bn,Mn,rn,In,Gn],hooks:{preprocess:t=>t,processAllTokens:t=>(t=>{const e={theorem:0,lemma:0,corollary:0,axiom:0,definition:0,example:0},n={};return function t(r){const s=En;r[s(479)](r=>{const i=s;"theoremLikeDef"===r[i(499)]&&(e[r[i(498)]]=r.ttype in e?e[r[i(498)]]+1:1,r[i(504)]=r[i(500)]?"":e[r.ttype],n[r.id]={typeName:r[i(514)],number:r[i(504)]}),r[i(481)]&&r[i(481)][i(484)]>0&&t(r[i(481)])})}(t),function t(e){const r=En;e[r(479)](e=>{const s=r;"theoremLikeRef"===e[s(499)]&&e.id in n&&(e.number=n[e.id][s(504)],e[s(514)]=n[e.id][s(514)]),"list"===e[s(499)]&&e.items[s(479)](e=>{const n=s;e[n(481)]&&e[n(481)].length>0&&t(e[n(481)])}),e[s(481)]&&e[s(481)].length>0&&t(e.tokens)})}(t),t})(Tn(t)),postprocess:t=>(t=>{const e=qn,n=[];return t=t[e(162)](/<li class="footnote-def" key="(\d+)".*?<\/li>/g,(t,r)=>(n[e(204)]({key:parseInt(r),content:t}),"")),n[e(178)]((t,n)=>t[e(206)]-n[e(206)]),t=t[e(162)](/<ol class="footnote-list">.*?<\/ol>/g,()=>""),n[e(205)]>0&&(t+=e(195)+zn[An]+e(187)+n.map(t=>t[e(192)])[e(169)]("")+e(197)),t})(t)}};function dr(t,e){return t-=373,gr()[t]}function gr(){var t=["24qhRSSv","1184855cISlvZ","12cqJLgm","146ZFPUQo","37810jvLQnR","428319DSqidq","70nuuxir","26LBvlqQ","181veLvWH","253891PCevDp","1571892qjzvHf","24cdTkkZ","7516jsBZCU"];return(gr=function(){return t})()}kn[hr(171)](fr),function(){for(var t=dr,e=gr();;)try{if(117388==parseInt(t(378))/1*(parseInt(t(373))/2)+-parseInt(t(385))/3*(-parseInt(t(382))/4)+parseInt(t(374))/5*(-parseInt(t(381))/6)+parseInt(t(384))/7+parseInt(t(383))/8*(-parseInt(t(375))/9)+parseInt(t(376))/10*(-parseInt(t(379))/11)+-parseInt(t(380))/12*(-parseInt(t(377))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const mr=xr;!function(){const t=xr,e=br();for(;;)try{if(322807==-parseInt(t(176))/1+parseInt(t(180))/2*(-parseInt(t(182))/3)+parseInt(t(191))/4*(parseInt(t(192))/5)+-parseInt(t(179))/6+parseInt(t(178))/7*(-parseInt(t(181))/8)+-parseInt(t(183))/9+parseInt(t(188))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const kr=a.liteAdaptor({fontSize:13});function br(){const t=["990845DkMGZX","335293zExlpw","clear","489916uRYZre","370434NzrVXq","14936sWEhSI","8tBCKmj","159jyPYxG","149319lIMFkn","render","\\unicode{x25B1}","none","body","8058840dnHHCJ","document","innerHTML","8oFJxiE"];return(br=function(){return t})()}function xr(t,e){return t-=176,br()[t]}l.RegisterHTMLHandler(kr);const yr=new u.TeX({packages:c.AllPackages,inlineMath:[["$","$"],["\\(","\\)"]],displayMath:[["$$","$$"],["\\[","\\]"]],macros:{parallelogram:mr(185)}}),Ir=new h.SVG({fontCache:mr(186)});function wr(t,e){return t-=215,$r()[t]}function $r(){var t=["12486026nRfQFB","752232mbpUiC","85604LjmDJg","20TrCwlK","1482796YjkRYd","4poWlAE","13707016ieHVUq","5766021oKcJYu","268692gOQltJ"];return($r=function(){return t})()}function vr(t,e){return t-=387,Sr()[t]}function Sr(){var t=["2050130bLWLrl","93680PpGIRE","18091zReuPY","1793264tbRxtB","647759lnIbGa","2425752aWhyyb","54BAYPZo","1345455ahzhuk"];return(Sr=function(){return t})()}!function(){for(var t=wr,e=$r();;)try{if(990682==parseInt(t(220))/1+parseInt(t(221))/2*(parseInt(t(215))/3)+parseInt(t(218))/4*(-parseInt(t(219))/5)+parseInt(t(217))/6+-parseInt(t(216))/7+parseInt(t(222))/8+-parseInt(t(223))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),function(){for(var t=vr,e=Sr();;)try{if(573064==-parseInt(t(393))/1+parseInt(t(394))/2+-parseInt(t(390))/3+parseInt(t(392))/4+-parseInt(t(391))/5+parseInt(t(389))/6*(parseInt(t(387))/7)+-parseInt(t(388))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),exports.clearValidationCache=function(){const t=_t;Lt.clear(),Ct=!1,console[t(226)](t(224))},exports.configureLicense=Gt,exports.getLicenseConfig=function(){return Dt},exports.getWarningIfNeeded=Kt,exports.isLicensed=Vt,exports.renderMarkdown=(t,e)=>{const n=hr;var r;r=null==e?void 0:e[n(161)],An="en"===r?"en":"zh",Ft(n(169)),Vt()||(typeof process!==n(179)&&null!=process.versions&&null!=process[n(180)][n(162)]?console[n(167)](n(168)+"For commercial use, please configure a license using configureLicense(). "+n(166)+"Browser usage does not require a license."):console[n(167)](n(176)+n(170)+n(177)));const s=new Date,i=Tn(kn.lexer(t));let o=kn[n(164)](t);const a=new Date,l=Kt();return l&&(o=l+o),{parsed:o,lexed:i,time:a.getTime()-s[n(165)]()}},exports.renderMarkdownCompact=t=>{const e=or;Ft(e(160)),Vt()||(typeof process!==e(155)&&null!=process[e(167)]&&null!=process[e(167)].node?console[e(168)](e(164)+"For commercial use, please configure a license using configureLicense(). "+e(172)+e(157)):console[e(168)](e(170)+"For commercial use in Node.js, please configure a license using configureLicense(). "+e(159)));const n=new Date,r=cr[e(165)].lexInline(t,cr[e(166)]),s=cr[e(175)](t),i=new Date;let o=function(t,e){const n=sr;let r=t;for(const t of e){const e=ee(t[n(487)]);if(null===e)continue;let s=n(489)+e+'" alt="'+t.text+'"';if(t[n(479)]){const{text:e,width:r,height:i}=ae(t.title);e&&(s+=' title="'+e+'"'),(r||i)&&(s+=n(488),r&&(s+=n(491)+r+n(478)),i&&(s+=n(473)+i+"px;"),s+='"')}s+=">";const i='<img src="'+e+'" alt="'+t[n(470)]+'"'+(t[n(479)]?' title="'+t.title+'"':"")+">";r=r[n(480)](i,s)}return r}(s,function t(e){const n=sr,r=[];for(const s of e)"image"===s[n(484)]&&r.push(s),"tokens"in s&&Array.isArray(s[n(481)])&&r[n(476)](...t(s.tokens));return r}(r));const a=Kt();return a&&(o=a+o),{parsed:o,lexed:r,time:i[e(174)]()-n[e(174)]()}},exports.resetUsageStats=function(){const t=_t;Ot.totalCalls=0,Ot[t(234)]=0,Ot.renderMarkdownCompactCalls=0,Ot.firstUsedAt=Date.now(),Ot.lastUsedAt=Date[t(231)](),Ot[t(220)]=void 0,Ot[t(237)]=Tt(),Dt=null,Lt[t(199)](),Ct=!1,console.log(t(211)),console[t(226)](t(224))},exports.setUnlicensedWarningInterval=function(t){exports.UNLICENSED_WARNING_INTERVAL=t},exports.stopUsageTracking=function(){Bt&&(clearInterval(Bt),Bt=null)},exports.tex2svg=t=>{const e=mr;try{const n=p.mathjax[e(189)](t,{InputJax:yr,OutputJax:Ir});n[e(184)]();const r=kr[e(190)](kr[e(187)](n.document));return n[e(177)](),r}catch(e){return console.error(e),t}},exports.trackFunctionCall=Ft,exports.validateLicense=Yt;
2
2
  //# sourceMappingURL=index.cjs.map