[ToC]
"+o):l.innerHTML=n.lute.SpinVditorIRDOM("[ToC]
"+o):l.innerHTML=n.lute.SpinVditorDOM("[ToC]
"+o),n.lute.SetToC(n.options.preview.markdown.toc);else{t.classList.add("vditor-outline");var s=Lute.New();s.SetToC(!0),l.innerHTML=s.HTML2VditorDOM("[ToC]
"+o)}var d=l.firstElementChild.querySelectorAll("li > span[data-target-id]");return d.forEach((function(e,t){if(e.nextElementSibling&&"UL"===e.nextElementSibling.tagName){var n="";document.getElementById("vditorIconScript")||(n=''),e.innerHTML=n+""+e.innerHTML+""}else e.innerHTML=""+e.innerHTML+"";e.setAttribute("data-target-id",a[t])})),o=l.firstElementChild.innerHTML,0===d.length?(t.innerHTML="",o):(t.innerHTML=o,n&&(0,i.H)(t,{cdn:n.options.cdn,math:n.options.preview.math}),t.firstElementChild.addEventListener("click",(function(r){for(var i=r.target;i&&!i.isEqualNode(t);){if(i.classList.contains("vditor-outline__action")){i.classList.contains("vditor-outline__action--close")?(i.classList.remove("vditor-outline__action--close"),i.parentElement.nextElementSibling.setAttribute("style","display:block")):(i.classList.add("vditor-outline__action--close"),i.parentElement.nextElementSibling.setAttribute("style","display:none")),r.preventDefault(),r.stopPropagation();break}if(i.getAttribute("data-target-id")){r.preventDefault(),r.stopPropagation();var o=document.getElementById(i.getAttribute("data-target-id"));if(!o)return;if(n)if("auto"===n.options.height){var a=o.offsetTop+n.element.offsetTop;n.options.toolbarConfig.pin||(a+=n.toolbar.element.offsetHeight),window.scrollTo(window.scrollX,a)}else n.element.offsetTop'+n.innerHTML+"
"):"BR"===n.tagName?n.outerHTML=''+n.outerHTML+"
'+n.outerHTML+"
"),(0,N.ib)(e.wysiwyg.element,t),t=getSelection().getRangeAt(0)),!0}))},ee=function(e,t){var n=(0,N.zh)(e),r=(0,y.F9)(n.startContainer);r||(r=n.startContainer.childNodes[n.startOffset]),r||0!==e.wysiwyg.element.children.length||(r=e.wysiwyg.element),r&&!r.classList.contains("vditor-wysiwyg__block")&&(n.insertNode(document.createElement("wbr")),"'+n.innerHTML+"
",(0,N.ib)(e.wysiwyg.element,t)),e.wysiwyg.popover.style.display="none"},ne=function(e,t,n){void 0===n&&(n=!0);var r=e.previousElementSibling,i=r.ownerDocument.createRange();"CODE"===r.tagName?(r.style.display="inline-block",n?i.setStart(r.firstChild,1):i.selectNodeContents(r)):(r.style.display="block",r.firstChild.firstChild||r.firstChild.appendChild(document.createTextNode("")),i.selectNodeContents(r.firstChild)),n?i.collapse(!0):i.collapse(!1),(0,N.Hc)(i),e.firstElementChild.classList.contains("language-mindmap")||Te(t)},re=function(e,t){if(R("⇧⌘X",t)){var n=e.wysiwyg.popover.querySelector('[data-type="remove"]');if(n)return n.click(),t.preventDefault(),!0}},ie=function(e){clearTimeout(e.wysiwyg.hlToolbarTimeoutId),e.wysiwyg.hlToolbarTimeoutId=window.setTimeout((function(){if("false"!==e.wysiwyg.element.getAttribute("contenteditable")&&(0,N.Gb)(e.wysiwyg.element)){c(e.toolbar.elements,i.g.EDIT_TOOLBARS),p(e.toolbar.elements,i.g.EDIT_TOOLBARS);var t=getSelection().getRangeAt(0),n=t.startContainer;n=3===t.startContainer.nodeType?t.startContainer.parentElement:n.childNodes[t.startOffset>=n.childNodes.length?n.childNodes.length-1:t.startOffset];var r=(0,y.a1)(n,"data-type","footnotes-block");if(r)return e.wysiwyg.popover.innerHTML="",de(r,e),void oe(e,r);var o=(0,y.lG)(n,"LI");o?(o.classList.contains("vditor-task")?u(e.toolbar.elements,["check"]):"OL"===o.parentElement.tagName?u(e.toolbar.elements,["ordered-list"]):"UL"===o.parentElement.tagName&&u(e.toolbar.elements,["list"]),p(e.toolbar.elements,["outdent","indent"])):m(e.toolbar.elements,["outdent","indent"]),(0,y.lG)(n,"BLOCKQUOTE")&&u(e.toolbar.elements,["quote"]),((0,y.lG)(n,"B")||(0,y.lG)(n,"STRONG"))&&u(e.toolbar.elements,["bold"]),((0,y.lG)(n,"I")||(0,y.lG)(n,"EM"))&&u(e.toolbar.elements,["italic"]),((0,y.lG)(n,"STRIKE")||(0,y.lG)(n,"S"))&&u(e.toolbar.elements,["strike"]),e.wysiwyg.element.querySelectorAll(".vditor-comment--focus").forEach((function(e){e.classList.remove("vditor-comment--focus")}));var a=(0,y.fb)(n,"vditor-comment");if(a){var l=a.getAttribute("data-cmtids").split(" ");if(l.length>1&&a.nextSibling.isSameNode(a.nextElementSibling)){var s=a.nextElementSibling.getAttribute("data-cmtids").split(" ");l.find((function(e){if(s.includes(e))return l=[e],!0}))}e.wysiwyg.element.querySelectorAll(".vditor-comment").forEach((function(e){e.getAttribute("data-cmtids").indexOf(l[0])>-1&&e.classList.add("vditor-comment--focus")}))}var f=(0,y.lG)(n,"A");f&&u(e.toolbar.elements,["link"]);var h=(0,y.lG)(n,"TABLE"),v=(0,b.W)(n);(0,y.lG)(n,"CODE")?(0,y.lG)(n,"PRE")?(m(e.toolbar.elements,["headings","bold","italic","strike","line","quote","list","ordered-list","check","code","inline-code","upload","link","table","record"]),u(e.toolbar.elements,["code"])):(m(e.toolbar.elements,["headings","bold","italic","strike","line","quote","list","ordered-list","check","code","upload","link","table","record"]),u(e.toolbar.elements,["inline-code"])):v?(m(e.toolbar.elements,["bold"]),u(e.toolbar.elements,["headings"])):h&&m(e.toolbar.elements,["table"]);var g=(0,y.fb)(n,"vditor-toc");if(g)return e.wysiwyg.popover.innerHTML="",de(g,e),void oe(e,g);var w=(0,b.S)(n,"BLOCKQUOTE");if(w&&(e.wysiwyg.popover.innerHTML="",le(t,w,e),se(t,w,e),de(w,e),oe(e,w)),o&&(e.wysiwyg.popover.innerHTML="",le(t,o,e),se(t,o,e),de(o,e),oe(e,o)),h){e.options.lang,e.options;e.wysiwyg.popover.innerHTML="";var E=function(){var e=h.rows.length,t=h.rows[0].cells.length,n=parseInt(R.value,10)||e,r=parseInt(B.value,10)||t;if(n!==e||t!==r){if(t!==r)for(var i=r-t,o=0;o'+s.innerHTML+"
":s.innerHTML,(0,N.ib)(e.wysiwyg.element,a))}else if("inline-code"===l){var d=(0,y.lG)(a.startContainer,"CODE");d||(d=a.startContainer.childNodes[a.startOffset]),d&&(d.outerHTML=d.innerHTML.replace(i.g.ZWSP,"")+"'+p.innerHTML+"":u.outerHTML='
'+u.outerHTML+"",(0,N.ib)(e.wysiwyg.element,a)}}else if("check"===l||"list"===l||"ordered-list"===l)tt(e,a,l,!1),(0,N.ib)(e.wysiwyg.element,a),r=!1,c(e.toolbar.elements,["check","list","ordered-list"]),t.classList.add("vditor-menu--current");else if("inline-code"===l){if(""===a.toString())(m=document.createElement("code")).textContent=i.g.ZWSP,a.insertNode(m),a.setStart(m.firstChild,1),a.collapse(!0),(0,N.Hc)(a);else if(3===a.startContainer.nodeType){var m=document.createElement("code");a.surroundContents(m),a.insertNode(m),(0,N.Hc)(a)}t.classList.add("vditor-menu--current")}else if("code"===l)(m=document.createElement("div")).className="vditor-wysiwyg__block",m.setAttribute("data-type","code-block"),m.setAttribute("data-block","0"),m.setAttribute("data-marker","```"),""===a.toString()?m.innerHTML="
\n
":(m.innerHTML=""+a.toString()+"
",a.deleteContents()),a.insertNode(m),u&&(u.outerHTML=e.lute.SpinVditorDOM(u.outerHTML)),(0,N.ib)(e.wysiwyg.element,a),e.wysiwyg.element.querySelectorAll(".vditor-wysiwyg__preview[data-render='2']").forEach((function(t){H(t,e)})),t.classList.add("vditor-menu--disabled");else if("link"===l){if(""===a.toString()){var f=document.createElement("a");f.innerText=i.g.ZWSP,a.insertNode(f),a.setStart(f.firstChild,1),a.collapse(!0),ue(e,f);var h=e.wysiwyg.popover.querySelector("input");h.value="",h.focus(),o=!1}else{(m=document.createElement("a")).setAttribute("href",""),m.innerHTML=a.toString(),a.surroundContents(m),a.insertNode(m),(0,N.Hc)(a),ue(e,m);var v=e.wysiwyg.popover.querySelectorAll("input");v[0].value=m.innerText,v[1].focus()}r=!1,t.classList.add("vditor-menu--current")}else if("table"===l){var g='col1 | col2 | col3 |
---|---|---|
"+e+" | ":""+e+" | "})),g+="
---|---|
"+e+" | "})),g+="
<audio controls="controls" src="'+r+'"></audio>
```
```
'+i.g.ZWSP+"
'+i.g.ZWSP+"
'+i.g.ZWSP+"
'+s.join("\n")+"
"),n.insertAdjacentHTML("afterend",l+''+i.g.ZWSP+"
'+s.outerHTML+"",(0,N.ib)(e.wysiwyg.element,t),X(e),n.preventDefault(),!0;if($e(e,n,t,a,a))return!0;if(et(e,n,t,a,a))return!0}return!1},bt=function(e,t,n){var r=t.startContainer,i=(0,y.fb)(r,"vditor-task");if(i){if(R("⇧⌘J",n)){var o=i.firstElementChild;return o.checked?o.removeAttribute("checked"):o.setAttribute("checked","checked"),lt(e),n.preventDefault(),!0}if("Backspace"===n.key&&!(0,d.yl)(n)&&!n.shiftKey&&!n.altKey&&""===t.toString()&&1===t.startOffset&&(3===r.nodeType&&r.previousSibling&&"INPUT"===r.previousSibling.tagName||3!==r.nodeType)){var a=i.previousElementSibling;if(i.querySelector("input").remove(),a)(0,y.DX)(a).parentElement.insertAdjacentHTML("beforeend","
')&&(i=!0),1===r.childElementCount&&"TABLE"===r.firstElementChild.tagName&&r.querySelector(".line-number")&&r.querySelector(".line-content")&&(i=!0),i){var a=t||e;return/\n/.test(a)||1===o.length?"wysiwyg"===n?'
'+a.replace(/&/g,"&").replace(/
'+s.innerHTML+"
":s.innerHTML)}else if("link"===o){var d=(0,y.a1)(i.startContainer,"data-type","a");if(d){var u=(0,y.fb)(i.startContainer,"vditor-ir__link");u?(i.insertNode(document.createElement("wbr")),d.outerHTML=u.innerHTML):d.outerHTML=d.querySelector(".vditor-ir__link").innerHTML+"'+p.outerHTML+"",l=!1,t.classList.add("vditor-menu--current"));else if("link"===o){var f=void 0;f=""===i.toString()?n+"
'+i.g.ZWSP+"
");c.BaseRenderer.Write(B.EscapeHTML(a.FirstChild.Tokens));c.BaseRenderer.WriteString("
");c.BaseRenderer.Newline();return 1;}else{return 2;}}return 2;};T.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};T.ptr.prototype.renderCodeBlockCode=function(a,b){var a,b,c,d,e,f,g,h,i,j,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d="";if(0");}case 9:h=B.EscapeHTML(h);c.BaseRenderer.Write(h);$s=6;continue;case 5:c.BaseRenderer.WriteString("");h=B.EscapeHTML(h);c.BaseRenderer.Write(h);case 6:$s=3;continue;case 2:if(f){c.BaseRenderer.WriteString("
");}return 2;};T.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};T.ptr.prototype.renderYamlFrontMatter=function(a,b){var a,b,c;c=this;c.BaseRenderer.Newline();return 2;};T.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};T.ptr.prototype.renderHtmlEntity=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Write(B.EscapeHTML(a.Tokens));}return 2;};T.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};T.ptr.prototype.renderBackslashContent=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Write(B.EscapeHTML(a.Tokens));}return 2;};T.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};T.ptr.prototype.renderBackslash=function(a,b){var a,b,c;c=this;return 2;};T.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};T.ptr.prototype.renderToC=function(a,b){var a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:T.ptr.prototype.renderToC};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};T.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};T.ptr.prototype.renderFootnotesRef=function(a,b){var a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:e=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=d[0];g=H.Itoa(f);c.BaseRenderer.Tag("sup",new CD([new CB(["class","footnotes-ref"]),new CB(["id","footnotes-ref-"+a.FootnotesRefId])]),false);c.BaseRenderer.Tag("a",new CD([new CB(["href","#footnotes-def-"+g])]),false);c.BaseRenderer.WriteString(g);c.BaseRenderer.Tag("/a",CD.nil,false);c.BaseRenderer.Tag("/sup",CD.nil,false);case 2:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:T.ptr.prototype.renderFootnotesRef};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};T.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};T.ptr.prototype.renderFootnotesDefBlock=function(a,b){var a,b,c;c=this;return 2;};T.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};T.ptr.prototype.RenderFootnotes=function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=this;if(1>a.BaseRenderer.FootnotesDefs.$length){$s=-1;return CC.nil;}b=new G.Buffer.ptr(CC.nil,0,0);b.WriteString("");b.WriteString("
\n");b.WriteString("");c=a.BaseRenderer.FootnotesDefs;d=0;case 1:if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);b.WriteString("- >0)+"\">");g=new E.Tree.ptr(CE.nil,a.BaseRenderer.Tree.Context,CN.nil,CO.nil,"","","","","",CB.nil,new $Int64(0,0),new $Int64(0,0),"");g.Context.Tree=g;g.Root=new A.Node.ptr("","","",0,CE.nil,CE.nil,CE.nil,CE.nil,CE.nil,CI.nil,CC.nil,"","",false,false,false,0,false,0,0,0,CC.nil,CC.nil,CC.nil,0,CL.nil,false,CP.nil,0,0,0,0,CC.nil,0,false,"",0,CC.nil,"",CI.nil,CC.nil,CD.nil,false);g.Root.AppendChild(f);h=U(g,a.BaseRenderer.Options);i=g.Root.LastDeepestChild();e=f.FootnotesRefs.$length-1>>0;while(true){if(!(0<=e)){break;}k=(j=f.FootnotesRefs,((e<0||e>=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+e]));l=" \xE2\x86\xA9";m=new A.Node.ptr("","","",10,CE.nil,CE.nil,CE.nil,CE.nil,CE.nil,CI.nil,F.StrToBytes(l),"","",false,false,false,0,false,0,0,0,CC.nil,CC.nil,CC.nil,0,CL.nil,false,CP.nil,0,0,0,0,CC.nil,0,false,"",0,CC.nil,"",CI.nil,CC.nil,CD.nil,false);i.InsertAfter(m);e=e-(1)>>0;}h.BaseRenderer.RenderingFootnotes=true;n=h.Render();$s=3;case 3:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;b.Write(o);b.WriteString("
\n");d++;$s=1;continue;case 2:b.WriteString("
");$s=-1;return b.Bytes();}return;}if($f===undefined){$f={$blk:T.ptr.prototype.RenderFootnotes};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};T.prototype.RenderFootnotes=function(){return this.$val.RenderFootnotes();};T.ptr.prototype.renderFootnotesDef=function(a,b){var a,b,c,d,e,f,g;c=this;if(b){if(!c.BaseRenderer.RenderingFootnotes){d=false;e=c.BaseRenderer.FootnotesDefs;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if(G.EqualFold(a.Tokens,g.Tokens)){d=true;break;}f++;}if(!d){c.BaseRenderer.FootnotesDefs=$append(c.BaseRenderer.FootnotesDefs,a);}return 1;}}return 2;};T.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};T.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};T.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};T.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var a,b,c;c=this;return 2;};T.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};T.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};T.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};T.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};T.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};T.ptr.prototype.renderEmojiImg=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Write(a.Tokens);}return 2;};T.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};T.ptr.prototype.renderEmojiUnicode=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Write(a.Tokens);}return 2;};T.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};T.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};T.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};T.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("/span",CD.nil,false);}return 2;};T.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};T.ptr.prototype.renderInlineMathContent=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Write(B.EscapeHTML(a.Tokens));}return 2;};T.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};T.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var a,b,c,d;c=this;if(b){d=new CD([new CB(["class","language-math"])]);c.BaseRenderer.Tag("span",d,false);}return 2;};T.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};T.ptr.prototype.renderInlineMath=function(a,b){var a,b,c;c=this;return 2;};T.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};T.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("/div",CD.nil,false);}return 2;};T.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};T.ptr.prototype.renderMathBlockContent=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Write(B.EscapeHTML(a.Tokens));}return 2;};T.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};T.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};T.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};T.ptr.prototype.renderMathBlock=function(a,b){var a,b,c,d;c=this;c.BaseRenderer.Newline();if(b){d=new CD([new CB(["class","language-math"])]);c.handleKramdownBlockIAL(a);d=$appendSlice(d,a.KramdownIAL);c.BaseRenderer.Tag("div",d,false);}return 2;};T.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};T.ptr.prototype.renderTableCell=function(a,b){var a,b,c,d,e,f;c=this;d="td";if(107===a.Parent.Parent.Type){d="th";}if(b){e=CD.nil;f=a.TableCellAlign;if(f===(1)){e=$append(e,new CB(["align","left"]));}else if(f===(2)){e=$append(e,new CB(["align","center"]));}else if(f===(3)){e=$append(e,new CB(["align","right"]));}c.BaseRenderer.Tag(d,e,false);}else{c.BaseRenderer.Tag("/"+d,CD.nil,false);c.BaseRenderer.Newline();}return 2;};T.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};T.ptr.prototype.renderTableRow=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("tr",CD.nil,false);c.BaseRenderer.Newline();}else{c.BaseRenderer.Tag("/tr",CD.nil,false);c.BaseRenderer.Newline();}return 2;};T.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};T.ptr.prototype.renderTableHead=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("thead",CD.nil,false);c.BaseRenderer.Newline();}else{c.BaseRenderer.Tag("/thead",CD.nil,false);c.BaseRenderer.Newline();if(!(CE.nil===a.Next)){c.BaseRenderer.Tag("tbody",CD.nil,false);}c.BaseRenderer.Newline();}return 2;};T.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};T.ptr.prototype.renderTable=function(a,b){var a,b,c;c=this;if(b){c.handleKramdownBlockIAL(a);c.BaseRenderer.Tag("table",a.KramdownIAL,false);c.BaseRenderer.Newline();}else{if(!(CE.nil===a.FirstChild.Next)){c.BaseRenderer.Tag("/tbody",CD.nil,false);}c.BaseRenderer.Newline();c.BaseRenderer.Tag("/table",CD.nil,false);c.BaseRenderer.Newline();}return 2;};T.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};T.ptr.prototype.renderStrikethrough=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.TextAutoSpacePrevious(a);}else{c.BaseRenderer.TextAutoSpaceNext(a);}return 2;};T.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};T.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("del",a.Parent.KramdownIAL,false);}return 2;};T.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};T.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("/del",CD.nil,false);}return 2;};T.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};T.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("del",a.Parent.KramdownIAL,false);}return 2;};T.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};T.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("/del",CD.nil,false);}return 2;};T.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};T.ptr.prototype.renderLinkTitle=function(a,b){var a,b,c;c=this;return 2;};T.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};T.ptr.prototype.renderLinkDest=function(a,b){var a,b,c;c=this;return 2;};T.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};T.ptr.prototype.renderLinkSpace=function(a,b){var a,b,c;c=this;return 2;};T.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};T.ptr.prototype.renderLinkText=function(a,b){var a,b,c,d;c=this;if(b){d=CC.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}c.BaseRenderer.Write(B.EscapeHTML(d));}return 2;};T.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};T.ptr.prototype.renderCloseBrace=function(a,b){var a,b,c;c=this;return 2;};T.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};T.ptr.prototype.renderOpenBrace=function(a,b){var a,b,c;c=this;return 2;};T.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};T.ptr.prototype.renderCloseParen=function(a,b){var a,b,c;c=this;return 2;};T.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};T.ptr.prototype.renderOpenParen=function(a,b){var a,b,c;c=this;return 2;};T.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};T.ptr.prototype.renderLess=function(a,b){var a,b,c;c=this;return 2;};T.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};T.ptr.prototype.renderGreater=function(a,b){var a,b,c;c=this;return 2;};T.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};T.ptr.prototype.renderCloseBracket=function(a,b){var a,b,c;c=this;return 2;};T.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};T.ptr.prototype.renderOpenBracket=function(a,b){var a,b,c;c=this;return 2;};T.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};T.ptr.prototype.renderBang=function(a,b){var a,b,c;c=this;return 2;};T.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};T.ptr.prototype.renderImage=function(a,b){var a,b,c,d,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){if(0===c.BaseRenderer.DisableTags){d=a.IALAttr("parent-style");if(!(""===d)){c.BaseRenderer.Tag("span",new CD([new CB(["style",d])]),false);}c.BaseRenderer.WriteString("
>0;$s=-1;return 2;}c.BaseRenderer.DisableTags=c.BaseRenderer.DisableTags-(1)>>0;if(0===c.BaseRenderer.DisableTags){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.WriteByte(34);f=a.ChildByType(42);if(!(CE.nil===f)&&!(CC.nil===f.Tokens)){c.BaseRenderer.WriteString(" title=\"");c.BaseRenderer.Write(B.EscapeHTML(f.Tokens));c.BaseRenderer.WriteByte(34);}g=c.BaseRenderer.NodeAttrsStr(a);if(!(""===g)){c.BaseRenderer.WriteString(" "+g);}c.BaseRenderer.WriteString(" />");h=a.IALAttr("style");if(!(""===h)){c.BaseRenderer.Tag("/span",CD.nil,false);}if(c.BaseRenderer.Options.Sanitize){$s=3;continue;}$s=4;continue;case 3:i=c.BaseRenderer.Writer.Bytes();j=G.LastIndex(i,(new CC($stringToBytes("
");c.BaseRenderer.Newline();}return 2;};T.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};T.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};T.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};T.ptr.prototype.renderHeading=function(a,b){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Newline();d=$substring(" 123456",a.HeadingLevel,(a.HeadingLevel+1>>0));c.BaseRenderer.WriteString("=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0])),(1>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+1]))+"\"");}if(1=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]);c.BaseRenderer.WriteString(" "+(0>=l.$length?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+0])+"=\""+(1>=l.$length?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+1])+"\"");k++;}}}}c.BaseRenderer.WriteString(">");$s=3;continue;case 2:if(c.BaseRenderer.Options.HeadingAnchor){$s=5;continue;}$s=6;continue;case 5:m=AW(a);$s=7;case 7:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;c.BaseRenderer.Tag("a",new CD([new CB(["id","vditorAnchor-"+n]),new CB(["class","vditor-anchor"]),new CB(["href","#"+n])]),false);c.BaseRenderer.WriteString("");c.BaseRenderer.Tag("/a",CD.nil,false);case 6:c.BaseRenderer.WriteString(" >0))+">");c.BaseRenderer.Newline();case 3:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:T.ptr.prototype.renderHeading};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};T.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};T.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};T.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};T.ptr.prototype.renderHeadingID=function(a,b){var a,b,c;c=this;return 2;};T.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};T.ptr.prototype.renderList=function(a,b){var a,b,c,d,e,f;c=this;d="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){d="ol";}if(b){c.BaseRenderer.Newline();e=CD.nil;c.BaseRenderer.renderListStyle(a,(f||(f=new CQ(function(){return e;},function($v){e=$subslice(new CD($v.$array),$v.$offset,$v.$offset+$v.$length);}))));if((0===a.ListData.BulletChar)&&!((1===a.ListData.Start))){e=$append(e,new CB(["start",H.Itoa(a.ListData.Start)]));}c.handleKramdownBlockIAL(a);e=$appendSlice(e,a.KramdownIAL);c.BaseRenderer.Tag(d,e,false);c.BaseRenderer.Newline();}else{c.BaseRenderer.Newline();c.BaseRenderer.Tag("/"+d,CD.nil,false);c.BaseRenderer.Newline();}return 2;};T.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};T.ptr.prototype.renderListItem=function(a,b){var a,b,c,d,e,f;c=this;if(b){d=CD.nil;c.handleKramdownBlockIAL(a);d=$appendSlice(d,a.KramdownIAL);if((3===a.ListData.Typ)&&!(""===c.BaseRenderer.Options.GFMTaskListItemClass)&&!(CE.nil===a.FirstChild)&&(((100===a.FirstChild.Type))||(!(CE.nil===a.FirstChild.FirstChild)&&(100===a.FirstChild.FirstChild.Type)))){e=a.FirstChild.FirstChild;if(CE.nil===e){e=a.FirstChild;}f=c.BaseRenderer.Options.GFMTaskListItemClass;if(e.TaskListItemChecked){f=f+(" vditor-task--done");}d=$append(d,new CB(["class",f]));}c.BaseRenderer.Tag("li",d,false);}else{c.BaseRenderer.Tag("/li",CD.nil,false);c.BaseRenderer.Newline();}return 2;};T.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};T.ptr.prototype.renderTaskListItemMarker=function(a,b){var a,b,c,d;c=this;if(b){d=CD.nil;if(a.TaskListItemChecked){d=$append(d,new CB(["checked",""]));}d=$append(d,new CB(["disabled",""]),new CB(["type","checkbox"]));c.BaseRenderer.Tag("input",d,true);}return 2;};T.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};T.ptr.prototype.renderThematicBreak=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Newline();c.BaseRenderer.Tag("hr",CD.nil,true);c.BaseRenderer.Newline();}return 2;};T.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};T.ptr.prototype.renderHardBreak=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("br",CD.nil,true);c.BaseRenderer.Newline();}return 2;};T.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};T.ptr.prototype.renderSoftBreak=function(a,b){var a,b,c;c=this;if(b){if(c.BaseRenderer.Options.SoftBreak2HardBreak){c.BaseRenderer.Tag("br",CD.nil,true);c.BaseRenderer.Newline();}else{c.BaseRenderer.Newline();}}return 2;};T.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};T.ptr.prototype.handleKramdownBlockIAL=function(a){var a,b,c,d;b=this;if(b.BaseRenderer.Options.KramdownBlockIAL&&!("id"===b.BaseRenderer.Options.KramdownIALIDRenderName)&&0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])),(0>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+0]=b.BaseRenderer.Options.KramdownIALIDRenderName));}};T.prototype.handleKramdownBlockIAL=function(a){return this.$val.handleKramdownBlockIAL(a);};W=function(a,b){var a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=new V.ptr(AU(a,b));d=0;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(d)]={k:d,v:$methodVal(c,"renderDocument")};e=1;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(e)]={k:e,v:$methodVal(c,"renderParagraph")};f=16;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(f)]={k:f,v:$methodVal(c,"renderText")};g=27;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(g)]={k:g,v:$methodVal(c,"renderCodeSpan")};h=28;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(h)]={k:h,v:$methodVal(c,"renderCodeSpanOpenMarker")};i=29;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(i)]={k:i,v:$methodVal(c,"renderCodeSpanContent")};j=30;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(j)]={k:j,v:$methodVal(c,"renderCodeSpanCloseMarker")};k=11;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(k)]={k:k,v:$methodVal(c,"renderCodeBlock")};l=12;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(l)]={k:l,v:$methodVal(c,"renderCodeBlockOpenMarker")};m=14;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(m)]={k:m,v:$methodVal(c,"renderCodeBlockInfoMarker")};n=15;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(n)]={k:n,v:$methodVal(c,"renderCodeBlockCode")};o=13;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(o)]={k:o,v:$methodVal(c,"renderCodeBlockCloseMarker")};p=300;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(p)]={k:p,v:$methodVal(c,"renderMathBlock")};q=301;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(q)]={k:q,v:$methodVal(c,"renderMathBlockOpenMarker")};r=302;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(r)]={k:r,v:$methodVal(c,"renderMathBlockContent")};s=303;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(s)]={k:s,v:$methodVal(c,"renderMathBlockCloseMarker")};t=304;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(t)]={k:t,v:$methodVal(c,"renderInlineMath")};u=305;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(u)]={k:u,v:$methodVal(c,"renderInlineMathOpenMarker")};v=306;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(v)]={k:v,v:$methodVal(c,"renderInlineMathContent")};w=307;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(w)]={k:w,v:$methodVal(c,"renderInlineMathCloseMarker")};x=17;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(x)]={k:x,v:$methodVal(c,"renderEmphasis")};y=18;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(y)]={k:y,v:$methodVal(c,"renderEmAsteriskOpenMarker")};z=19;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(z)]={k:z,v:$methodVal(c,"renderEmAsteriskCloseMarker")};aa=20;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(aa)]={k:aa,v:$methodVal(c,"renderEmUnderscoreOpenMarker")};ab=21;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ab)]={k:ab,v:$methodVal(c,"renderEmUnderscoreCloseMarker")};ac=22;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ac)]={k:ac,v:$methodVal(c,"renderStrong")};ad=23;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ad)]={k:ad,v:$methodVal(c,"renderStrongA6kOpenMarker")};ae=24;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ae)]={k:ae,v:$methodVal(c,"renderStrongA6kCloseMarker")};af=25;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(af)]={k:af,v:$methodVal(c,"renderStrongU8eOpenMarker")};ag=26;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ag)]={k:ag,v:$methodVal(c,"renderStrongU8eCloseMarker")};ah=5;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ah)]={k:ah,v:$methodVal(c,"renderBlockquote")};ai=6;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ai)]={k:ai,v:$methodVal(c,"renderBlockquoteMarker")};aj=2;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(aj)]={k:aj,v:$methodVal(c,"renderHeading")};ak=3;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ak)]={k:ak,v:$methodVal(c,"renderHeadingC8hMarker")};al=420;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(al)]={k:al,v:$methodVal(c,"renderHeadingID")};am=7;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(am)]={k:am,v:$methodVal(c,"renderList")};an=8;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(an)]={k:an,v:$methodVal(c,"renderListItem")};ao=4;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ao)]={k:ao,v:$methodVal(c,"renderThematicBreak")};ap=31;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ap)]={k:ap,v:$methodVal(c,"renderHardBreak")};aq=32;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(aq)]={k:aq,v:$methodVal(c,"renderSoftBreak")};ar=9;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ar)]={k:ar,v:$methodVal(c,"renderHTML")};as=10;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(as)]={k:as,v:$methodVal(c,"renderInlineHTML")};at=33;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(at)]={k:at,v:$methodVal(c,"renderLink")};au=34;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(au)]={k:au,v:$methodVal(c,"renderImage")};av=35;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(av)]={k:av,v:$methodVal(c,"renderBang")};aw=36;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(aw)]={k:aw,v:$methodVal(c,"renderOpenBracket")};ax=37;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ax)]={k:ax,v:$methodVal(c,"renderCloseBracket")};ay=38;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ay)]={k:ay,v:$methodVal(c,"renderOpenParen")};az=39;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(az)]={k:az,v:$methodVal(c,"renderCloseParen")};ba=47;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ba)]={k:ba,v:$methodVal(c,"renderLess")};bb=48;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bb)]={k:bb,v:$methodVal(c,"renderGreater")};bc=466;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bc)]={k:bc,v:$methodVal(c,"renderOpenBrace")};bd=467;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bd)]={k:bd,v:$methodVal(c,"renderCloseBrace")};be=40;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(be)]={k:be,v:$methodVal(c,"renderLinkText")};bf=43;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bf)]={k:bf,v:$methodVal(c,"renderLinkSpace")};bg=41;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bg)]={k:bg,v:$methodVal(c,"renderLinkDest")};bh=42;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bh)]={k:bh,v:$methodVal(c,"renderLinkTitle")};bi=101;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bi)]={k:bi,v:$methodVal(c,"renderStrikethrough")};bj=102;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bj)]={k:bj,v:$methodVal(c,"renderStrikethrough1OpenMarker")};bk=103;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bk)]={k:bk,v:$methodVal(c,"renderStrikethrough1CloseMarker")};bl=104;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bl)]={k:bl,v:$methodVal(c,"renderStrikethrough2OpenMarker")};bm=105;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bm)]={k:bm,v:$methodVal(c,"renderStrikethrough2CloseMarker")};bn=100;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bn)]={k:bn,v:$methodVal(c,"renderTaskListItemMarker")};bo=106;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bo)]={k:bo,v:$methodVal(c,"renderTable")};bp=107;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bp)]={k:bp,v:$methodVal(c,"renderTableHead")};bq=108;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bq)]={k:bq,v:$methodVal(c,"renderTableRow")};br=109;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(br)]={k:br,v:$methodVal(c,"renderTableCell")};bs=200;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bs)]={k:bs,v:$methodVal(c,"renderEmoji")};bt=201;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bt)]={k:bt,v:$methodVal(c,"renderEmojiUnicode")};bu=202;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bu)]={k:bu,v:$methodVal(c,"renderEmojiImg")};bv=203;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bv)]={k:bv,v:$methodVal(c,"renderEmojiAlias")};bw=410;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bw)]={k:bw,v:$methodVal(c,"renderFootnotesDefBlock")};bx=411;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bx)]={k:bx,v:$methodVal(c,"renderFootnotesDef")};by=412;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(by)]={k:by,v:$methodVal(c,"renderFootnotesRef")};bz=415;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bz)]={k:bz,v:$methodVal(c,"renderToC")};ca=400;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ca)]={k:ca,v:$methodVal(c,"renderBackslash")};cb=401;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cb)]={k:cb,v:$methodVal(c,"renderBackslashContent")};cc=44;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cc)]={k:cc,v:$methodVal(c,"renderHtmlEntity")};cd=425;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cd)]={k:cd,v:$methodVal(c,"renderYamlFrontMatter")};ce=426;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ce)]={k:ce,v:$methodVal($clone(c,V),"renderYamlFrontMatterOpenMarker")};cf=427;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cf)]={k:cf,v:$methodVal($clone(c,V),"renderYamlFrontMatterContent")};cg=428;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cg)]={k:cg,v:$methodVal($clone(c,V),"renderYamlFrontMatterCloseMarker")};ch=430;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ch)]={k:ch,v:$methodVal(c,"renderBlockRef")};ci=431;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ci)]={k:ci,v:$methodVal(c,"renderBlockRefID")};cj=432;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cj)]={k:cj,v:$methodVal(c,"renderBlockRefSpace")};ck=433;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ck)]={k:ck,v:$methodVal(c,"renderBlockRefText")};cl=434;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cl)]={k:cl,v:$methodVal(c,"renderBlockRefDynamicText")};cm=540;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cm)]={k:cm,v:$methodVal(c,"renderFileAnnotationRef")};cn=541;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cn)]={k:cn,v:$methodVal(c,"renderFileAnnotationRefID")};co=542;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(co)]={k:co,v:$methodVal(c,"renderFileAnnotationRefSpace")};cp=543;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cp)]={k:cp,v:$methodVal(c,"renderFileAnnotationRefText")};cq=450;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cq)]={k:cq,v:$methodVal(c,"renderMark")};cr=451;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cr)]={k:cr,v:$methodVal(c,"renderMark1OpenMarker")};cs=452;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cs)]={k:cs,v:$methodVal(c,"renderMark1CloseMarker")};ct=453;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ct)]={k:ct,v:$methodVal(c,"renderMark2OpenMarker")};cu=454;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cu)]={k:cu,v:$methodVal(c,"renderMark2CloseMarker")};cv=485;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cv)]={k:cv,v:$methodVal(c,"renderSup")};cw=486;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cw)]={k:cw,v:$methodVal(c,"renderSupOpenMarker")};cx=487;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cx)]={k:cx,v:$methodVal(c,"renderSupCloseMarker")};cy=490;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cy)]={k:cy,v:$methodVal(c,"renderSub")};cz=491;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cz)]={k:cz,v:$methodVal(c,"renderSubOpenMarker")};da=492;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(da)]={k:da,v:$methodVal(c,"renderSubCloseMarker")};db=455;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(db)]={k:db,v:$methodVal(c,"renderKramdownBlockIAL")};dc=456;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dc)]={k:dc,v:$methodVal(c,"renderKramdownSpanIAL")};dd=465;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dd)]={k:dd,v:$methodVal(c,"renderBlockQueryEmbed")};de=468;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(de)]={k:de,v:$methodVal(c,"renderBlockQueryEmbedScript")};df=460;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(df)]={k:df,v:$methodVal(c,"renderTag")};dg=461;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dg)]={k:dg,v:$methodVal(c,"renderTagOpenMarker")};dh=462;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dh)]={k:dh,v:$methodVal(c,"renderTagCloseMarker")};di=45;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(di)]={k:di,v:$methodVal(c,"renderLinkRefDefBlock")};dj=46;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dj)]={k:dj,v:$methodVal(c,"renderLinkRefDef")};dk=475;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dk)]={k:dk,v:$methodVal(c,"renderSuperBlock")};dl=476;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dl)]={k:dl,v:$methodVal(c,"renderSuperBlockOpenMarker")};dm=477;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dm)]={k:dm,v:$methodVal(c,"renderSuperBlockLayoutMarker")};dn=478;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dn)]={k:dn,v:$methodVal(c,"renderSuperBlockCloseMarker")};c.BaseRenderer.DefaultRendererFunc=$methodVal(c,"renderDefault");return c;};$pkg.NewJSONRenderer=W;X=function(a){var a,b;b=a.Type;if((b===(12))||(b===(18))||(b===(20))||(b===(23))||(b===(25))||(b===(28))||(b===(102))||(b===(104))||(b===(301))||(b===(305))||(b===(426))||(b===(451))||(b===(453))||(b===(461))||(b===(486))||(b===(491))){return true;}return false;};Y=function(a){var a,b;b=a.Type;if((b===(13))||(b===(19))||(b===(21))||(b===(24))||(b===(26))||(b===(30))||(b===(103))||(b===(105))||(b===(303))||(b===(307))||(b===(428))||(b===(452))||(b===(454))||(b===(462))||(b===(487))||(b===(492))){return true;}return false;};V.ptr.prototype.renderDocument=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.WriteByte(91);}else{c.BaseRenderer.WriteByte(93);}return 2;};V.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};V.ptr.prototype.renderParagraph=function(a,b){var a,b,c;c=this;if(b){c.openObj();c.flag(a);c.openChildren(a);}else{c.closeChildren(a);c.closeObj(a);}return 2;};V.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};V.ptr.prototype.renderText=function(a,b){var a,b,c;c=this;if(b){c.openObj();c.val(a.Type,F.BytesToStr(a.Tokens));}else{c.closeObj(a);}return 1;};V.prototype.renderText=function(a,b){return this.$val.renderText(a,b);};V.ptr.prototype.renderCodeSpan=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderCodeSpan=function(a,b){return this.$val.renderCodeSpan(a,b);};V.ptr.prototype.renderCodeSpanOpenMarker=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderCodeSpanOpenMarker=function(a,b){return this.$val.renderCodeSpanOpenMarker(a,b);};V.ptr.prototype.renderCodeSpanContent=function(a,b){var a,b,c;c=this;if(b){c.openObj();c.val(27,F.BytesToStr(a.Tokens));c.openChildren(a);}else{c.closeChildren(a);c.closeObj(a);}return 2;};V.prototype.renderCodeSpanContent=function(a,b){return this.$val.renderCodeSpanContent(a,b);};V.ptr.prototype.renderCodeSpanCloseMarker=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderCodeSpanCloseMarker=function(a,b){return this.$val.renderCodeSpanCloseMarker(a,b);};V.ptr.prototype.renderCodeBlock=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};V.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};V.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};V.ptr.prototype.renderCodeBlockCode=function(a,b){var a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d="";if(0=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]));}if(b){$s=1;continue;}$s=2;continue;case 1:c.openObj();f=a.Tokens;if(0>0));c.val(a.Type,d);c.openChildren(a);}else{c.closeChildren(a);c.closeObj(a);}return 2;};V.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};V.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};V.ptr.prototype.renderHeadingID=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};V.ptr.prototype.renderList=function(a,b){var a,b,c,d;c=this;if(b){c.openObj();d="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){d="ol";}c.val(a.Type,d);c.openChildren(a);}else{c.closeChildren(a);c.closeObj(a);}return 2;};V.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};V.ptr.prototype.renderListItem=function(a,b){var a,b,c;c=this;if(b){c.openObj();c.flag(a);c.openChildren(a);}else{c.closeChildren(a);c.closeObj(a);}return 2;};V.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};V.ptr.prototype.renderThematicBreak=function(a,b){var a,b,c;c=this;if(b){c.leaf(a.Type,"hr",a);}return 1;};V.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};V.ptr.prototype.renderHardBreak=function(a,b){var a,b,c;c=this;if(b){c.leaf(a.Type,"br",a);}return 1;};V.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};V.ptr.prototype.renderSoftBreak=function(a,b){var a,b,c;c=this;if(b){c.leaf(a.Type,"\n",a);}return 1;};V.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};V.ptr.prototype.renderInlineHTML=function(a,b){var a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.openObj();d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=BG(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:c.val(a.Type,F.BytesToStr(d));c.openChildren(a);$s=3;continue;case 2:c.closeChildren(a);c.closeObj(a);case 3:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:V.ptr.prototype.renderInlineHTML};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};V.prototype.renderInlineHTML=function(a,b){return this.$val.renderInlineHTML(a,b);};V.ptr.prototype.renderLink=function(a,b){var a,b,c,d,e;c=this;if(b){c.openObj();d=a.ChildByType(41);e=d.Tokens;e=c.BaseRenderer.LinkPath(e);c.val(a.Type,F.BytesToStr(e));}else{c.closeObj(a);}return 2;};V.prototype.renderLink=function(a,b){return this.$val.renderLink(a,b);};V.ptr.prototype.renderImage=function(a,b){var a,b,c,d;c=this;if(b){c.openObj();d=a.ChildByType(41).Tokens;d=c.BaseRenderer.LinkPath(d);c.val(a.Type,F.BytesToStr(d));}else{c.closeObj(a);}return 2;};V.prototype.renderImage=function(a,b){return this.$val.renderImage(a,b);};V.ptr.prototype.renderBang=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};V.ptr.prototype.renderOpenBracket=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};V.ptr.prototype.renderCloseBracket=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};V.ptr.prototype.renderOpenParen=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};V.ptr.prototype.renderCloseParen=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};V.ptr.prototype.renderLess=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};V.ptr.prototype.renderGreater=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};V.ptr.prototype.renderOpenBrace=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};V.ptr.prototype.renderCloseBrace=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};V.ptr.prototype.renderLinkTitle=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};V.ptr.prototype.renderLinkDest=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};V.ptr.prototype.renderLinkSpace=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};V.ptr.prototype.renderLinkText=function(a,b){var a,b,c,d;c=this;if(b){d=CC.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}c.BaseRenderer.WriteString(",\"title\":\""+F.BytesToStr(d)+"\"");}return 2;};V.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};V.ptr.prototype.renderStrikethrough=function(a,b){var a,b,c;c=this;if(b){c.openObj();c.flag(a);c.openChildren(a);}else{c.closeChildren(a);c.closeObj(a);}return 2;};V.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};V.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};V.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};V.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};V.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};V.ptr.prototype.renderTaskListItemMarker=function(a,b){var a,b,c,d;c=this;if(b){c.openObj();d="false";if(a.TaskListItemChecked){d="true";}c.val(a.Type,d);c.openChildren(a);}else{c.closeChildren(a);c.closeObj(a);}return 2;};V.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};V.ptr.prototype.renderTableCell=function(a,b){var a,b,c,d,e;c=this;if(b){d="";e=a.TableCellAlign;if(e===(1)){d="left";}else if(e===(2)){d="center";}else if(e===(3)){d="right";}else{d="left";}c.openObj();c.val(a.Type,d);c.openChildren(a);}else{c.closeChildren(a);c.closeObj(a);}return 2;};V.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};V.ptr.prototype.renderTableRow=function(a,b){var a,b,c;c=this;if(b){c.openObj();c.flag(a);c.openChildren(a);}else{c.closeChildren(a);c.closeObj(a);}return 2;};V.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};V.ptr.prototype.renderTableHead=function(a,b){var a,b,c;c=this;if(b){c.openObj();c.flag(a);c.openChildren(a);}else{c.closeChildren(a);c.closeObj(a);}return 2;};V.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};V.ptr.prototype.renderTable=function(a,b){var a,b,c;c=this;if(b){c.openObj();c.flag(a);c.openChildren(a);}else{c.closeChildren(a);c.closeObj(a);}return 2;};V.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};V.ptr.prototype.renderEmojiImg=function(a,b){var a,b,c;c=this;if(b){c.leaf(a.Type,F.BytesToStr(a.Tokens),a);}return 1;};V.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};V.ptr.prototype.renderEmojiUnicode=function(a,b){var a,b,c;c=this;if(b){c.leaf(a.Type,F.BytesToStr(a.Tokens),a);}return 1;};V.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};V.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 1;};V.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};V.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};V.ptr.prototype.renderFootnotesDefBlock=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};V.ptr.prototype.renderFootnotesRef=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};V.ptr.prototype.renderFootnotesDef=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};V.ptr.prototype.renderHtmlEntity=function(a,b){var a,b,c;c=this;if(b){c.openObj();c.val(a.Type,F.BytesToStr(a.Tokens));c.openChildren(a);}else{c.closeChildren(a);c.closeObj(a);}return 2;};V.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};V.ptr.prototype.renderYamlFrontMatter=function(a,b){var a,b,c;c=this;if(b){c.openObj();}else{c.closeObj(a);}return 2;};V.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};V.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};V.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var a,b,c;c=this;if(b){c.val(425,F.BytesToStr(a.Tokens));}return 1;};V.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};V.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};V.ptr.prototype.renderBackslashContent=function(a,b){var a,b,c;c=this;if(b){c.openObj();c.val(400,F.BytesToStr(a.Tokens));}else{c.closeObj(a);}return 2;};V.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};V.ptr.prototype.renderBackslash=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};V.ptr.prototype.renderToC=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};V.ptr.prototype.renderMark=function(a,b){var a,b,c;c=this;if(b){c.openObj();c.flag(a);c.openChildren(a);}else{c.closeChildren(a);c.closeObj(a);}return 2;};V.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};V.ptr.prototype.renderMark1OpenMarker=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};V.ptr.prototype.renderMark1CloseMarker=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};V.ptr.prototype.renderMark2OpenMarker=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};V.ptr.prototype.renderMark2CloseMarker=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};V.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;if(b){c.openObj();c.flag(a);c.openChildren(a);}else{c.closeChildren(a);c.closeObj(a);}return 2;};V.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};V.ptr.prototype.renderSupOpenMarker=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};V.ptr.prototype.renderSupCloseMarker=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};V.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;if(b){c.openObj();c.flag(a);c.openChildren(a);}else{c.closeChildren(a);c.closeObj(a);}return 2;};V.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};V.ptr.prototype.renderSubOpenMarker=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};V.ptr.prototype.renderSubCloseMarker=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};V.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};V.ptr.prototype.renderKramdownSpanIAL=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};V.ptr.prototype.renderBlockQueryEmbed=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};V.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var a,b,c;c=this;if(b){c.openObj();c.val(465,F.BytesToStr(a.Tokens));}else{c.closeObj(a);}return 2;};V.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};V.ptr.prototype.renderTag=function(a,b){var a,b,c;c=this;if(b){c.openObj();c.flag(a);c.openChildren(a);}else{c.closeChildren(a);c.closeObj(a);}return 2;};V.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};V.ptr.prototype.renderTagOpenMarker=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};V.ptr.prototype.renderTagCloseMarker=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};V.ptr.prototype.renderSuperBlock=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};V.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var a,b,c;c=this;return 1;};V.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};V.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var a,b,c;c=this;return 1;};V.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};V.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var a,b,c;c=this;return 1;};V.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};V.ptr.prototype.renderLinkRefDefBlock=function(a,b){var a,b,c;c=this;return 1;};V.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};V.ptr.prototype.renderLinkRefDef=function(a,b){var a,b,c;c=this;return 1;};V.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};V.ptr.prototype.renderBlockRef=function(a,b){var a,b,c;c=this;if(b){c.openObj();c.flag(a);}else{c.closeObj(a);}return 2;};V.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};V.ptr.prototype.renderBlockRefID=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};V.ptr.prototype.renderBlockRefSpace=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};V.ptr.prototype.renderBlockRefText=function(a,b){var a,b,c;c=this;if(b){c.val(430,F.BytesToStr(a.Tokens));}return 2;};V.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};V.ptr.prototype.renderBlockRefDynamicText=function(a,b){var a,b,c;c=this;if(b){c.val(430,F.BytesToStr(a.Tokens));}return 2;};V.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};V.ptr.prototype.renderFileAnnotationRef=function(a,b){var a,b,c;c=this;if(b){c.openObj();c.flag(a);}else{c.closeObj(a);}return 2;};V.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};V.ptr.prototype.renderFileAnnotationRefID=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};V.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};V.ptr.prototype.renderFileAnnotationRefText=function(a,b){var a,b,c;c=this;if(b){c.val(540,F.BytesToStr(a.Tokens));}return 2;};V.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};V.ptr.prototype.renderDefault=function(a,b){var a,b,c;c=this;return 2;};V.prototype.renderDefault=function(a,b){return this.$val.renderDefault(a,b);};V.ptr.prototype.renderHTML=function(a,b){var a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.openObj();d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=4;continue;}$s=5;continue;case 4:e=BG(d);$s=6;case 6:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 5:c.val(a.Type,F.BytesToStr(d));$s=3;continue;case 2:c.closeObj(a);case 3:$s=-1;return 1;}return;}if($f===undefined){$f={$blk:V.ptr.prototype.renderHTML};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};V.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};V.ptr.prototype.leaf=function(a,b,c){var a,b,c,d;d=this;d.openObj();d.val(a,b);d.closeObj(c);};V.prototype.leaf=function(a,b,c){return this.$val.leaf(a,b,c);};V.ptr.prototype.val=function(a,b){var a,b,c;c=this;b=D.ReplaceAll(b,"\\","\\\\");b=D.ReplaceAll(b,"\n","\\n");b=D.ReplaceAll(b,"\"","\\\"");b=D.ReplaceAll(b,"'","\\'");c.BaseRenderer.WriteString("\"type\":\""+$substring(new A.NodeType(a).String(),4)+"\""+",");c.BaseRenderer.WriteString("\"value\":\""+b+"\"");};V.prototype.val=function(a,b){return this.$val.val(a,b);};V.ptr.prototype.language=function(a,b,c){var a,b,c,d;d=this;b=D.ReplaceAll(b,"\\","\\\\");b=D.ReplaceAll(b,"\n","\\n");b=D.ReplaceAll(b,"\"","\\\"");b=D.ReplaceAll(b,"'","\\'");d.BaseRenderer.WriteString("\"type\":\""+$substring(new A.NodeType(a).String(),4)+"\""+",");d.BaseRenderer.WriteString("\"value\":\""+b+"\"");d.BaseRenderer.WriteString(",\"language\":\""+c+"\"");};V.prototype.language=function(a,b,c){return this.$val.language(a,b,c);};V.ptr.prototype.mindMap=function(a){var a,b;b=this;b.BaseRenderer.WriteString(",\"mindmap\":\""+a+"\"");};V.prototype.mindMap=function(a){return this.$val.mindMap(a);};V.ptr.prototype.flag=function(a){var a,b;b=this;b.BaseRenderer.WriteString("\"flag\":\""+$substring(new A.NodeType(a.Type).String(),4)+"\"");};V.prototype.flag=function(a){return this.$val.flag(a);};V.ptr.prototype.openObj=function(){var a;a=this;a.BaseRenderer.WriteByte(123);};V.prototype.openObj=function(){return this.$val.openObj();};V.ptr.prototype.closeObj=function(a){var a,b;b=this;b.BaseRenderer.WriteByte(125);if(!b.ignore(a.Next)){b.comma();}};V.prototype.closeObj=function(a){return this.$val.closeObj(a);};V.ptr.prototype.openChildren=function(a){var a,b;b=this;if(!(CE.nil===a.FirstChild)){b.BaseRenderer.WriteString(",\"children\":[");}};V.prototype.openChildren=function(a){return this.$val.openChildren(a);};V.ptr.prototype.closeChildren=function(a){var a,b;b=this;if(!(CE.nil===a.FirstChild)){b.BaseRenderer.WriteByte(93);}};V.prototype.closeChildren=function(a){return this.$val.closeChildren(a);};V.ptr.prototype.comma=function(){var a;a=this;a.BaseRenderer.WriteString(",");};V.prototype.comma=function(){return this.$val.comma();};V.ptr.prototype.ignore=function(a){var a,b;b=this;return CE.nil===a||X(a)||Y(a);};V.prototype.ignore=function(a){return this.$val.ignore(a);};AB=function(a,b){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;c=new AA.ptr(AU(a,b));d=0;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(d)]={k:d,v:$methodVal(c,"renderDocument")};e=1;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(e)]={k:e,v:$methodVal(c,"renderParagraph")};f=11;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(f)]={k:f,v:$methodVal(c,"renderCodeBlock")};g=300;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(g)]={k:g,v:$methodVal(c,"renderMathBlock")};h=5;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(h)]={k:h,v:$methodVal(c,"renderBlockquote")};i=475;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(i)]={k:i,v:$methodVal(c,"renderSuperBlock")};j=2;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(j)]={k:j,v:$methodVal(c,"renderHeading")};k=7;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(k)]={k:k,v:$methodVal(c,"renderList")};l=8;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(l)]={k:l,v:$methodVal(c,"renderListItem")};m=4;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(m)]={k:m,v:$methodVal(c,"renderThematicBreak")};n=9;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(n)]={k:n,v:$methodVal(c,"renderHTML")};o=106;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(o)]={k:o,v:$methodVal(c,"renderTable")};p=415;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(p)]={k:p,v:$methodVal(c,"renderToC")};q=425;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(q)]={k:q,v:$methodVal(c,"renderYamlFrontMatter")};r=465;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(r)]={k:r,v:$methodVal(c,"renderBlockQueryEmbed")};s=455;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(s)]={k:s,v:$methodVal(c,"renderKramdownBlockIAL")};c.BaseRenderer.DefaultRendererFunc=$methodVal(c,"renderDefault");return c;};$pkg.NewKityMinderJSONRenderer=AB;AA.ptr.prototype.renderDefault=function(a,b){var a,b,c;c=this;return 2;};AA.prototype.renderDefault=function(a,b){return this.$val.renderDefault(a,b);};AA.ptr.prototype.renderBlockQueryEmbed=function(a,b){var a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.openObj();$r=c.data(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.openChildren(a);$s=3;continue;case 2:c.closeChildren(a);c.closeObj();c.comma(a);case 3:$s=-1;return 1;}return;}if($f===undefined){$f={$blk:AA.ptr.prototype.renderBlockQueryEmbed};}$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};AA.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};AA.ptr.prototype.renderYamlFrontMatter=function(a,b){var a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.openObj();$r=c.data(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.openChildren(a);$s=3;continue;case 2:c.closeChildren(a);c.closeObj();c.comma(a);case 3:$s=-1;return 1;}return;}if($f===undefined){$f={$blk:AA.ptr.prototype.renderYamlFrontMatter};}$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};AA.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};AA.ptr.prototype.renderToC=function(a,b){var a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.openObj();$r=c.data(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.openChildren(a);$s=3;continue;case 2:c.closeChildren(a);c.closeObj();c.comma(a);case 3:$s=-1;return 1;}return;}if($f===undefined){$f={$blk:AA.ptr.prototype.renderToC};}$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};AA.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};AA.ptr.prototype.renderMathBlock=function(a,b){var a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.openObj();$r=c.data(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.openChildren(a);$s=3;continue;case 2:c.closeChildren(a);c.closeObj();c.comma(a);case 3:$s=-1;return 1;}return;}if($f===undefined){$f={$blk:AA.ptr.prototype.renderMathBlock};}$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};AA.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};AA.ptr.prototype.renderTable=function(a,b){var a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.openObj();$r=c.data(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.openChildren(a);$s=3;continue;case 2:c.closeChildren(a);c.closeObj();c.comma(a);case 3:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:AA.ptr.prototype.renderTable};}$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};AA.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};AA.ptr.prototype.renderHTML=function(a,b){var a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.openObj();$r=c.data(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.openChildren(a);$s=3;continue;case 2:c.closeChildren(a);c.closeObj();c.comma(a);case 3:$s=-1;return 1;}return;}if($f===undefined){$f={$blk:AA.ptr.prototype.renderHTML};}$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};AA.prototype.renderHTML=function(a,b){return this.$val.renderHTML(a,b);};AA.ptr.prototype.renderParagraph=function(a,b){var a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=a.Parent.Parent;if(!(CE.nil===d)&&(7===d.Type)&&d.ListData.Tight){if(a.Parent.FirstChild===a&&a.Parent.LastChild===a){$s=-1;return 2;}}if(b){$s=1;continue;}$s=2;continue;case 1:c.openObj();$r=c.data(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.openChildren(a);$s=3;continue;case 2:c.closeChildren(a);c.closeObj();c.comma(a);case 3:$s=-1;return 1;}return;}if($f===undefined){$f={$blk:AA.ptr.prototype.renderParagraph};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};AA.prototype.renderParagraph=function(a,b){return this.$val.renderParagraph(a,b);};AA.ptr.prototype.renderBlockquote=function(a,b){var a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.openObj();$r=c.data(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.openChildren(a);$s=3;continue;case 2:c.closeChildren(a);c.closeObj();c.comma(a);case 3:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:AA.ptr.prototype.renderBlockquote};}$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};AA.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};AA.ptr.prototype.renderSuperBlock=function(a,b){var a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.openObj();$r=c.data(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.openChildren(a);$s=3;continue;case 2:c.closeChildren(a);c.closeObj();c.comma(a);case 3:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:AA.ptr.prototype.renderSuperBlock};}$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};AA.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};AA.ptr.prototype.renderHeading=function(a,b){var a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.openObj();$r=c.data(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.openChildren(a);d=a.FirstChild;while(true){if(!(!(CE.nil===d))){break;}d.Unlink();d=d.Next;}e=AC(a);f=e;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);a.AppendChild(h);g++;}$s=3;continue;case 2:c.closeChildren(a);c.closeObj();c.comma(a);case 3:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:AA.ptr.prototype.renderHeading};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};AA.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};AA.ptr.prototype.renderList=function(a,b){var a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.openObj();$r=c.data(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.openChildren(a);$s=3;continue;case 2:c.closeChildren(a);c.closeObj();c.comma(a);case 3:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:AA.ptr.prototype.renderList};}$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};AA.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};AA.ptr.prototype.renderListItem=function(a,b){var a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.openObj();$r=c.data(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.openChildren(a);$s=3;continue;case 2:c.closeChildren(a);c.closeObj();c.comma(a);case 3:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:AA.ptr.prototype.renderListItem};}$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};AA.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};AA.ptr.prototype.renderThematicBreak=function(a,b){var a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.openObj();$r=c.data(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.openChildren(a);$s=3;continue;case 2:c.closeChildren(a);c.closeObj();c.comma(a);case 3:$s=-1;return 1;}return;}if($f===undefined){$f={$blk:AA.ptr.prototype.renderThematicBreak};}$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};AA.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};AA.ptr.prototype.renderCodeBlock=function(a,b){var a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.openObj();$r=c.data(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.openChildren(a);$s=3;continue;case 2:c.closeChildren(a);c.closeObj();c.comma(a);case 3:$s=-1;return 1;}return;}if($f===undefined){$f={$blk:AA.ptr.prototype.renderCodeBlock};}$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};AA.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};AA.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 1;};AA.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};AA.ptr.prototype.renderDocument=function(a,b){var a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.WriteByte(123);c.BaseRenderer.WriteString("\"root\":");c.openObj();$r=c.data(a);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.openChildren(a);$s=3;continue;case 2:c.closeChildren(a);c.closeObj();c.BaseRenderer.WriteByte(125);case 3:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:AA.ptr.prototype.renderDocument};}$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};AA.prototype.renderDocument=function(a,b){return this.$val.renderDocument(a,b);};AA.ptr.prototype.data=function(a){var a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=[b];c=this;c.BaseRenderer.WriteString("\"data\":");c.openObj();d="";e=a.Type;if(e===(0)){$s=2;continue;}if(e===(7)){$s=3;continue;}if(e===(5)){$s=4;continue;}if(e===(475)){$s=5;continue;}$s=6;continue;case 2:d=c.BaseRenderer.Tree.Name;$s=7;continue;case 3:if(0===a.ListData.Typ){c.BaseRenderer.WriteString("\"priority\": \"iconList\",");}else if(1===a.ListData.Typ){c.BaseRenderer.WriteString("\"priority\": \"iconOrderedList\",");}else{c.BaseRenderer.WriteString("\"priority\": \"iconCheck\",");}$s=7;continue;case 4:c.BaseRenderer.WriteString("\"priority\": \"iconQuote\",");$s=7;continue;case 5:c.BaseRenderer.WriteString("\"priority\": \"iconSuper\",");$s=7;continue;case 6:b[0]=new G.Buffer.ptr(CC.nil,0,0);$r=A.Walk(a,(function(b){return function $b(f,g){var f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:if(!g){$s=-1;return 2;}if(460===f.Type){$s=1;continue;}$s=2;continue;case 1:h=f.Text();$s=3;case 3:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=b[0].WriteString("#"+h+"#");$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;$s=-1;return 1;case 2:if((16===f.Type)||(40===f.Type)||(433===f.Type)||(434===f.Type)||(29===f.Type)||(15===f.Type)||(42===f.Type)||(302===f.Type)||(306===f.Type)||(427===f.Type)){b[0].Write(f.Tokens);}$s=-1;return 2;}return;}if($f===undefined){$f={$blk:$b};}$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};})(b));$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=b[0].String();case 7:case 1:f=D.NewReplacer(new CB(["\\","","\n","","\"","","\t","","'",""]));g=f.Replace(d);$s=9;case 9:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}d=g;d=D.ReplaceAll(d,"'","");if(16=e.HeadingLevel){break;}}if(455===e.Type){if(!G.Contains(e.Tokens,(new CC($stringToBytes("type=\"doc\""))))){b=$append(b,e);}}else{b=$append(b,e);}e=e.Next;}return b;};AT.ptr.prototype.LinkPath=function(a){var a,b;b=this;a=b.RelativePath(a);a=b.PrefixPath(a);return a;};AT.prototype.LinkPath=function(a){return this.$val.LinkPath(a);};AT.ptr.prototype.PrefixPath=function(a){var a,b,c,d;b=this;if(""===b.Options.LinkPrefix){return a;}c=F.StrToBytes(b.Options.LinkPrefix);d=$appendSlice(c,a);return d;};AT.prototype.PrefixPath=function(a){return this.$val.PrefixPath(a);};AT.ptr.prototype.RelativePath=function(a){var a,b,c,d;b=this;if(""===b.Options.LinkBase){return a;}a=G.ReplaceAll(a,(new CC($stringToBytes("%5C"))),(new CC($stringToBytes("\\"))));if(!b.isRelativePath(a)){return a;}c=F.StrToBytes(b.Options.LinkBase);if(!G.HasSuffix(c,(new CC($stringToBytes("/"))))){c=$appendSlice(c,(new CC($stringToBytes("/"))));}d=$appendSlice(c,a);if(G.Equal(c,d)){return(new CC($stringToBytes("")));}return d;};AT.prototype.RelativePath=function(a){return this.$val.RelativePath(a);};AT.ptr.prototype.isRelativePath=function(a){var a,b;b=this;if(1>a.$length){return true;}if(47===(0>=a.$length?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+0])){return false;}return!G.Contains(a,(new CC($stringToBytes(":/"))))&&!G.Contains(a,(new CC($stringToBytes(":\\"))));};AT.prototype.isRelativePath=function(a){return this.$val.isRelativePath(a);};AD=function(a){var a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=AF(F.StrToBytes(a));$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=F.BytesToStr(b);$s=2;case 2:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;}return;}if($f===undefined){$f={$blk:AD};}$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};$pkg.EChartsMindmapStr=AD;AE=function(a){var a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=AF(a);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=B.EncodeDestination(b);$s=2;case 2:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}$s=-1;return c;}return;}if($f===undefined){$f={$blk:AE};}$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};$pkg.EChartsMindmap=AE;AF=function(a){var a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=[b];a=G.ReplaceAll(a,F.CaretTokens,CC.nil);c=E.Parse("",a,E.NewOptions());$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(CE.nil===d.Root.FirstChild||!((7===d.Root.FirstChild.Type))){$s=-1;return(new CC($stringToBytes("{}")));}e=CI.nil;f=d.Root.FirstChild;while(true){if(!(!(CE.nil===f))){break;}if(!((7===f.Type))){e=$append(e,f);}f=f.Next;}g=e;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);i.Unlink();h++;}b[0]=new G.Buffer.ptr(CC.nil,0,0);$r=A.Walk(d.Root,(function(b){return function $b(j,k){var j,k,l,m,n,o,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;o=$f.o;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:l=j.Type;if(l===(0)){$s=2;continue;}if(l===(7)){$s=3;continue;}if(l===(8)){$s=4;continue;}$s=5;continue;case 2:if(k){if(AH(j)){b[0].WriteString("{\"name\": \"Root\", \"children\": [");}}else{if(AH(j)){b[0].WriteString("]}");}}$s=-1;return 2;case 3:$s=-1;return 2;case 4:m=!(CE.nil===j.ChildByType(7));if(k){$s=7;continue;}$s=8;continue;case 7:n=AG(j.FirstChild);$s=10;case 10:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=b[0].WriteString("{\"name\": \""+n+"\"");$s=11;case 11:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;if(m){b[0].WriteString(", \"children\": [");}$s=9;continue;case 8:if(m){b[0].WriteString("]");}b[0].WriteString("}");if(!(CE.nil===j.Next)||!(CE.nil===j.Parent.Next)){b[0].WriteString(", ");}case 9:$s=6;continue;case 5:$s=-1;return 2;case 6:case 1:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:$b};}$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.o=o;$f.$s=$s;$f.$r=$r;return $f;};})(b));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b[0].Bytes();}return;}if($f===undefined){$f={$blk:AF};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};AG=function(a){var a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=[b];c="";if(CE.nil===a){c="";$s=-1;return c;}b[0]=new G.Buffer.ptr(CC.nil,0,0);$r=A.Walk(a,(function(b){return function(d,e){var d,e;if((7===d.Type)||(8===d.Type)){return 2;}if(((16===d.Type)||(40===d.Type))&&e){b[0].Write(d.Tokens);}return 2;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=b[0].String();c=D.ReplaceAll(c,"\\","\\\\");c=D.ReplaceAll(c,"\"","\\\"");c=D.ReplaceAll(c,"\xE2\x80\xB8","");$s=-1;return c;}return;}if($f===undefined){$f={$blk:AG};}$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};AH=function(a){var a,b,c,d;b=0;c=a.FirstChild;while(true){if(!(!(CE.nil===c))){break;}if(7===c.Type){b=b+(1)>>0;}c=c.Next;}if(1>0;}d=d.Next;}if(1");}return 2;};AK.prototype.renderTextMarkOpenMarker=function(a,b){return this.$val.renderTextMarkOpenMarker(a,b);};AK.ptr.prototype.renderTextMarkCloseMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.WriteString("");}return 2;};AK.prototype.renderTextMarkCloseMarker=function(a,b){return this.$val.renderTextMarkCloseMarker(a,b);};AK.ptr.prototype.renderBr=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.WriteString("
");}return 2;};AK.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};AK.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};AK.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.WriteString("");}return 2;};AK.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};AK.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.WriteString("");}return 2;};AK.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};AK.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};AK.ptr.prototype.renderKbdOpenMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.WriteString("");}return 2;};AK.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};AK.ptr.prototype.renderKbdCloseMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.WriteString("");}return 2;};AK.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};AK.ptr.prototype.renderVideo=function(a,b){var a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Tag("div",new CD([new CB(["class","iframe"])]),false);d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=3;continue;}$s=4;continue;case 3:e=BG(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:d=c.BaseRenderer.tagSrcPath(d);c.BaseRenderer.Write(d);c.BaseRenderer.Tag("/div",CD.nil,false);case 2:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:AK.ptr.prototype.renderVideo};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AK.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};AK.ptr.prototype.renderAudio=function(a,b){var a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Tag("div",new CD([new CB(["class","iframe"])]),false);d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=3;continue;}$s=4;continue;case 3:e=BG(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:d=c.BaseRenderer.tagSrcPath(d);c.BaseRenderer.Write(d);c.BaseRenderer.Tag("/div",CD.nil,false);case 2:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:AK.ptr.prototype.renderAudio};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AK.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};AK.ptr.prototype.renderIFrame=function(a,b){var a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Tag("div",new CD([new CB(["class","iframe"])]),false);d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=3;continue;}$s=4;continue;case 3:e=BG(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:d=c.BaseRenderer.tagSrcPath(d);c.BaseRenderer.Write(d);c.BaseRenderer.Tag("/div",CD.nil,false);case 2:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:AK.ptr.prototype.renderIFrame};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AK.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};AK.ptr.prototype.renderWidget=function(a,b){var a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Tag("div",new CD([new CB(["class","iframe"])]),false);d=a.Tokens;if(c.BaseRenderer.Options.Sanitize){$s=3;continue;}$s=4;continue;case 3:e=BG(d);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;case 4:d=c.BaseRenderer.tagSrcPath(d);c.BaseRenderer.Write(d);c.BaseRenderer.Tag("/div",CD.nil,false);case 2:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:AK.ptr.prototype.renderWidget};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AK.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};AK.ptr.prototype.Render=function(){var a,b,c,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:a=CC.nil;b=this;c=b.BaseRenderer.Render();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}a=c;$s=-1;return a;}return;}if($f===undefined){$f={$blk:AK.ptr.prototype.Render};}$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};AK.prototype.Render=function(){return this.$val.Render();};AK.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Write(a.Tokens);c.BaseRenderer.Newline();}return 2;};AK.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};AK.ptr.prototype.renderGitConflictContent=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Write(B.EscapeHTML(a.Tokens));c.BaseRenderer.Newline();}return 2;};AK.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};AK.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Write(a.Tokens);c.BaseRenderer.Newline();}return 2;};AK.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};AK.ptr.prototype.renderGitConflict=function(a,b){var a,b,c,d;c=this;c.BaseRenderer.Newline();if(b){d=new CD([new CB(["class","language-git-conflict"])]);c.handleKramdownBlockIAL(a);d=$appendSlice(d,a.KramdownIAL);c.BaseRenderer.Tag("div",d,false);}else{c.BaseRenderer.Tag("/div",CD.nil,false);}return 2;};AK.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};AK.ptr.prototype.renderSuperBlock=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};AK.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var a,b,c;c=this;return 1;};AK.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};AK.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var a,b,c;c=this;return 1;};AK.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};AK.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var a,b,c;c=this;return 1;};AK.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};AK.ptr.prototype.renderLinkRefDefBlock=function(a,b){var a,b,c;c=this;return 1;};AK.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};AK.ptr.prototype.renderLinkRefDef=function(a,b){var a,b,c;c=this;return 1;};AK.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};AK.ptr.prototype.renderTag=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.TextAutoSpacePrevious(a);}else{c.BaseRenderer.TextAutoSpaceNext(a);}return 2;};AK.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};AK.ptr.prototype.renderTagOpenMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("em",a.Parent.KramdownIAL,false);c.BaseRenderer.WriteByte(35);}return 2;};AK.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};AK.ptr.prototype.renderTagCloseMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.WriteByte(35);c.BaseRenderer.Tag("/em",CD.nil,false);}return 2;};AK.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};AK.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};AK.ptr.prototype.renderKramdownSpanIAL=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};AK.ptr.prototype.renderMark=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.TextAutoSpacePrevious(a);}else{c.BaseRenderer.TextAutoSpaceNext(a);}return 2;};AK.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};AK.ptr.prototype.renderMark1OpenMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("mark",a.Parent.KramdownIAL,false);}return 2;};AK.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};AK.ptr.prototype.renderMark1CloseMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("/mark",CD.nil,false);}return 2;};AK.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};AK.ptr.prototype.renderMark2OpenMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("mark",a.Parent.KramdownIAL,false);}return 2;};AK.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};AK.ptr.prototype.renderMark2CloseMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("/mark",CD.nil,false);}return 2;};AK.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};AK.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};AK.ptr.prototype.renderSupOpenMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("sup",CD.nil,false);}return 2;};AK.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};AK.ptr.prototype.renderSupCloseMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("/sup",CD.nil,false);}return 2;};AK.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};AK.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};AK.ptr.prototype.renderSubOpenMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("sub",CD.nil,false);}return 2;};AK.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};AK.ptr.prototype.renderSubCloseMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("/sub",CD.nil,false);}return 2;};AK.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};AK.ptr.prototype.renderBlockQueryEmbed=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Newline();c.BaseRenderer.Tag("div",CD.nil,false);}else{c.BaseRenderer.Tag("/div",CD.nil,false);c.BaseRenderer.Newline();}return 2;};AK.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};AK.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.WriteByte(34);c.BaseRenderer.Write(a.Tokens);c.BaseRenderer.WriteByte(34);}return 2;};AK.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};AK.ptr.prototype.renderBlockRef=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};AK.ptr.prototype.renderBlockRefID=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};AK.ptr.prototype.renderBlockRefSpace=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};AK.ptr.prototype.renderBlockRefText=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.WriteByte(34);c.BaseRenderer.Write(a.Tokens);}else{c.BaseRenderer.WriteByte(34);}return 2;};AK.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};AK.ptr.prototype.renderBlockRefDynamicText=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.WriteByte(39);c.BaseRenderer.Write(a.Tokens);}else{c.BaseRenderer.WriteByte(39);}return 2;};AK.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};AK.ptr.prototype.renderFileAnnotationRef=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};AK.ptr.prototype.renderFileAnnotationRefID=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};AK.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};AK.ptr.prototype.renderFileAnnotationRefText=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.WriteByte(34);c.BaseRenderer.Write(a.Tokens);}else{c.BaseRenderer.WriteByte(34);}return 2;};AK.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};AK.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.WriteString("
");}return 2;};AK.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};AK.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Write(B.EscapeHTML(a.Tokens));}return 2;};AK.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};AK.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var a,b,c,d;c=this;if(b){d=new CD([new CB(["class","vditor-yml-front-matter"])]);d=$appendSlice(d,a.Parent.KramdownIAL);c.BaseRenderer.Tag("pre",d,false);c.BaseRenderer.WriteString("");}return 2;};AK.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};AK.ptr.prototype.renderYamlFrontMatter=function(a,b){var a,b,c;c=this;c.BaseRenderer.Newline();return 2;};AK.prototype.renderYamlFrontMatter=function(a,b){return this.$val.renderYamlFrontMatter(a,b);};AK.ptr.prototype.renderHtmlEntity=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Write(B.EscapeHTML(a.Tokens));}return 2;};AK.prototype.renderHtmlEntity=function(a,b){return this.$val.renderHtmlEntity(a,b);};AK.ptr.prototype.renderBackslashContent=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Write(B.EscapeHTML(a.Tokens));}return 2;};AK.prototype.renderBackslashContent=function(a,b){return this.$val.renderBackslashContent(a,b);};AK.ptr.prototype.renderBackslash=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderBackslash=function(a,b){return this.$val.renderBackslash(a,b);};AK.ptr.prototype.renderToC=function(a,b){var a,b,c,d,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;d=c.BaseRenderer.renderToC(a,b);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$s=-1;return d;}return;}if($f===undefined){$f={$blk:AK.ptr.prototype.renderToC};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.$s=$s;$f.$r=$r;return $f;};AK.prototype.renderToC=function(a,b){return this.$val.renderToC(a,b);};AK.ptr.prototype.renderFootnotesRef=function(a,b){var a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:e=c.BaseRenderer.Tree.FindFootnotesDef(a.Tokens);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=d[0];g=H.Itoa(f);c.BaseRenderer.Tag("sup",new CD([new CB(["class","footnotes-ref"]),new CB(["id","footnotes-ref-"+a.FootnotesRefId])]),false);c.BaseRenderer.Tag("a",new CD([new CB(["href","#footnotes-def-"+g])]),false);c.BaseRenderer.WriteString(g);c.BaseRenderer.Tag("/a",CD.nil,false);c.BaseRenderer.Tag("/sup",CD.nil,false);case 2:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:AK.ptr.prototype.renderFootnotesRef};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AK.prototype.renderFootnotesRef=function(a,b){return this.$val.renderFootnotesRef(a,b);};AK.ptr.prototype.renderFootnotesDefBlock=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.WriteString("");c.BaseRenderer.WriteString("
\n");c.BaseRenderer.WriteString("");}else{c.BaseRenderer.WriteString("
");}return 2;};AK.prototype.renderFootnotesDefBlock=function(a,b){return this.$val.renderFootnotesDefBlock(a,b);};AK.ptr.prototype.renderFootnotesDef=function(a,b){var a,b,c,d,e;c=this;if(b){c.BaseRenderer.WriteString("");if(0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])).FootnotesRefId;a.FirstChild.PrependChild(new A.Node.ptr("","","",10,CE.nil,CE.nil,CE.nil,CE.nil,CE.nil,CI.nil,(new CC($stringToBytes(""))),"","",false,false,false,0,false,0,0,0,CC.nil,CC.nil,CC.nil,0,CL.nil,false,CP.nil,0,0,0,0,CC.nil,0,false,"",0,CC.nil,"",CI.nil,CC.nil,CD.nil,false));}}else{c.BaseRenderer.WriteString(" \n");}return 2;};AK.prototype.renderFootnotesDef=function(a,b){return this.$val.renderFootnotesDef(a,b);};AK.ptr.prototype.renderCodeBlock=function(a,b){var a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;c.BaseRenderer.Newline();d=false;e="";if(!(CE.nil===a.FirstChild.Next)&&0");$s=3;continue;case 2:if(d){$s=-1;return 1;}c.BaseRenderer.Tag("/code",CD.nil,false);c.BaseRenderer.Tag("/pre",CD.nil,false);case 3:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:AK.ptr.prototype.renderCodeBlock};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};AK.prototype.renderCodeBlock=function(a,b){return this.$val.renderCodeBlock(a,b);};AK.ptr.prototype.renderCodeBlockCode=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Write(B.EscapeHTML(a.Tokens));}return 2;};AK.prototype.renderCodeBlockCode=function(a,b){return this.$val.renderCodeBlockCode(a,b);};AK.ptr.prototype.renderCodeBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderCodeBlockCloseMarker=function(a,b){return this.$val.renderCodeBlockCloseMarker(a,b);};AK.ptr.prototype.renderCodeBlockInfoMarker=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderCodeBlockInfoMarker=function(a,b){return this.$val.renderCodeBlockInfoMarker(a,b);};AK.ptr.prototype.renderCodeBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderCodeBlockOpenMarker=function(a,b){return this.$val.renderCodeBlockOpenMarker(a,b);};AK.ptr.prototype.renderEmojiAlias=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderEmojiAlias=function(a,b){return this.$val.renderEmojiAlias(a,b);};AK.ptr.prototype.renderEmojiImg=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Write(a.Tokens);}return 2;};AK.prototype.renderEmojiImg=function(a,b){return this.$val.renderEmojiImg(a,b);};AK.ptr.prototype.renderEmojiUnicode=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Write(a.Tokens);}return 2;};AK.prototype.renderEmojiUnicode=function(a,b){return this.$val.renderEmojiUnicode(a,b);};AK.ptr.prototype.renderEmoji=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderEmoji=function(a,b){return this.$val.renderEmoji(a,b);};AK.ptr.prototype.renderInlineMathCloseMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("/span",CD.nil,false);}return 2;};AK.prototype.renderInlineMathCloseMarker=function(a,b){return this.$val.renderInlineMathCloseMarker(a,b);};AK.ptr.prototype.renderInlineMathContent=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderInlineMathContent=function(a,b){return this.$val.renderInlineMathContent(a,b);};AK.ptr.prototype.renderInlineMathOpenMarker=function(a,b){var a,b,c,d;c=this;if(b){d=B.EscapeHTML(a.Next.Tokens);c.BaseRenderer.Tag("span",new CD([new CB(["data-subtype","math"]),new CB(["data-content",F.BytesToStr(d)])]),false);}return 2;};AK.prototype.renderInlineMathOpenMarker=function(a,b){return this.$val.renderInlineMathOpenMarker(a,b);};AK.ptr.prototype.renderInlineMath=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.TextAutoSpacePrevious(a);}else{c.BaseRenderer.TextAutoSpaceNext(a);}return 2;};AK.prototype.renderInlineMath=function(a,b){return this.$val.renderInlineMath(a,b);};AK.ptr.prototype.renderMathBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderMathBlockCloseMarker=function(a,b){return this.$val.renderMathBlockCloseMarker(a,b);};AK.ptr.prototype.renderMathBlockContent=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderMathBlockContent=function(a,b){return this.$val.renderMathBlockContent(a,b);};AK.ptr.prototype.renderMathBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderMathBlockOpenMarker=function(a,b){return this.$val.renderMathBlockOpenMarker(a,b);};AK.ptr.prototype.renderMathBlock=function(a,b){var a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;c.BaseRenderer.Newline();if(b){$s=1;continue;}$s=2;continue;case 1:d=CD.nil;e=B.EscapeHTML(a.FirstChild.Next.Tokens);e=G.ReplaceAll(e,F.CaretTokens,CC.nil);f=G.TrimSpace(e);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;d=$append(d,new CB(["data-content",F.BytesToStr(e)]));d=$append(d,new CB(["data-subtype","math"]));c.BaseRenderer.Tag("div",d,false);c.BaseRenderer.Tag("div",new CD([new CB(["spin","1"])]),false);c.BaseRenderer.Tag("/div",CD.nil,false);c.BaseRenderer.Tag("/div",CD.nil,false);c.BaseRenderer.Newline();case 2:$s=-1;return 1;}return;}if($f===undefined){$f={$blk:AK.ptr.prototype.renderMathBlock};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AK.prototype.renderMathBlock=function(a,b){return this.$val.renderMathBlock(a,b);};AK.ptr.prototype.renderTableCell=function(a,b){var a,b,c,d,e,f;c=this;d="td";if(107===a.Parent.Parent.Type){d="th";}if(b){e=CD.nil;f=a.TableCellAlign;if(f===(1)){e=$append(e,new CB(["align","left"]));}else if(f===(2)){e=$append(e,new CB(["align","center"]));}else if(f===(3)){e=$append(e,new CB(["align","right"]));}c.BaseRenderer.Tag(d,e,false);}else{c.BaseRenderer.Tag("/"+d,CD.nil,false);c.BaseRenderer.Newline();}return 2;};AK.prototype.renderTableCell=function(a,b){return this.$val.renderTableCell(a,b);};AK.ptr.prototype.renderTableRow=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("tr",CD.nil,false);c.BaseRenderer.Newline();}else{c.BaseRenderer.Tag("/tr",CD.nil,false);c.BaseRenderer.Newline();}return 2;};AK.prototype.renderTableRow=function(a,b){return this.$val.renderTableRow(a,b);};AK.ptr.prototype.renderTableHead=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("thead",CD.nil,false);c.BaseRenderer.Newline();}else{c.BaseRenderer.Tag("/thead",CD.nil,false);c.BaseRenderer.Newline();if(!(CE.nil===a.Next)){c.BaseRenderer.Tag("tbody",CD.nil,false);}c.BaseRenderer.Newline();}return 2;};AK.prototype.renderTableHead=function(a,b){return this.$val.renderTableHead(a,b);};AK.ptr.prototype.renderTable=function(a,b){var a,b,c;c=this;if(b){c.handleKramdownBlockIAL(a);c.BaseRenderer.Tag("table",a.KramdownIAL,false);c.BaseRenderer.Newline();}else{if(!(CE.nil===a.FirstChild.Next)){c.BaseRenderer.Tag("/tbody",CD.nil,false);}c.BaseRenderer.Newline();c.BaseRenderer.Tag("/table",CD.nil,false);c.BaseRenderer.Newline();}return 2;};AK.prototype.renderTable=function(a,b){return this.$val.renderTable(a,b);};AK.ptr.prototype.renderStrikethrough=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.TextAutoSpacePrevious(a);}else{c.BaseRenderer.TextAutoSpaceNext(a);}return 2;};AK.prototype.renderStrikethrough=function(a,b){return this.$val.renderStrikethrough(a,b);};AK.ptr.prototype.renderStrikethrough1OpenMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("del",a.Parent.KramdownIAL,false);}return 2;};AK.prototype.renderStrikethrough1OpenMarker=function(a,b){return this.$val.renderStrikethrough1OpenMarker(a,b);};AK.ptr.prototype.renderStrikethrough1CloseMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("/del",CD.nil,false);}return 2;};AK.prototype.renderStrikethrough1CloseMarker=function(a,b){return this.$val.renderStrikethrough1CloseMarker(a,b);};AK.ptr.prototype.renderStrikethrough2OpenMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("del",a.Parent.KramdownIAL,false);}return 2;};AK.prototype.renderStrikethrough2OpenMarker=function(a,b){return this.$val.renderStrikethrough2OpenMarker(a,b);};AK.ptr.prototype.renderStrikethrough2CloseMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("/del",CD.nil,false);}return 2;};AK.prototype.renderStrikethrough2CloseMarker=function(a,b){return this.$val.renderStrikethrough2CloseMarker(a,b);};AK.ptr.prototype.renderLinkTitle=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderLinkTitle=function(a,b){return this.$val.renderLinkTitle(a,b);};AK.ptr.prototype.renderLinkDest=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderLinkDest=function(a,b){return this.$val.renderLinkDest(a,b);};AK.ptr.prototype.renderLinkSpace=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderLinkSpace=function(a,b){return this.$val.renderLinkSpace(a,b);};AK.ptr.prototype.renderLinkText=function(a,b){var a,b,c,d;c=this;if(b){d=CC.nil;if(c.BaseRenderer.Options.AutoSpace){d=c.BaseRenderer.Space(a.Tokens);}else{d=a.Tokens;}c.BaseRenderer.Write(B.EscapeHTML(d));}return 2;};AK.prototype.renderLinkText=function(a,b){return this.$val.renderLinkText(a,b);};AK.ptr.prototype.renderCloseBrace=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderCloseBrace=function(a,b){return this.$val.renderCloseBrace(a,b);};AK.ptr.prototype.renderOpenBrace=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderOpenBrace=function(a,b){return this.$val.renderOpenBrace(a,b);};AK.ptr.prototype.renderCloseParen=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderCloseParen=function(a,b){return this.$val.renderCloseParen(a,b);};AK.ptr.prototype.renderOpenParen=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderOpenParen=function(a,b){return this.$val.renderOpenParen(a,b);};AK.ptr.prototype.renderLess=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderLess=function(a,b){return this.$val.renderLess(a,b);};AK.ptr.prototype.renderGreater=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderGreater=function(a,b){return this.$val.renderGreater(a,b);};AK.ptr.prototype.renderCloseBracket=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderCloseBracket=function(a,b){return this.$val.renderCloseBracket(a,b);};AK.ptr.prototype.renderOpenBracket=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderOpenBracket=function(a,b){return this.$val.renderOpenBracket(a,b);};AK.ptr.prototype.renderBang=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderBang=function(a,b){return this.$val.renderBang(a,b);};AK.ptr.prototype.renderImage=function(a,b){var a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){if(0===c.BaseRenderer.DisableTags){d=new CD([new CB(["class","img"])]);e=a.IALAttr("parent-style");if(!(""===e)){d=$append(d,new CB(["style",e]));}c.BaseRenderer.Tag("span",d,false);c.BaseRenderer.WriteString("
>0;$s=-1;return 2;}c.BaseRenderer.DisableTags=c.BaseRenderer.DisableTags-(1)>>0;if(0===c.BaseRenderer.DisableTags){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.WriteByte(34);g=a.ChildByType(42);h=CC.nil;if(!(CE.nil===g)&&!(CC.nil===g.Tokens)){h=B.EscapeHTML(g.Tokens);c.BaseRenderer.WriteString(" title=\"");c.BaseRenderer.Write(h);c.BaseRenderer.WriteByte(34);}i=c.BaseRenderer.NodeAttrsStr(a);if(!(""===i)){c.BaseRenderer.WriteString(" "+i);}c.BaseRenderer.WriteString(" />");if(0");c.BaseRenderer.Newline();}return 2;};AK.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};AK.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};AK.ptr.prototype.renderHeading=function(a,b){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;m=$f.m;n=$f.n;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.Newline();d=$substring(" 123456",a.HeadingLevel,(a.HeadingLevel+1>>0));c.BaseRenderer.WriteString("=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0])),(1>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+1]))+"\"");}if(1=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]);c.BaseRenderer.WriteString(" "+(0>=l.$length?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+0])+"=\""+(1>=l.$length?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+1])+"\"");k++;}}}}c.BaseRenderer.WriteString(">");$s=3;continue;case 2:if(c.BaseRenderer.Options.HeadingAnchor){$s=5;continue;}$s=6;continue;case 5:m=AW(a);$s=7;case 7:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;c.BaseRenderer.Tag("a",new CD([new CB(["id","vditorAnchor-"+n]),new CB(["class","vditor-anchor"]),new CB(["href","#"+n])]),false);c.BaseRenderer.WriteString("");c.BaseRenderer.Tag("/a",CD.nil,false);case 6:c.BaseRenderer.WriteString(" >0))+">");c.BaseRenderer.Newline();case 3:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:AK.ptr.prototype.renderHeading};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.l=l;$f.m=m;$f.n=n;$f.$s=$s;$f.$r=$r;return $f;};AK.prototype.renderHeading=function(a,b){return this.$val.renderHeading(a,b);};AK.ptr.prototype.renderHeadingC8hMarker=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderHeadingC8hMarker=function(a,b){return this.$val.renderHeadingC8hMarker(a,b);};AK.ptr.prototype.renderHeadingID=function(a,b){var a,b,c;c=this;return 2;};AK.prototype.renderHeadingID=function(a,b){return this.$val.renderHeadingID(a,b);};AK.ptr.prototype.renderList=function(a,b){var a,b,c,d,e,f;c=this;d="ul";if((1===a.ListData.Typ)||((3===a.ListData.Typ)&&(0===a.ListData.BulletChar))){d="ol";}if(b){c.BaseRenderer.Newline();e=CD.nil;c.BaseRenderer.renderListStyle(a,(f||(f=new CQ(function(){return e;},function($v){e=$subslice(new CD($v.$array),$v.$offset,$v.$offset+$v.$length);}))));if((0===a.ListData.BulletChar)&&!((1===a.ListData.Start))){e=$append(e,new CB(["start",H.Itoa(a.ListData.Start)]));}c.handleKramdownBlockIAL(a);e=$appendSlice(e,a.KramdownIAL);c.BaseRenderer.Tag(d,e,false);c.BaseRenderer.Newline();}else{c.BaseRenderer.Newline();c.BaseRenderer.Tag("/"+d,CD.nil,false);c.BaseRenderer.Newline();}return 2;};AK.prototype.renderList=function(a,b){return this.$val.renderList(a,b);};AK.ptr.prototype.renderListItem=function(a,b){var a,b,c,d,e,f;c=this;if(b){d=CD.nil;c.handleKramdownBlockIAL(a);d=$appendSlice(d,a.KramdownIAL);if((3===a.ListData.Typ)&&!(CE.nil===a.FirstChild)&&(((100===a.FirstChild.Type))||(!(CE.nil===a.FirstChild.FirstChild)&&(100===a.FirstChild.FirstChild.Type)))){e=a.FirstChild.FirstChild;if(CE.nil===e){e=a.FirstChild;}f="protyle-task";if(e.TaskListItemChecked){f=f+(" protyle-task--done");}d=$append(d,new CB(["class",f]));}c.BaseRenderer.Tag("li",d,false);}else{c.BaseRenderer.Tag("/li",CD.nil,false);c.BaseRenderer.Newline();}return 2;};AK.prototype.renderListItem=function(a,b){return this.$val.renderListItem(a,b);};AK.ptr.prototype.renderTaskListItemMarker=function(a,b){var a,b,c,d;c=this;if(b){d=CD.nil;if(a.TaskListItemChecked){d=$append(d,new CB(["checked",""]));}d=$append(d,new CB(["disabled",""]),new CB(["type","checkbox"]));c.BaseRenderer.Tag("input",d,true);}return 2;};AK.prototype.renderTaskListItemMarker=function(a,b){return this.$val.renderTaskListItemMarker(a,b);};AK.ptr.prototype.renderThematicBreak=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Newline();c.BaseRenderer.Tag("hr",CD.nil,true);c.BaseRenderer.Newline();}return 2;};AK.prototype.renderThematicBreak=function(a,b){return this.$val.renderThematicBreak(a,b);};AK.ptr.prototype.renderHardBreak=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("br",CD.nil,true);c.BaseRenderer.Newline();}return 2;};AK.prototype.renderHardBreak=function(a,b){return this.$val.renderHardBreak(a,b);};AK.ptr.prototype.renderSoftBreak=function(a,b){var a,b,c;c=this;if(b){if(c.BaseRenderer.Options.SoftBreak2HardBreak){c.BaseRenderer.Tag("br",CD.nil,true);c.BaseRenderer.Newline();}else{c.BaseRenderer.Newline();}}return 2;};AK.prototype.renderSoftBreak=function(a,b){return this.$val.renderSoftBreak(a,b);};AK.ptr.prototype.handleKramdownBlockIAL=function(a){var a,b,c,d;b=this;if(b.BaseRenderer.Options.KramdownBlockIAL&&!("id"===b.BaseRenderer.Options.KramdownIALIDRenderName)&&0=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])),(0>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+0]=b.BaseRenderer.Options.KramdownIALIDRenderName));}};AK.prototype.handleKramdownBlockIAL=function(a){return this.$val.handleKramdownBlockIAL(a);};AN=function(a,b){var a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,av,aw,ax,ay,az,b,ba,bb,bc,bd,be,bf,bg,bh,bi,bj,bk,bl,bm,bn,bo,bp,bq,br,bs,bt,bu,bv,bw,bx,by,bz,c,ca,cb,cc,cd,ce,cf,cg,ch,ci,cj,ck,cl,cm,cn,co,cp,cq,cr,cs,ct,cu,cv,cw,cx,cy,cz,d,da,db,dc,dd,de,df,dg,dh,di,dj,dk,dl,dm,dn,dp,dq,dr,ds,dt,du,dv,dw,dx,dy,dz,e,ea,eb,ec,ed,ee,ef,eg,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=new AM.ptr(AU(a,b),b.NodeIndexStart);d=0;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(d)]={k:d,v:$methodVal(c,"renderDocument")};e=1;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(e)]={k:e,v:$methodVal(c,"renderParagraph")};f=16;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(f)]={k:f,v:$methodVal(c,"renderText")};g=27;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(g)]={k:g,v:$methodVal(c,"renderCodeSpan")};h=28;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(h)]={k:h,v:$methodVal(c,"renderCodeSpanOpenMarker")};i=29;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(i)]={k:i,v:$methodVal(c,"renderCodeSpanContent")};j=30;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(j)]={k:j,v:$methodVal(c,"renderCodeSpanCloseMarker")};k=11;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(k)]={k:k,v:$methodVal(c,"renderCodeBlock")};l=12;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(l)]={k:l,v:$methodVal(c,"renderCodeBlockOpenMarker")};m=14;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(m)]={k:m,v:$methodVal(c,"renderCodeBlockInfoMarker")};n=15;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(n)]={k:n,v:$methodVal(c,"renderCodeBlockCode")};o=13;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(o)]={k:o,v:$methodVal(c,"renderCodeBlockCloseMarker")};p=300;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(p)]={k:p,v:$methodVal(c,"renderMathBlock")};q=301;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(q)]={k:q,v:$methodVal(c,"renderMathBlockOpenMarker")};r=302;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(r)]={k:r,v:$methodVal(c,"renderMathBlockContent")};s=303;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(s)]={k:s,v:$methodVal(c,"renderMathBlockCloseMarker")};t=304;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(t)]={k:t,v:$methodVal(c,"renderInlineMath")};u=305;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(u)]={k:u,v:$methodVal(c,"renderInlineMathOpenMarker")};v=306;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(v)]={k:v,v:$methodVal(c,"renderInlineMathContent")};w=307;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(w)]={k:w,v:$methodVal(c,"renderInlineMathCloseMarker")};x=17;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(x)]={k:x,v:$methodVal(c,"renderEmphasis")};y=18;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(y)]={k:y,v:$methodVal(c,"renderEmAsteriskOpenMarker")};z=19;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(z)]={k:z,v:$methodVal(c,"renderEmAsteriskCloseMarker")};aa=20;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(aa)]={k:aa,v:$methodVal(c,"renderEmUnderscoreOpenMarker")};ab=21;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ab)]={k:ab,v:$methodVal(c,"renderEmUnderscoreCloseMarker")};ac=22;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ac)]={k:ac,v:$methodVal(c,"renderStrong")};ad=23;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ad)]={k:ad,v:$methodVal(c,"renderStrongA6kOpenMarker")};ae=24;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ae)]={k:ae,v:$methodVal(c,"renderStrongA6kCloseMarker")};af=25;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(af)]={k:af,v:$methodVal(c,"renderStrongU8eOpenMarker")};ag=26;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ag)]={k:ag,v:$methodVal(c,"renderStrongU8eCloseMarker")};ah=5;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ah)]={k:ah,v:$methodVal(c,"renderBlockquote")};ai=6;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ai)]={k:ai,v:$methodVal(c,"renderBlockquoteMarker")};aj=2;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(aj)]={k:aj,v:$methodVal(c,"renderHeading")};ak=3;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ak)]={k:ak,v:$methodVal(c,"renderHeadingC8hMarker")};al=420;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(al)]={k:al,v:$methodVal(c,"renderHeadingID")};am=7;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(am)]={k:am,v:$methodVal(c,"renderList")};an=8;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(an)]={k:an,v:$methodVal(c,"renderListItem")};ao=4;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ao)]={k:ao,v:$methodVal(c,"renderThematicBreak")};ap=31;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ap)]={k:ap,v:$methodVal(c,"renderHardBreak")};aq=32;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(aq)]={k:aq,v:$methodVal(c,"renderSoftBreak")};ar=9;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ar)]={k:ar,v:$methodVal(c,"renderHTML")};as=10;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(as)]={k:as,v:$methodVal(c,"renderInlineHTML")};at=33;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(at)]={k:at,v:$methodVal(c,"renderLink")};au=34;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(au)]={k:au,v:$methodVal(c,"renderImage")};av=35;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(av)]={k:av,v:$methodVal(c,"renderBang")};aw=36;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(aw)]={k:aw,v:$methodVal(c,"renderOpenBracket")};ax=37;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ax)]={k:ax,v:$methodVal(c,"renderCloseBracket")};ay=38;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ay)]={k:ay,v:$methodVal(c,"renderOpenParen")};az=39;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(az)]={k:az,v:$methodVal(c,"renderCloseParen")};ba=47;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ba)]={k:ba,v:$methodVal(c,"renderLess")};bb=48;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bb)]={k:bb,v:$methodVal(c,"renderGreater")};bc=466;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bc)]={k:bc,v:$methodVal(c,"renderOpenBrace")};bd=467;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bd)]={k:bd,v:$methodVal(c,"renderCloseBrace")};be=40;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(be)]={k:be,v:$methodVal(c,"renderLinkText")};bf=43;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bf)]={k:bf,v:$methodVal(c,"renderLinkSpace")};bg=41;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bg)]={k:bg,v:$methodVal(c,"renderLinkDest")};bh=42;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bh)]={k:bh,v:$methodVal(c,"renderLinkTitle")};bi=101;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bi)]={k:bi,v:$methodVal(c,"renderStrikethrough")};bj=102;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bj)]={k:bj,v:$methodVal(c,"renderStrikethrough1OpenMarker")};bk=103;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bk)]={k:bk,v:$methodVal(c,"renderStrikethrough1CloseMarker")};bl=104;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bl)]={k:bl,v:$methodVal(c,"renderStrikethrough2OpenMarker")};bm=105;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bm)]={k:bm,v:$methodVal(c,"renderStrikethrough2CloseMarker")};bn=100;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bn)]={k:bn,v:$methodVal(c,"renderTaskListItemMarker")};bo=106;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bo)]={k:bo,v:$methodVal(c,"renderTable")};bp=107;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bp)]={k:bp,v:$methodVal(c,"renderTableHead")};bq=108;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bq)]={k:bq,v:$methodVal(c,"renderTableRow")};br=109;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(br)]={k:br,v:$methodVal(c,"renderTableCell")};bs=200;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bs)]={k:bs,v:$methodVal(c,"renderEmoji")};bt=201;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bt)]={k:bt,v:$methodVal(c,"renderEmojiUnicode")};bu=202;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bu)]={k:bu,v:$methodVal(c,"renderEmojiImg")};bv=203;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bv)]={k:bv,v:$methodVal(c,"renderEmojiAlias")};bw=410;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bw)]={k:bw,v:$methodVal(c,"renderFootnotesDefBlock")};bx=411;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bx)]={k:bx,v:$methodVal(c,"renderFootnotesDef")};by=412;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(by)]={k:by,v:$methodVal(c,"renderFootnotesRef")};bz=415;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(bz)]={k:bz,v:$methodVal(c,"renderToC")};ca=400;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ca)]={k:ca,v:$methodVal(c,"renderBackslash")};cb=401;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cb)]={k:cb,v:$methodVal(c,"renderBackslashContent")};cc=44;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cc)]={k:cc,v:$methodVal(c,"renderHtmlEntity")};cd=425;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cd)]={k:cd,v:$methodVal(c,"renderYamlFrontMatter")};ce=426;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ce)]={k:ce,v:$methodVal(c,"renderYamlFrontMatterOpenMarker")};cf=427;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cf)]={k:cf,v:$methodVal(c,"renderYamlFrontMatterContent")};cg=428;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cg)]={k:cg,v:$methodVal(c,"renderYamlFrontMatterCloseMarker")};ch=430;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ch)]={k:ch,v:$methodVal(c,"renderBlockRef")};ci=431;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ci)]={k:ci,v:$methodVal(c,"renderBlockRefID")};cj=432;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cj)]={k:cj,v:$methodVal(c,"renderBlockRefSpace")};ck=433;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ck)]={k:ck,v:$methodVal(c,"renderBlockRefText")};cl=434;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cl)]={k:cl,v:$methodVal(c,"renderBlockRefDynamicText")};cm=540;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cm)]={k:cm,v:$methodVal(c,"renderFileAnnotationRef")};cn=541;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cn)]={k:cn,v:$methodVal(c,"renderFileAnnotationRefID")};co=542;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(co)]={k:co,v:$methodVal(c,"renderFileAnnotationRefSpace")};cp=543;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cp)]={k:cp,v:$methodVal(c,"renderFileAnnotationRefText")};cq=450;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cq)]={k:cq,v:$methodVal(c,"renderMark")};cr=451;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cr)]={k:cr,v:$methodVal(c,"renderMark1OpenMarker")};cs=452;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cs)]={k:cs,v:$methodVal(c,"renderMark1CloseMarker")};ct=453;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ct)]={k:ct,v:$methodVal(c,"renderMark2OpenMarker")};cu=454;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cu)]={k:cu,v:$methodVal(c,"renderMark2CloseMarker")};cv=485;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cv)]={k:cv,v:$methodVal(c,"renderSup")};cw=486;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cw)]={k:cw,v:$methodVal(c,"renderSupOpenMarker")};cx=487;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cx)]={k:cx,v:$methodVal(c,"renderSupCloseMarker")};cy=490;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cy)]={k:cy,v:$methodVal(c,"renderSub")};cz=491;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(cz)]={k:cz,v:$methodVal(c,"renderSubOpenMarker")};da=492;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(da)]={k:da,v:$methodVal(c,"renderSubCloseMarker")};db=455;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(db)]={k:db,v:$methodVal(c,"renderKramdownBlockIAL")};dc=456;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dc)]={k:dc,v:$methodVal(c,"renderKramdownSpanIAL")};dd=465;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dd)]={k:dd,v:$methodVal(c,"renderBlockQueryEmbed")};de=468;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(de)]={k:de,v:$methodVal(c,"renderBlockQueryEmbedScript")};df=460;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(df)]={k:df,v:$methodVal(c,"renderTag")};dg=461;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dg)]={k:dg,v:$methodVal(c,"renderTagOpenMarker")};dh=462;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dh)]={k:dh,v:$methodVal(c,"renderTagCloseMarker")};di=45;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(di)]={k:di,v:$methodVal(c,"renderLinkRefDefBlock")};dj=46;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dj)]={k:dj,v:$methodVal(c,"renderLinkRefDef")};dk=475;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dk)]={k:dk,v:$methodVal(c,"renderSuperBlock")};dl=476;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dl)]={k:dl,v:$methodVal(c,"renderSuperBlockOpenMarker")};dm=477;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dm)]={k:dm,v:$methodVal(c,"renderSuperBlockLayoutMarker")};dn=478;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dn)]={k:dn,v:$methodVal(c,"renderSuperBlockCloseMarker")};dp=495;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dp)]={k:dp,v:$methodVal(c,"renderGitConflict")};dq=496;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dq)]={k:dq,v:$methodVal(c,"renderGitConflictOpenMarker")};dr=497;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dr)]={k:dr,v:$methodVal(c,"renderGitConflictContent")};ds=498;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ds)]={k:ds,v:$methodVal(c,"renderGitConflictCloseMarker")};dt=500;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dt)]={k:dt,v:$methodVal(c,"renderIFrame")};du=535;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(du)]={k:du,v:$methodVal(c,"renderWidget")};dv=510;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dv)]={k:dv,v:$methodVal(c,"renderVideo")};dw=505;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dw)]={k:dw,v:$methodVal(c,"renderAudio")};dx=515;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dx)]={k:dx,v:$methodVal(c,"renderKbd")};dy=516;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dy)]={k:dy,v:$methodVal(c,"renderKbdOpenMarker")};dz=517;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(dz)]={k:dz,v:$methodVal(c,"renderKbdCloseMarker")};ea=520;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ea)]={k:ea,v:$methodVal(c,"renderUnderline")};eb=521;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(eb)]={k:eb,v:$methodVal(c,"renderUnderlineOpenMarker")};ec=522;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ec)]={k:ec,v:$methodVal(c,"renderUnderlineCloseMarker")};ed=525;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ed)]={k:ed,v:$methodVal(c,"renderBr")};ee=530;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ee)]={k:ee,v:$methodVal(c,"renderTextMark")};ef=531;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(ef)]={k:ef,v:$methodVal(c,"renderTextMarkOpenMarker")};eg=532;(c.BaseRenderer.RendererFuncs||$throwRuntimeError("assignment to entry in nil map"))[A.NodeType.keyFor(eg)]={k:eg,v:$methodVal(c,"renderTextMarkCloseMarker")};return c;};$pkg.NewBlockRenderer=AN;AM.ptr.prototype.renderTextMark=function(a,b){var a,b,c;c=this;return 2;};AM.prototype.renderTextMark=function(a,b){return this.$val.renderTextMark(a,b);};AM.ptr.prototype.renderTextMarkOpenMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.WriteString("");}return 2;};AM.prototype.renderTextMarkOpenMarker=function(a,b){return this.$val.renderTextMarkOpenMarker(a,b);};AM.ptr.prototype.renderTextMarkCloseMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.WriteString("");}return 2;};AM.prototype.renderTextMarkCloseMarker=function(a,b){return this.$val.renderTextMarkCloseMarker(a,b);};AM.ptr.prototype.renderBr=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.WriteString("
");}return 2;};AM.prototype.renderBr=function(a,b){return this.$val.renderBr(a,b);};AM.ptr.prototype.renderUnderline=function(a,b){var a,b,c;c=this;return 2;};AM.prototype.renderUnderline=function(a,b){return this.$val.renderUnderline(a,b);};AM.ptr.prototype.renderUnderlineOpenMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.WriteString("");}return 2;};AM.prototype.renderUnderlineOpenMarker=function(a,b){return this.$val.renderUnderlineOpenMarker(a,b);};AM.ptr.prototype.renderUnderlineCloseMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.WriteString("");}return 2;};AM.prototype.renderUnderlineCloseMarker=function(a,b){return this.$val.renderUnderlineCloseMarker(a,b);};AM.ptr.prototype.renderKbd=function(a,b){var a,b,c;c=this;return 2;};AM.prototype.renderKbd=function(a,b){return this.$val.renderKbd(a,b);};AM.ptr.prototype.renderKbdOpenMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.WriteString("");}return 2;};AM.prototype.renderKbdOpenMarker=function(a,b){return this.$val.renderKbdOpenMarker(a,b);};AM.ptr.prototype.renderKbdCloseMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.WriteString("");}return 2;};AM.prototype.renderKbdCloseMarker=function(a,b){return this.$val.renderKbdCloseMarker(a,b);};AM.ptr.prototype.renderBlockQueryEmbed=function(a,b){var a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:e=a.ChildByType(468);if(CE.nil===e){$s=-1;return 2;}c[0]=CD.nil;f=e.Tokens;f=B.EscapeHTML(G.ReplaceAll(f,F.CaretTokens,CC.nil));c[0]=$append(c[0],new CB(["data-content",F.BytesToStr(f)]));$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CQ(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"render-node");$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.BaseRenderer.Tag("div",c[0],false);d.renderIAL(a);d.BaseRenderer.Tag("/div",CD.nil,false);case 2:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.renderBlockQueryEmbed};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.renderBlockQueryEmbed=function(a,b){return this.$val.renderBlockQueryEmbed(a,b);};AM.ptr.prototype.renderBlockQueryEmbedScript=function(a,b){var a,b,c;c=this;return 2;};AM.prototype.renderBlockQueryEmbedScript=function(a,b){return this.$val.renderBlockQueryEmbedScript(a,b);};AM.ptr.prototype.renderVideo=function(a,b){var a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CD.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CQ(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"iframe");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.BaseRenderer.Tag("div",c[0],false);d.BaseRenderer.Tag("div",new CD([new CB(["class","iframe-content"])]),false);d.BaseRenderer.WriteString("\xE2\x80\x8B");e=G.ReplaceAll(a.Tokens,F.CaretTokens,CC.nil);if(d.BaseRenderer.Options.Sanitize){$s=5;continue;}$s=6;continue;case 5:f=BG(e);$s=7;case 7:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 6:g=d.BaseRenderer.tagSrc(e);h=d.BaseRenderer.LinkPath(g);e=d.replaceSrc(e,h,g);d.BaseRenderer.Write(e);$s=3;continue;case 2:d.BaseRenderer.Tag("span",new CD([new CB(["class","protyle-action__drag"]),new CB(["contenteditable","false"])]),false);d.BaseRenderer.Tag("/span",CD.nil,false);d.BaseRenderer.Tag("/div",CD.nil,false);d.renderIAL(a);d.BaseRenderer.Tag("/div",CD.nil,false);case 3:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.renderVideo};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.renderVideo=function(a,b){return this.$val.renderVideo(a,b);};AM.ptr.prototype.renderAudio=function(a,b){var a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CD.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CQ(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"iframe");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.BaseRenderer.Tag("div",c[0],false);d.BaseRenderer.Tag("div",new CD([new CB(["class","iframe-content"])]),false);e=G.ReplaceAll(a.Tokens,F.CaretTokens,CC.nil);if(d.BaseRenderer.Options.Sanitize){$s=5;continue;}$s=6;continue;case 5:f=BG(e);$s=7;case 7:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 6:g=d.BaseRenderer.tagSrc(e);h=d.BaseRenderer.LinkPath(g);e=d.replaceSrc(e,h,g);d.BaseRenderer.Write(e);d.BaseRenderer.WriteString("\xE2\x80\x8B");$s=3;continue;case 2:d.BaseRenderer.Tag("/div",CD.nil,false);d.renderIAL(a);d.BaseRenderer.Tag("/div",CD.nil,false);case 3:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.renderAudio};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.renderAudio=function(a,b){return this.$val.renderAudio(a,b);};AM.ptr.prototype.renderWidget=function(a,b){var a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CD.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CQ(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"iframe");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c[0]=$append(c[0],new CB(["data-subtype","widget"]));d.BaseRenderer.Tag("div",c[0],false);d.BaseRenderer.Tag("div",new CD([new CB(["class","iframe-content"])]),false);e=G.ReplaceAll(a.Tokens,F.CaretTokens,CC.nil);if(d.BaseRenderer.Options.Sanitize){$s=5;continue;}$s=6;continue;case 5:f=BG(e);$s=7;case 7:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 6:g=d.BaseRenderer.tagSrc(e);h=d.BaseRenderer.LinkPath(g);e=d.replaceSrc(e,h,g);d.BaseRenderer.Write(e);$s=3;continue;case 2:d.BaseRenderer.Tag("span",new CD([new CB(["class","protyle-action__drag"]),new CB(["contenteditable","false"])]),false);d.BaseRenderer.Tag("/span",CD.nil,false);d.BaseRenderer.Tag("/div",CD.nil,false);d.renderIAL(a);d.BaseRenderer.Tag("/div",CD.nil,false);case 3:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.renderWidget};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.renderWidget=function(a,b){return this.$val.renderWidget(a,b);};AM.ptr.prototype.renderIFrame=function(a,b){var a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CD.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CQ(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"iframe");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.BaseRenderer.Tag("div",c[0],false);d.BaseRenderer.Tag("div",new CD([new CB(["class","iframe-content"])]),false);e=G.ReplaceAll(a.Tokens,F.CaretTokens,CC.nil);if(d.BaseRenderer.Options.Sanitize){$s=5;continue;}$s=6;continue;case 5:f=BG(e);$s=7;case 7:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 6:g=d.BaseRenderer.tagSrc(e);h=d.BaseRenderer.LinkPath(g);e=d.replaceSrc(e,h,g);d.BaseRenderer.Write(e);$s=3;continue;case 2:d.BaseRenderer.Tag("span",new CD([new CB(["class","protyle-action__drag"]),new CB(["contenteditable","false"])]),false);d.BaseRenderer.Tag("/span",CD.nil,false);d.BaseRenderer.Tag("/div",CD.nil,false);d.renderIAL(a);d.BaseRenderer.Tag("/div",CD.nil,false);case 3:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.renderIFrame};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.renderIFrame=function(a,b){return this.$val.renderIFrame(a,b);};AM.ptr.prototype.replaceSrc=function(a,b,c){var a,b,c,d,e,f;d=this;e=$appendSlice((new CC($stringToBytes(" src=\""))),b);e=$appendSlice(e,(new CC($stringToBytes("\""))));f=$appendSlice((new CC($stringToBytes(" src=\""))),c);f=$appendSlice(f,(new CC($stringToBytes("\""))));if(G.Contains(a,(new CC($stringToBytes("data-src="))))){return G.ReplaceAll(a,f,e);}e=$appendSlice(e,(new CC($stringToBytes(" data-src=\""+F.BytesToStr(c)+"\""))));return G.ReplaceAll(a,f,e);};AM.prototype.replaceSrc=function(a,b,c){return this.$val.replaceSrc(a,b,c);};AM.ptr.prototype.renderBlockRef=function(a,b){var a,b,c,d,e,f,g,h,i,j,k,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.ChildByType(431);e="";f="";g=e;h=f;i=a.ChildByType(433);h="s";if(CE.nil===i){i=a.ChildByType(434);h="d";}if(!(CE.nil===i)){$s=3;continue;}$s=4;continue;case 3:j=i.Text();$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}g=j;case 4:g=c.escapeRefText(g);k=new CD([new CB(["data-type","block-ref"]),new CB(["data-subtype",h]),new CB(["data-id",d.TokensStr()])]);c.BaseRenderer.Tag("span",k,false);c.BaseRenderer.WriteString(g);c.BaseRenderer.Tag("/span",CD.nil,false);$s=-1;return 1;case 2:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.renderBlockRef};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.j=j;$f.k=k;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.renderBlockRef=function(a,b){return this.$val.renderBlockRef(a,b);};AM.ptr.prototype.escapeRefText=function(a){var a,b;b=this;a=D.ReplaceAll(a,">",">");a=D.ReplaceAll(a,"<","<");a=D.ReplaceAll(a,"\"",""");a=D.ReplaceAll(a,"'","'");return a;};AM.prototype.escapeRefText=function(a){return this.$val.escapeRefText(a);};AM.ptr.prototype.renderBlockRefID=function(a,b){var a,b,c;c=this;return 2;};AM.prototype.renderBlockRefID=function(a,b){return this.$val.renderBlockRefID(a,b);};AM.ptr.prototype.renderBlockRefSpace=function(a,b){var a,b,c;c=this;return 2;};AM.prototype.renderBlockRefSpace=function(a,b){return this.$val.renderBlockRefSpace(a,b);};AM.ptr.prototype.renderBlockRefText=function(a,b){var a,b,c;c=this;return 2;};AM.prototype.renderBlockRefText=function(a,b){return this.$val.renderBlockRefText(a,b);};AM.ptr.prototype.renderBlockRefDynamicText=function(a,b){var a,b,c;c=this;return 2;};AM.prototype.renderBlockRefDynamicText=function(a,b){return this.$val.renderBlockRefDynamicText(a,b);};AM.ptr.prototype.renderFileAnnotationRef=function(a,b){var a,b,c,d,e,f,g,h,i,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.ChildByType(541);e=d.TokensStr();f=e;g=a.ChildByType(543);if(!(CE.nil===g)){$s=3;continue;}$s=4;continue;case 3:h=g.Text();$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}f=h;case 4:f=c.escapeRefText(f);i=new CD([new CB(["data-type","file-annotation-ref"]),new CB(["data-subtype","s"]),new CB(["data-id",e])]);c.BaseRenderer.Tag("span",i,false);c.BaseRenderer.WriteString(f);c.BaseRenderer.Tag("/span",CD.nil,false);$s=-1;return 1;case 2:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.renderFileAnnotationRef};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.h=h;$f.i=i;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.renderFileAnnotationRef=function(a,b){return this.$val.renderFileAnnotationRef(a,b);};AM.ptr.prototype.renderFileAnnotationRefID=function(a,b){var a,b,c;c=this;return 2;};AM.prototype.renderFileAnnotationRefID=function(a,b){return this.$val.renderFileAnnotationRefID(a,b);};AM.ptr.prototype.renderFileAnnotationRefSpace=function(a,b){var a,b,c;c=this;return 2;};AM.prototype.renderFileAnnotationRefSpace=function(a,b){return this.$val.renderFileAnnotationRefSpace(a,b);};AM.ptr.prototype.renderFileAnnotationRefText=function(a,b){var a,b,c;c=this;return 2;};AM.prototype.renderFileAnnotationRefText=function(a,b){return this.$val.renderFileAnnotationRefText(a,b);};AM.ptr.prototype.renderGitConflictCloseMarker=function(a,b){var a,b,c;c=this;return 2;};AM.prototype.renderGitConflictCloseMarker=function(a,b){return this.$val.renderGitConflictCloseMarker(a,b);};AM.ptr.prototype.renderGitConflictContent=function(a,b){var a,b,c,d,e,f,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:c[0]=CD.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CQ(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"git-conflict");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d.BaseRenderer.Tag("div",c[0],false);c[0]=new CD([new CB(["contenteditable","false"]),new CB(["spellcheck","false"])]);d.BaseRenderer.Tag("div",c[0],false);e=G.TrimSpace(a.Tokens);$s=5;case 5:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;d.BaseRenderer.Write(B.EscapeHTML(f));$s=3;continue;case 2:d.BaseRenderer.Tag("/div",CD.nil,false);d.renderIAL(a);d.BaseRenderer.Tag("/div",CD.nil,false);case 3:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.renderGitConflictContent};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.renderGitConflictContent=function(a,b){return this.$val.renderGitConflictContent(a,b);};AM.ptr.prototype.renderGitConflictOpenMarker=function(a,b){var a,b,c;c=this;return 2;};AM.prototype.renderGitConflictOpenMarker=function(a,b){return this.$val.renderGitConflictOpenMarker(a,b);};AM.ptr.prototype.renderGitConflict=function(a,b){var a,b,c;c=this;return 2;};AM.prototype.renderGitConflict=function(a,b){return this.$val.renderGitConflict(a,b);};AM.ptr.prototype.renderTag=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.TextAutoSpacePrevious(a);}else{c.BaseRenderer.TextAutoSpaceNext(a);}return 2;};AM.prototype.renderTag=function(a,b){return this.$val.renderTag(a,b);};AM.ptr.prototype.renderTagOpenMarker=function(a,b){var a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=a.Parent.Text();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;e=D.ReplaceAll(e,"\xE2\x80\xB8","");c.BaseRenderer.Tag("span",new CD([new CB(["data-type","tag"]),new CB(["data-content",B.EscapeHTMLStr(e)])]),false);case 2:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.renderTagOpenMarker};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.renderTagOpenMarker=function(a,b){return this.$val.renderTagOpenMarker(a,b);};AM.ptr.prototype.renderTagCloseMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("/span",CD.nil,false);}return 2;};AM.prototype.renderTagCloseMarker=function(a,b){return this.$val.renderTagCloseMarker(a,b);};AM.ptr.prototype.renderSuperBlock=function(a,b){var a,b,c,d,e,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=[c];d=this;if(b){$s=1;continue;}$s=2;continue;case 1:if(CE.nil===a.FirstChild){$s=-1;return 2;}c[0]=CD.nil;$r=d.blockNodeAttrs(a,(c.$ptr||(c.$ptr=new CQ(function(){return this.$target[0];},function($v){this.$target[0]=$v;},c))),"sb");$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=a.FirstChild.Next.TokensStr();if(""===e){e="row";}c[0]=$append(c[0],new CB(["data-sb-layout",e]));d.BaseRenderer.Tag("div",c[0],false);$s=3;continue;case 2:d.renderIAL(a);d.BaseRenderer.Tag("/div",CD.nil,false);case 3:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.renderSuperBlock};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.renderSuperBlock=function(a,b){return this.$val.renderSuperBlock(a,b);};AM.ptr.prototype.renderSuperBlockOpenMarker=function(a,b){var a,b,c;c=this;return 2;};AM.prototype.renderSuperBlockOpenMarker=function(a,b){return this.$val.renderSuperBlockOpenMarker(a,b);};AM.ptr.prototype.renderSuperBlockLayoutMarker=function(a,b){var a,b,c;c=this;return 2;};AM.prototype.renderSuperBlockLayoutMarker=function(a,b){return this.$val.renderSuperBlockLayoutMarker(a,b);};AM.ptr.prototype.renderSuperBlockCloseMarker=function(a,b){var a,b,c;c=this;return 2;};AM.prototype.renderSuperBlockCloseMarker=function(a,b){return this.$val.renderSuperBlockCloseMarker(a,b);};AM.ptr.prototype.renderLinkRefDefBlock=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.WriteString("");}else{c.BaseRenderer.WriteString("");}return 2;};AM.prototype.renderLinkRefDefBlock=function(a,b){return this.$val.renderLinkRefDefBlock(a,b);};AM.ptr.prototype.renderLinkRefDef=function(a,b){var a,b,c,d,e;c=this;if(b){if(CE.nil===a.FirstChild){return 2;}d=a.FirstChild.ChildByType(41).Tokens;e=F.BytesToStr(d);c.BaseRenderer.WriteString("["+F.BytesToStr(a.Tokens)+"]:");if(!("\xE2\x80\xB8"===e)){c.BaseRenderer.WriteString(" ");}c.BaseRenderer.WriteString(e+"\n");}return 1;};AM.prototype.renderLinkRefDef=function(a,b){return this.$val.renderLinkRefDef(a,b);};AM.ptr.prototype.renderKramdownBlockIAL=function(a,b){var a,b,c;c=this;return 2;};AM.prototype.renderKramdownBlockIAL=function(a,b){return this.$val.renderKramdownBlockIAL(a,b);};AM.ptr.prototype.renderKramdownSpanIAL=function(a,b){var a,b,c;c=this;return 2;};AM.prototype.renderKramdownSpanIAL=function(a,b){return this.$val.renderKramdownSpanIAL(a,b);};AM.ptr.prototype.renderMark=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.TextAutoSpacePrevious(a);}else{c.BaseRenderer.TextAutoSpaceNext(a);}return 2;};AM.prototype.renderMark=function(a,b){return this.$val.renderMark(a,b);};AM.ptr.prototype.renderMark1OpenMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("mark",CD.nil,false);}return 2;};AM.prototype.renderMark1OpenMarker=function(a,b){return this.$val.renderMark1OpenMarker(a,b);};AM.ptr.prototype.renderMark1CloseMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("/mark",CD.nil,false);}return 2;};AM.prototype.renderMark1CloseMarker=function(a,b){return this.$val.renderMark1CloseMarker(a,b);};AM.ptr.prototype.renderMark2OpenMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("mark",CD.nil,false);}return 2;};AM.prototype.renderMark2OpenMarker=function(a,b){return this.$val.renderMark2OpenMarker(a,b);};AM.ptr.prototype.renderMark2CloseMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("/mark",CD.nil,false);}return 2;};AM.prototype.renderMark2CloseMarker=function(a,b){return this.$val.renderMark2CloseMarker(a,b);};AM.ptr.prototype.renderSup=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.TextAutoSpacePrevious(a);}else{c.BaseRenderer.TextAutoSpaceNext(a);}return 2;};AM.prototype.renderSup=function(a,b){return this.$val.renderSup(a,b);};AM.ptr.prototype.renderSupOpenMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("sup",CD.nil,false);}return 2;};AM.prototype.renderSupOpenMarker=function(a,b){return this.$val.renderSupOpenMarker(a,b);};AM.ptr.prototype.renderSupCloseMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("/sup",CD.nil,false);}return 2;};AM.prototype.renderSupCloseMarker=function(a,b){return this.$val.renderSupCloseMarker(a,b);};AM.ptr.prototype.renderSub=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.TextAutoSpacePrevious(a);}else{c.BaseRenderer.TextAutoSpaceNext(a);}return 2;};AM.prototype.renderSub=function(a,b){return this.$val.renderSub(a,b);};AM.ptr.prototype.renderSubOpenMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("sub",CD.nil,false);}return 2;};AM.prototype.renderSubOpenMarker=function(a,b){return this.$val.renderSubOpenMarker(a,b);};AM.ptr.prototype.renderSubCloseMarker=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.Tag("/sub",CD.nil,false);}return 2;};AM.prototype.renderSubCloseMarker=function(a,b){return this.$val.renderSubCloseMarker(a,b);};AM.ptr.prototype.renderYamlFrontMatterCloseMarker=function(a,b){var a,b,c;c=this;return 2;};AM.prototype.renderYamlFrontMatterCloseMarker=function(a,b){return this.$val.renderYamlFrontMatterCloseMarker(a,b);};AM.ptr.prototype.renderYamlFrontMatterContent=function(a,b){var a,b,c,d,e,f,g,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=G.TrimSpace(a.Tokens);$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=e.$length;g=1>f||((3===f)&&"\xE2\x80\xB8"===($bytesToString(a.Tokens)));c.BaseRenderer.Tag("pre",CD.nil,false);c.BaseRenderer.Tag("code",new CD([new CB(["data-type","yaml-front-matter"])]),false);if(g){c.BaseRenderer.WriteString("\n");}else{c.BaseRenderer.Write(B.EscapeHTML(e));}c.BaseRenderer.WriteString("
");case 2:$s=-1;return 2;}return;}if($f===undefined){$f={$blk:AM.ptr.prototype.renderYamlFrontMatterContent};}$f.a=a;$f.b=b;$f.c=c;$f.d=d;$f.e=e;$f.f=f;$f.g=g;$f.$s=$s;$f.$r=$r;return $f;};AM.prototype.renderYamlFrontMatterContent=function(a,b){return this.$val.renderYamlFrontMatterContent(a,b);};AM.ptr.prototype.renderYamlFrontMatterOpenMarker=function(a,b){var a,b,c;c=this;return 2;};AM.prototype.renderYamlFrontMatterOpenMarker=function(a,b){return this.$val.renderYamlFrontMatterOpenMarker(a,b);};AM.ptr.prototype.renderYamlFrontMatter=function(a,b){var a,b,c;c=this;if(b){c.BaseRenderer.WriteString("");b[0].Write(B.EscapeHTML(d.Tokens));b[0].WriteString("
");}else if(f===(16)){if(d.ParentIs(22,new CK([]))){b[0].WriteString("");b[0].Write(B.EscapeHTML(d.Tokens));b[0].WriteString("");}else if(d.ParentIs(17,new CK([]))){b[0].WriteString("");b[0].Write(B.EscapeHTML(d.Tokens));b[0].WriteString("");}else{if(!(CE.nil===d.Previous)&&(10===d.Previous.Type)){if(G.HasPrefix(d.Previous.Tokens,(new CC($stringToBytes(""))))){b[0].Write(d.Next.Tokens);}}else{b[0].Write(B.EscapeHTML(d.Tokens));}}}return 2;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=b[0].String();$s=-1;return c;}return;}if($f===undefined){$f={$blk:BB};}$f.a=a;$f.b=b;$f.c=c;$f.$s=$s;$f.$r=$r;return $f;};AT.ptr.prototype.setextHeadingLen=function(a){var a,b,c,d,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:b=[b];c=0;d=this;b[0]=new G.Buffer.ptr(CC.nil,0,0);$r=A.Walk(a,(function(b){return function(e,f){var e,f;if(((16===e.Type)||(40===e.Type)||(32===e.Type))&&f){b[0].Write(e.Tokens);}return 2;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=b[0].String();e=D.ReplaceAll(e,"\xE2\x80\xB8","");f=D.Split(e,"\n");h=(g=f.$length-1>>0,((g<0||g>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]));i=h;j=0;while(true){if(!(j");}else{c.BaseRenderer.WriteString("");}return 2;};BV.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BV.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};BV.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};BV.ptr.prototype.renderHeading=function(a,b){var a,b,c,d,e,f,g,h,i,j,k,l,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;i=$f.i;j=$f.j;k=$f.k;l=$f.l;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:d=c.Text(a);$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=a.ChildByType(420);if(D.Contains(e,"\xE2\x80\xB8")||(!(CE.nil===f)&&G.Contains(f.Tokens,F.CaretTokens))){c.BaseRenderer.WriteString("
");c.BaseRenderer.Tag("code",CD.nil,false);c.BaseRenderer.Write(B.EscapeHTML(e));c.BaseRenderer.WriteString("");c.BaseRenderer.Tag("pre",new CD([new CB(["class","vditor-wysiwyg__preview"]),new CB(["data-render","2"])]),false);e=G.ReplaceAll(e,F.CaretTokens,CC.nil);if(c.BaseRenderer.Options.Sanitize){$s=2;continue;}$s=3;continue;case 2:f=BG(e);$s=4;case 4:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;case 3:c.BaseRenderer.Write(e);c.BaseRenderer.WriteString("
");}else{c.BaseRenderer.WriteString("");}return 2;};BZ.prototype.renderBlockquote=function(a,b){return this.$val.renderBlockquote(a,b);};BZ.ptr.prototype.renderBlockquoteMarker=function(a,b){var a,b,c;c=this;return 2;};BZ.prototype.renderBlockquoteMarker=function(a,b){return this.$val.renderBlockquoteMarker(a,b);};BZ.ptr.prototype.renderHeading=function(a,b){var a,b,c,d,e,f,g,h,$s,$r;$s=0;var $f,$c=false;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;a=$f.a;b=$f.b;c=$f.c;d=$f.d;e=$f.e;f=$f.f;g=$f.g;h=$f.h;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:c=this;if(b){$s=1;continue;}$s=2;continue;case 1:c.BaseRenderer.WriteString("