From 019dc0c2f23a309a9b075a38e9bbeb4e8d597654 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Thu, 12 Sep 2024 11:17:42 +0800 Subject: [PATCH] :art: Protyle Improve inline element editing https://github.com/siyuan-note/siyuan/issues/12234 --- javascript/lute.min.js | 4 ++-- javascript/lute.min.js.map | 2 +- parse/inline_html.go | 23 ++++++++++------------- test/spin_block_test.go | 1 + util/html.go | 2 +- 5 files changed, 15 insertions(+), 17 deletions(-) diff --git a/javascript/lute.min.js b/javascript/lute.min.js index f1d0e7734b..77d69e0ef7 100644 --- a/javascript/lute.min.js +++ b/javascript/lute.min.js @@ -48,10 +48,10 @@ $packages["bufio"]=(function(){var $pkg={},$init,A,B,C,E,D,U,Z,AD,S,T,V,W;A=$pac $packages["github.com/88250/lute/html/atom"]=(function(){var $pkg={},$init,B,A,C,D,E,F;B=$pkg.Atom=$newType(4,$kindUint32,"atom.Atom",true,"github.com/88250/lute/html/atom",true,null);B.prototype.String=function(){var a,b,c;a=this.$val;b=(((a>>>8>>>0)>>>0));c=((((a&255)>>>0)>>>0));if((b+c>>>0)>1834){return"";}return $substring("abbradiogrouparamainavalueaccept-charsetbodyaccesskeygenobrbasefontimeupdateviacacheightmlabelooptgroupatternoembedetailsampictureversedfnoframesetdirnameterowspanomoduleacronymalignmarkbdialogallowpaymentrequestrikeytypeallowusermediagroupingaltfooterubyasyncanvasidefaultitleaudioncancelautofocusandboxmplaceholderautoplaysinlinebdoncanplaythrough1bgsoundisabledivarbigblinkindraggablegendblockquotebuttonabortcitempropenoncecolgrouplaintextrackcolorcolspannotation-xmlcommandcontrolshapecoordslotranslatecrossoriginsmallowfullscreenoscriptfacenterfieldsetfigcaptionafterprintegrityfigurequiredforeignObjectforeignobjectformactionautocompleteerrorformenctypemustmatchallengeformmethodformnovalidatetimeformtargethgrouposterhiddenhigh2hreflanghttp-equivideonclickiframeimageimglyph3isindexismappletitemtypemarqueematheadersortedmaxlength4minlength5mtextareadonlymultiplemutedoncloseamlessourceoncontextmenuitemidoncopyoncuechangeoncutondblclickondragendondragenterondragexitemreferrerpolicyondragleaveondragoverondragstarticleondropzonemptiedondurationchangeonendedonerroronfocuspaceronhashchangeoninputmodeloninvalidonkeydownloadonkeypresspellcheckedonkeyupreloadonlanguagechangeonloadeddatalistingonloadedmetadatabindexonloadendonloadstartonmessageerroronmousedownonmouseenteronmouseleaveonmousemoveonmouseoutputonmouseoveronmouseupromptonmousewheelonofflineononlineonpagehidesclassectionbluronpageshowbronpastepublicontenteditableonpausemaponplayingonpopstateonprogressrcdocodeferonratechangeonrejectionhandledonresetonresizesrclangonscrollonsecuritypolicyviolationauxclickonseekedonseekingonselectedonshowidth6onsortableonstalledonstorageonsubmitemscopedonsuspendontoggleonunhandledrejectionbeforeprintonunloadonvolumechangeonwaitingonwheeloptimumanifestrongoptionbeforeunloaddressrcsetstylesummarysupsvgsystemplateworkertypewrap",b,(b+c>>>0));};$ptrType(B).prototype.String=function(){return new B(this.$get()).String();};B.prototype.string=function(){var a;a=this.$val;return $substring("abbradiogrouparamainavalueaccept-charsetbodyaccesskeygenobrbasefontimeupdateviacacheightmlabelooptgroupatternoembedetailsampictureversedfnoframesetdirnameterowspanomoduleacronymalignmarkbdialogallowpaymentrequestrikeytypeallowusermediagroupingaltfooterubyasyncanvasidefaultitleaudioncancelautofocusandboxmplaceholderautoplaysinlinebdoncanplaythrough1bgsoundisabledivarbigblinkindraggablegendblockquotebuttonabortcitempropenoncecolgrouplaintextrackcolorcolspannotation-xmlcommandcontrolshapecoordslotranslatecrossoriginsmallowfullscreenoscriptfacenterfieldsetfigcaptionafterprintegrityfigurequiredforeignObjectforeignobjectformactionautocompleteerrorformenctypemustmatchallengeformmethodformnovalidatetimeformtargethgrouposterhiddenhigh2hreflanghttp-equivideonclickiframeimageimglyph3isindexismappletitemtypemarqueematheadersortedmaxlength4minlength5mtextareadonlymultiplemutedoncloseamlessourceoncontextmenuitemidoncopyoncuechangeoncutondblclickondragendondragenterondragexitemreferrerpolicyondragleaveondragoverondragstarticleondropzonemptiedondurationchangeonendedonerroronfocuspaceronhashchangeoninputmodeloninvalidonkeydownloadonkeypresspellcheckedonkeyupreloadonlanguagechangeonloadeddatalistingonloadedmetadatabindexonloadendonloadstartonmessageerroronmousedownonmouseenteronmouseleaveonmousemoveonmouseoutputonmouseoveronmouseupromptonmousewheelonofflineononlineonpagehidesclassectionbluronpageshowbronpastepublicontenteditableonpausemaponplayingonpopstateonprogressrcdocodeferonratechangeonrejectionhandledonresetonresizesrclangonscrollonsecuritypolicyviolationauxclickonseekedonseekingonselectedonshowidth6onsortableonstalledonstorageonsubmitemscopedonsuspendontoggleonunhandledrejectionbeforeprintonunloadonvolumechangeonwaitingonwheeloptimumanifestrongoptionbeforeunloaddressrcsetstylesummarysupsvgsystemplateworkertypewrap",(a>>>8>>>0),((a>>>8>>>0)+((a&255)>>>0)>>>0));};$ptrType(B).prototype.string=function(){return new B(this.$get()).string();};C=function(a,b){var a,b,c,d,e;c=b;d=0;while(true){if(!(d=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+e])>>>0))))>>>0;a=$imul(a,(16777619))>>>0;d++;}return a;};D=function(a,b){var a,b,c,d,e,f;c=b;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(!((a.charCodeAt(e)===f))){return false;}d++;}return true;};E=function(a){var a,b,c,d,e,f;if((a.$length===0)||a.$length>25){return 0;}b=C(2177757454,a);d=(c=(b&511)>>>0,((c<0||c>=A.length)?($throwRuntimeError("index out of range"),undefined):A[c]));if((((((d&255)>>>0)>>0))===a.$length)&&D(new B(d).string(),a)){return d;}f=(e=(((b>>>16>>>0))&511)>>>0,((e<0||e>=A.length)?($throwRuntimeError("index out of range"),undefined):A[e]));if((((((f&255)>>>0)>>0))===a.$length)&&D(new B(f).string(),a)){return f;}return 0;};$pkg.Lookup=E;F=function(a){var a,b;b=E(a);if(!((b===0))){return new B(b).String();}return($bytesToString(a));};$pkg.String=F;B.methods=[{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)},{prop:"string",name:"string",pkg:"github.com/88250/lute/html/atom",typ:$funcType([],[$String],false)}];$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:A=$toNativeArray($kindUint32,[0,58890,189444,0,11273,35592,0,408072,463110,0,411909,0,166155,79618,235275,0,84739,70917,96777,0,192773,176386,231172,184070,0,62982,174086,178184,103687,17934,65285,302342,0,71944,403720,197125,382994,0,95236,335110,209156,327436,360199,369673,115719,0,0,114437,390404,190474,0,1537,350474,429076,0,272903,0,0,15112,0,0,0,0,4867,96004,218888,198662,0,45570,0,185606,462339,361220,147209,361990,0,109315,100106,216834,0,375048,390405,214274,0,0,0,208901,54791,374538,281353,241929,0,0,238085,276230,109320,0,0,91394,0,0,15362,346121,210694,0,298256,0,0,277772,38404,62725,352516,212227,0,125446,199938,452366,39940,408582,38917,232198,343052,376838,0,0,113157,0,204552,0,0,41986,269064,209159,379916,395289,0,304392,321547,126724,307216,6662,157702,0,0,0,439054,8455,161299,49427,10244,68103,408584,138756,124165,0,427016,0,0,412418,46596,0,2817,0,0,437000,23812,91144,0,0,0,271111,45066,0,424713,217349,413446,105736,0,0,422153,94981,0,241926,42754,159236,76039,35589,5381,418313,0,0,43527,104962,0,514,140808,167949,41480,27655,433677,102662,193799,459783,0,0,64260,353285,259083,143623,0,0,0,56590,315147,0,0,0,92931,305412,208388,281349,0,0,256522,187906,0,111113,0,324364,0,0,293127,290819,0,220936,47619,212233,52993,401162,0,359427,0,15108,451334,0,267024,0,35080,0,263432,0,423173,32776,244235,260613,77571,391431,198403,0,0,257,152579,67333,280839,218628,173066,468484,0,146434,289546,26626,0,214786,222981,62211,378116,28162,247050,0,40708,0,448264,231176,363271,0,442633,0,312841,0,228877,0,355590,261127,37635,61188,150536,283913,45317,0,363012,412930,115716,142858,286217,420616,85257,461571,3073,0,264713,233734,105476,239370,0,330507,0,421123,296707,24328,0,0,0,39943,227334,136712,107268,132099,152589,371978,0,167175,161294,217608,0,161804,87810,122376,67842,0,144908,0,155917,206599,367111,386562,20998,214787,37639,127497,22020,214793,296455,463880,253707,14850,0,376835,449798,0,30724,455431,348424,0,78091,181254,132613,444935,117002,291850,29191,66310,73993,3077,0,287496,283139,224263,47363,203014,188420,389384,0,302348,0,52226,180234,69637,458501,53766,368134,195590,4100,0,31495,0,0,202245,0,304388,22789,0,250126,87554,0,341510,354311,0,446727,187140,89090,416009,93443,16900,0,422914,209158,317961,108037,159242,139270,14084,365829,305415,98566,0,170761,149510,58885,0,0,55556,16132,317966,225544,34563,378629,49923,104963,336651,176650,465930,0,249095,0,0,1,202755,16396,89607,12806,9989,0,0,410630,0,9473,26119,0,0,0,85264,0,186114,456966,94211,0,413960,294919,0,369670,0,309252,262918,0,393224,129803,357130,4,37378,363279,160262,81931,274695,188424,0,333322,387591,80904,405769,0,423174,0,778,0,229387,339465,0,182790,133135,310792,0,0,200455,6670,175630,0,0,117006,28165,137222,47878,120583]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["github.com/88250/lute/lex"]=(function(){var $pkg={},$init,A,B,C,AN,AP,AQ,AR,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,AA,AB,AC,AD,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AO;A=$packages["bytes"];B=$packages["unicode"];C=$packages["unicode/utf8"];AN=$pkg.Lexer=$newType(0,$kindStruct,"lex.Lexer",true,"github.com/88250/lute/lex",true,function(input_,length_,offset_,width_){this.$val=this;if(arguments.length===0){this.input=AP.nil;this.length=0;this.offset=0;this.width=0;return;}this.input=input_;this.length=length_;this.offset=offset_;this.width=width_;});AP=$sliceType($Uint8);AQ=$sliceType(AP);AR=$ptrType(AN);D=function(a){var a;return(32===a)||(10===a)||(9===a)||(11===a)||(12===a)||(13===a);};$pkg.IsWhitespace=D;E=function(a){var a;return B.IsSpace(a)||B.Is(B.Zs,a);};$pkg.IsUnicodeWhitespace=E;F=function(a){var a;return 48<=a&&57>=a;};$pkg.IsDigit=F;G=function(a){var a;return F(a)||a>=97&&a<=102||a>=65&&a<=70;};$pkg.IsHexDigit=G;H=function(a){var a;if(a>=97&&a<=122){return(a-97<<24>>>24)+65<<24>>>24;}return a;};$pkg.TokenToUpper=H;I=function(a){var a;return(33<=a&&47>=a)||(58<=a&&64>=a)||(91<=a&&96>=a)||(123<=a&&126>=a);};$pkg.IsASCIIPunct=I;J=function(a){var a;return(65<=a&&90>=a)||(97<=a&&122>=a);};$pkg.IsASCIILetter=J;K=function(a){var a;return(65<=a&&90>=a)||(97<=a&&122>=a)||(48<=a&&57>=a);};$pkg.IsASCIILetterNum=K;L=function(a){var a,b,c,d;b=a;c=0;while(true){if(!(c=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c]);if(!K(d)){return false;}c++;}return true;};$pkg.IsASCIILetterNums=L;M=function(a){var a;return(65<=a&&90>=a)||(97<=a&&122>=a)||(48<=a&&57>=a)||(45===a);};$pkg.IsASCIILetterNumHyphen=M;N=function(a){var a;return B.IsControl(((a>>0)));};$pkg.IsControl=N;O=function(a){var a,b,c,d;b=a;c=0;while(true){if(!(c=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c]);if(!((32===d))){return false;}c++;}return true;};$pkg.IsBlank=O;P=function(a,b){var a,b,c,d,e,f,g;c=AQ.nil;d=a.$length;e=0;f=0;g=AP.nil;while(true){if(!(e=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+e]);if(!((b===f))){g=$append(g,f);e=e+(1)>>0;continue;}c=$append(c,g);g=new AP([]);e=e+(1)>>0;}if(0=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+g]);if(!((b===e))||AC(a,g)){f=$append(f,e);g=g+(1)>>0;continue;}c=$append(c,f);f=new AP([]);g=g+(1)>>0;}if(0=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if(g===b){((f<0||f>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+f]=c);}e++;}return a;};$pkg.ReplaceAll=R;S=function(a){var a,b,c,d,e;b=a.$length;c=0;d=b-1>>0;while(true){if(!(0<=d)){break;}c=((d<0||d>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+d]);if(!((10===c))&&!((32===c))){break;}if((10===(e=d-1>>0,((e<0||e>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+e])))&&((32===c)||(10===c))){a=$subslice(a,0,d);}d=d-(1)>>0;}return a;};$pkg.ReplaceNewlineSpace=S;T=function(a){var a,b,c;b=AP.nil;c=U(a);b=c[2];return b;};$pkg.TrimWhitespace=T;U=function(a){var a,b,c,d,e,f,g,h,i,j,k,l;b=AP.nil;c=AP.nil;d=AP.nil;e=a.$length;if(0===e){f=AP.nil;g=AP.nil;h=a;b=f;c=g;d=h;return[b,c,d];}i=0;j=e-1>>0;k=i;l=j;while(true){if(!(k=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+k]))){break;}k=k+(1)>>0;}b=$subslice(a,0,k);if(k===e){k=k-(1)>>0;}while(true){if(!(0<=l)){break;}if(!D(((l<0||l>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+l]))){break;}l=l-(1)>>0;}if(l>0;}if(0>0),e);}d=$subslice(a,k,(l+1>>0));return[b,c,d];};$pkg.Trim=U;V=function(a){var a,b,c,d,e,f,g,h,i;b=AP.nil;c=AP.nil;d=a.$length;if(1>d){e=AP.nil;f=a;b=e;c=f;return[b,c];}g=d-1>>0;while(true){if(!(0<=g)){break;}if(!D(((g<0||g>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+g]))){break;}b=$append(b,((g<0||g>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+g]));g=g-(1)>>0;}h=b;i=$subslice(a,0,(g+1>>0));b=h;c=i;return[b,c];};$pkg.TrimRight=V;W=function(a){var a,b,c,d,e,f,g,h,i;b=AP.nil;c=AP.nil;d=a.$length;if(1>d){e=AP.nil;f=a;b=e;c=f;return[b,c];}g=0;while(true){if(!(g=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+g]))){break;}b=$append(b,((g<0||g>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+g]));g=g+(1)>>0;}h=b;i=$subslice(a,g);b=h;c=i;return[b,c];};$pkg.TrimLeft=W;X=function(a,b){var a,b,c,d;c=0;d=a.$length;while(true){if(!(c=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+c])))){break;}c=c+(1)>>0;}return c;};$pkg.Accept=X;Y=function(a,b){var a,b,c,d,e,f,g,h,i;c=0;d=a.$length;e=b.$length;f=0;while(true){if(!(f=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+h]);c=Z(g,i);if(0<=c){return c;}h=h+(1)>>0;}f=f+(1)>>0;}c=-1;return c;};$pkg.AcceptTokenss=Y;Z=function(a,b){var a,b,c,d;c=0;d=b.$length;while(true){if(!(c=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c])===((c<0||c>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+c])))){c=-1;return c;}c=c+(1)>>0;}return c;};$pkg.AcceptTokens=Z;AA=function(a){var a,b,c,d;b=a;c=0;while(true){if(!(c=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c]);if(!((32===d))&&!((9===d))&&!((10===d))){return false;}c++;}return true;};$pkg.IsBlankLine=AA;AB=function(a){var a,b,c,d,e,f,g;b=AQ.nil;c=0;b=$append(b,new AP([]));d=false;e=a;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if(D(g)){if(!d){c=c+(1)>>0;b=$append(b,new AP([]));}d=true;}else{((c<0||c>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c]=$append(((c<0||c>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c]),g));d=false;}f++;}return b;};$pkg.SplitWhitespace=AB;AC=function(a,b){var a,b,c,d,e;if(!I(((b<0||b>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+b]))){return false;}c=0;d=b-1>>0;while(true){if(!(0<=d)){break;}if(!((92===((d<0||d>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+d])))){break;}c=c+(1)>>0;d=d-(1)>>0;}return!((0===(e=c%2,e===e?e:$throwRuntimeError("integer divide by zero"))));};$pkg.IsBackslashEscapePunct=AC;AD=function(a){var a,b,c,d,e,f,g;b=0;c=0;d=0;e=a;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if(10===g){b=b+(1)>>0;}else if(32===g){c=c+(1)>>0;}else if(9===g){d=d+(1)>>0;}f++;}return[b,c,d];};$pkg.StatWhitespace=AD;AE=function(a){var a,b,c,d,e,f,g,h,i,j;b=false;c=AP.nil;d=AP.nil;e=W(a);c=e[0];d=e[1];f=AD(c);g=f[0];if(1=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+b]);}return 0;};$pkg.Peek=AF;AG=function(a){var a,b,c;b=0;c=0;while(true){if(!(c=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+c])&192)>>>0))===128))){if(((c<0||c>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+c])<127){b=b+(1)>>0;}else{b=b+(2)>>0;}}c=c+(1)>>0;}return b;};$pkg.BytesShowLength=AG;AH=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=new A.Buffer.ptr(AP.nil,0,0);c=0;d=0;e=0;case 1:if(!(e>0;}else{d=0;}i=b.WriteByte(f);$s=11;case 11:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;e=e+(1)>>0;$s=1;continue;case 2:$s=-1;return b.String();}return;}var $f={$blk:AH,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};$pkg.RepeatBackslashBeforePipe=AH;AI=function(a){var a,b,c;b=0;while(true){if(!(b=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+b]))){c=$appendSlice(new AP([92]),$subslice(a,b));a=$subslice(a,0,b);a=$appendSlice(a,c);b=b+(1)>>0;}b=b+(1)>>0;}return a;};$pkg.EscapeCommonMarkers=AI;AJ=function(a){var a,b,c;b=0;while(true){if(!(b=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+b]))){c=$appendSlice(new AP([92]),$subslice(a,b));a=$subslice(a,0,b);a=$appendSlice(a,c);b=b+(1)>>0;}b=b+(1)>>0;}return a;};$pkg.EscapeProtyleMarkers=AJ;AK=function(a){var a,b;b=a;if((b===(42))||(b===(95))||(b===(92))||(b===(96))||(b===(126))||(b===(36))){return true;}else{return false;}};$pkg.IsCommonInlineMarker=AK;AL=function(a){var a,b;b=a;if((b===(42))||(b===(95))||(b===(92))||(b===(96))||(b===(126))||(b===(36))||(b===(61))||(b===(94))||(b===(60))||(b===(62))){return true;}else{return false;}};$pkg.IsProtyleInlineMarker=AL;AM=function(a){var a,b;b=a;if((b===(42))||(b===(95))||(b===(91))||(b===(33))||(b===(10))||(b===(92))||(b===(96))||(b===(60))||(b===(93))||(b===(38))||(b===(126))||(b===(36))||(b===(123))||(b===(40))||(b===(61))||(b===(35))){return true;}else{return false;}};$pkg.IsMarker=AM;AO=function(a){var a,b,c,d;b=AR.nil;b=new AN.ptr(a,a.$length,0,0);if(0>0,((d<0||d>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]))))){b.input=$append(b.input,10);b.length=b.length+(1)>>0;}return b;};$pkg.NewLexer=AO;AN.ptr.prototype.NextLine=function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u;a=AP.nil;b=this;if(b.offset>=b.length){return a;}c=0;d=0;e=c;f=d;g=b.offset;while(true){if(!(g=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+g]));if(10===e){g=g+(1)>>0;break;}else if(13===e){if(g<(b.length-1>>0)){f=(i=b.input,j=g+1>>0,((j<0||j>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+j]));if(10===f){b.input=$appendSlice($subslice(b.input,0,g),$subslice(b.input,(g+1>>0)));b.length=b.length-(1)>>0;}else{(k=b.input,((g<0||g>=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+g]=10));}}else{(l=b.input,((g<0||g>=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+g]=10));}g=g+(1)>>0;break;}else if(0===e){b.input=$append(b.input,0,0);$copySlice($subslice(b.input,(g+2>>0)),$subslice(b.input,g));m=239;n=191;o=189;(p=b.input,((g<0||g>=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+g]=m));(q=b.input,r=g+1>>0,((r<0||r>=q.$length)?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+r]=n));(s=b.input,t=g+2>>0,((t<0||t>=s.$length)?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+t]=o));b.length=b.length+(2)>>0;b.width=3;g=g+(b.width)>>0;continue;}if(128<=e){u=C.DecodeRune($subslice(b.input,g));b.width=u[1];}else{b.width=1;}g=g+(b.width)>>0;}a=$subslice(b.input,b.offset,g);b.offset=g;return a;};AN.prototype.NextLine=function(){return this.$val.NextLine();};AR.methods=[{prop:"NextLine",name:"NextLine",pkg:"",typ:$funcType([],[AP],false)}];AN.init("github.com/88250/lute/lex",[{prop:"input",name:"input",embedded:false,exported:false,typ:AP,tag:""},{prop:"length",name:"length",embedded:false,exported:false,typ:$Int,tag:""},{prop:"offset",name:"offset",embedded:false,exported:false,typ:$Int,tag:""},{prop:"width",name:"width",embedded:false,exported:false,typ:$Int,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=A.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["github.com/88250/lute/html"]=(function(){var $pkg={},$init,J,E,F,H,I,D,G,A,B,C,O,P,Q,R,S,Z,AG,AI,AJ,BK,BO,BQ,BS,BT,DC,DD,DE,DF,DG,DH,DI,DJ,DK,DL,DM,DN,DO,DP,DQ,DR,V,W,AB,AF,AH,BP,DB,BY,BZ,CA,CB,CC,CD,CE,CF,CQ,CY,CZ,K,L,M,N,T,U,X,Y,AA,AC,AD,AE,AK,AL,AM,AN,AO,AP,AQ,AR,AS,AT,AU,AV,AW,AX,AY,AZ,BA,BB,BC,BD,BE,BF,BG,BH,BI,BJ,BM,BN,BR,BU,BV,BW,BX,CG,CH,CI,CJ,CK,CL,CM,CR,CS,CT,CU,CV,CW,CX,DA;J=$packages["bufio"];E=$packages["bytes"];F=$packages["errors"];H=$packages["github.com/88250/lute/editor"];I=$packages["github.com/88250/lute/html/atom"];D=$packages["github.com/88250/lute/lex"];G=$packages["io"];A=$packages["strconv"];B=$packages["strings"];C=$packages["unicode/utf8"];O=$pkg.TokenType=$newType(4,$kindUint32,"html.TokenType",true,"github.com/88250/lute/html",true,null);P=$pkg.Attribute=$newType(0,$kindStruct,"html.Attribute",true,"github.com/88250/lute/html",true,function(Namespace_,Key_,Val_){this.$val=this;if(arguments.length===0){this.Namespace="";this.Key="";this.Val="";return;}this.Namespace=Namespace_;this.Key=Key_;this.Val=Val_;});Q=$pkg.Token=$newType(0,$kindStruct,"html.Token",true,"github.com/88250/lute/html",true,function(Type_,DataAtom_,Data_,Attr_){this.$val=this;if(arguments.length===0){this.Type=0;this.DataAtom=0;this.Data="";this.Attr=DG.nil;return;}this.Type=Type_;this.DataAtom=DataAtom_;this.Data=Data_;this.Attr=Attr_;});R=$pkg.span=$newType(0,$kindStruct,"html.span",true,"github.com/88250/lute/html",false,function(start_,end_){this.$val=this;if(arguments.length===0){this.start=0;this.end=0;return;}this.start=start_;this.end=end_;});S=$pkg.Tokenizer=$newType(0,$kindStruct,"html.Tokenizer",true,"github.com/88250/lute/html",true,function(r_,tt_,err_,readErr_,raw_,buf_,maxBuf_,data_,pendingAttr_,attr_,nAttrReturned_,rawTag_,textIsRaw_,convertNUL_,allowCDATA_){this.$val=this;if(arguments.length===0){this.r=$ifaceNil;this.tt=0;this.err=$ifaceNil;this.readErr=$ifaceNil;this.raw=new R.ptr(0,0);this.buf=DC.nil;this.maxBuf=0;this.data=new R.ptr(0,0);this.pendingAttr=DJ.zero();this.attr=DK.nil;this.nAttrReturned=0;this.rawTag="";this.textIsRaw=false;this.convertNUL=false;this.allowCDATA=false;return;}this.r=r_;this.tt=tt_;this.err=err_;this.readErr=readErr_;this.raw=raw_;this.buf=buf_;this.maxBuf=maxBuf_;this.data=data_;this.pendingAttr=pendingAttr_;this.attr=attr_;this.nAttrReturned=nAttrReturned_;this.rawTag=rawTag_;this.textIsRaw=textIsRaw_;this.convertNUL=convertNUL_;this.allowCDATA=allowCDATA_;});Z=$pkg.writer=$newType(8,$kindInterface,"html.writer",true,"github.com/88250/lute/html",false,null);AG=$pkg.parser=$newType(0,$kindStruct,"html.parser",true,"github.com/88250/lute/html",false,function(tokenizer_,tok_,hasSelfClosingToken_,doc_,oe_,afe_,head_,form_,scripting_,framesetOK_,templateStack_,im_,originalIM_,fosterParenting_,quirks_,fragment_,context_){this.$val=this;if(arguments.length===0){this.tokenizer=DO.nil;this.tok=new Q.ptr(0,0,"",DG.nil);this.hasSelfClosingToken=false;this.doc=DE.nil;this.oe=BS.nil;this.afe=BS.nil;this.head=DE.nil;this.form=DE.nil;this.scripting=false;this.framesetOK=false;this.templateStack=BT.nil;this.im=$throwNilPointerError;this.originalIM=$throwNilPointerError;this.fosterParenting=false;this.quirks=false;this.fragment=false;this.context=DE.nil;return;}this.tokenizer=tokenizer_;this.tok=tok_;this.hasSelfClosingToken=hasSelfClosingToken_;this.doc=doc_;this.oe=oe_;this.afe=afe_;this.head=head_;this.form=form_;this.scripting=scripting_;this.framesetOK=framesetOK_;this.templateStack=templateStack_;this.im=im_;this.originalIM=originalIM_;this.fosterParenting=fosterParenting_;this.quirks=quirks_;this.fragment=fragment_;this.context=context_;});AI=$pkg.scope=$newType(4,$kindInt,"html.scope",true,"github.com/88250/lute/html",false,null);AJ=$pkg.insertionMode=$newType(4,$kindFunc,"html.insertionMode",true,"github.com/88250/lute/html",false,null);BK=$pkg.ParseOption=$newType(4,$kindFunc,"html.ParseOption",true,"github.com/88250/lute/html",true,null);BO=$pkg.NodeType=$newType(4,$kindUint32,"html.NodeType",true,"github.com/88250/lute/html",true,null);BQ=$pkg.Node=$newType(0,$kindStruct,"html.Node",true,"github.com/88250/lute/html",true,function(Parent_,FirstChild_,LastChild_,PrevSibling_,NextSibling_,Type_,DataAtom_,Data_,Namespace_,Attr_){this.$val=this;if(arguments.length===0){this.Parent=DE.nil;this.FirstChild=DE.nil;this.LastChild=DE.nil;this.PrevSibling=DE.nil;this.NextSibling=DE.nil;this.Type=0;this.DataAtom=0;this.Data="";this.Namespace="";this.Attr=DG.nil;return;}this.Parent=Parent_;this.FirstChild=FirstChild_;this.LastChild=LastChild_;this.PrevSibling=PrevSibling_;this.NextSibling=NextSibling_;this.Type=Type_;this.DataAtom=DataAtom_;this.Data=Data_;this.Namespace=Namespace_;this.Attr=Attr_;});BS=$pkg.nodeStack=$newType(12,$kindSlice,"html.nodeStack",true,"github.com/88250/lute/html",false,null);BT=$pkg.insertionModeStack=$newType(12,$kindSlice,"html.insertionModeStack",true,"github.com/88250/lute/html",false,null);DC=$sliceType($Uint8);DD=$sliceType(I.Atom);DE=$ptrType(BQ);DF=$ptrType(P);DG=$sliceType(DF);DH=$sliceType($String);DI=$arrayType($Uint8,2);DJ=$arrayType(R,2);DK=$sliceType(DJ);DL=$ptrType(BS);DM=$ptrType(BT);DN=$sliceType(BK);DO=$ptrType(S);DP=$sliceType(DE);DQ=$sliceType($Int32);DR=$ptrType(AG);K=function(a){var a,b,c,d;b=DC.nil;if(DC.nil===a){return b;}a=(new DC($stringToBytes(L(($bytesToString(a))))));c=a.$length;b=$makeSlice(DC,0,c);d=0;while(true){if(!(d>0));}b=$append(b,((d<0||d>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+d]));d=d+(1)>>0;}return b;};$pkg.UnescapeBytes=K;L=function(a){var a,b,c,d,e,f,g,h,i,j,k;b=B.IndexByte(a,38);if(b<0){return a;}c=false;d="";e=0;while(true){if(!(b0){c=true;break;}}b=b+(1)>>0;}if(!c){return a;}g=$makeSlice(DC,((a.length-e>>0)+d.length>>0));$copyString($subslice(g,0,b),a);h=$copyString($subslice(g,b),d);i=b+h>>0;b=b+(e)>>0;while(true){if(!(b0){h=$copyString($subslice(g,i),d);i=i+(h)>>0;b=b+(e)>>0;continue;}}((i<0||i>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+i]=j);i=i+(1)>>0;b=b+(1)>>0;}return($bytesToString($subslice(g,0,i)));};$pkg.HtmlUnescapeString=L;M=function(a){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;b=0;c=0;d=1;while(true){if(!(d>0;if(c>31){return["",0];}}else if((e===59)){g=(h=$mapIndex($pkg.Entities,$String.keyFor($substring(a,(d-c>>0),(d+1>>0)))),h!==undefined?[h.v,true]:["",false]);i=g[0];j=g[1];if(j){return[i,d+1>>0];}return["",0];}else{return["",0];}}else if(f===(3)){if(D.IsHexDigit(e)){c=1;b=5;}else{return["",0];}}else if(f===(4)){if(D.IsDigit(e)){c=c+(1)>>0;if(c>8){return["",0];}}else if((e===59)){k=A.ParseInt($substring(a,(d-c>>0),d),10,32);l=k[0];if(!N(l)){return["\xEF\xBF\xBD",d+1>>0];}return[($encodeRune((((l.$low+((l.$high>>31)*4294967296))>>0)))),d+1>>0];}else{return["",0];}}else if(f===(5)){if(D.IsHexDigit(e)){c=c+(1)>>0;if(c>8){return["",0];}}else if((e===59)){m=A.ParseInt($substring(a,(d-c>>0),d),16,32);n=m[0];o=m[1];if(!($interfaceIsEqual($ifaceNil,o))){return["\xEF\xBF\xBD",d+1>>0];}if(!N(n)){return["\xEF\xBF\xBD",d+1>>0];}return[($encodeRune((((n.$low+((n.$high>>31)*4294967296))>>0)))),d+1>>0];}else{return["",0];}}d=d+(1)>>0;}return["",0];};N=function(a){var a,b,c;if(!C.ValidRune((((a.$low+((a.$high>>31)*4294967296))>>0)))){return false;}else if((a.$high>0||(a.$high===0&&a.$low>=64976))&&(a.$high<0||(a.$high===0&&a.$low<=65007))){return false;}else if((b=new $Int64(a.$high&0,(a.$low&65535)>>>0),(b.$high===0&&b.$low===65535))||(c=new $Int64(a.$high&0,(a.$low&65535)>>>0),(c.$high===0&&c.$low===65534))){return false;}else if((a.$high>0||(a.$high===0&&a.$low>=0))&&(a.$high<0||(a.$high===0&&a.$low<=8))){return false;}else if((a.$high===0&&a.$low===11)){return false;}else if((a.$high>0||(a.$high===0&&a.$low>=14))&&(a.$high<0||(a.$high===0&&a.$low<=31))){return false;}else if((a.$high>0||(a.$high===0&&a.$low>=127))&&(a.$high<0||(a.$high===0&&a.$low<=159))){return false;}return true;};O.prototype.String=function(){var a,b;a=this.$val;b=a;if(b===(0)){return"Error";}else if(b===(1)){return"Text";}else if(b===(2)){return"StartTag";}else if(b===(3)){return"EndTag";}else if(b===(4)){return"SelfClosingTag";}else if(b===(5)){return"Comment";}else if(b===(6)){return"Doctype";}return"Invalid("+A.Itoa(((a>>0)))+")";};$ptrType(O).prototype.String=function(){return new O(this.$get()).String();};Q.ptr.prototype.tagString=function(){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;if(a.Attr.$length===0){$s=-1;return a.Data;}b=E.NewBufferString(a.Data);c=a.Attr;d=0;case 1:if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(e.Key==="caretreplacement"){$s=3;continue;}$s=4;continue;case 3:f=b.WriteString("caretreplacement");$s=5;case 5:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;d++;$s=1;continue;case 4:g=b.WriteByte(32);$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;h=b.WriteString(e.Key);$s=7;case 7:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;i=b.WriteString("=\"");$s=8;case 8:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;j=CU(b,e.Val);$s=9;case 9:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;k=b.WriteByte(34);$s=10;case 10:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;d++;$s=1;continue;case 2:$s=-1;return b.String();}return;}var $f={$blk:Q.ptr.prototype.tagString,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};Q.prototype.tagString=function(){return this.$val.tagString();};Q.ptr.prototype.String=function(){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;b=a.Type;if(b===(0)){$s=2;continue;}if(b===(1)){$s=3;continue;}if(b===(2)){$s=4;continue;}if(b===(3)){$s=5;continue;}if(b===(4)){$s=6;continue;}if(b===(5)){$s=7;continue;}if(b===(6)){$s=8;continue;}$s=9;continue;case 2:$s=-1;return"";case 3:c=CV(a.Data);$s=10;case 10:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$s=11;case 11:return d;case 4:e=$clone(a,Q).tagString();$s=12;case 12:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f="<"+e+">";$s=13;case 13:return f;case 5:g=$clone(a,Q).tagString();$s=14;case 14:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h="";$s=15;case 15:return h;case 6:i=$clone(a,Q).tagString();$s=16;case 16:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j="<"+i+"/>";$s=17;case 17:return j;case 7:$s=-1;return"";case 8:$s=-1;return"";case 9:case 1:$s=-1;return"Invalid("+A.Itoa(((a.Type>>0)))+")";}return;}var $f={$blk:Q.ptr.prototype.String,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};Q.prototype.String=function(){return this.$val.String();};S.ptr.prototype.AllowCDATA=function(a){var a,b;b=this;b.allowCDATA=a;};S.prototype.AllowCDATA=function(a){return this.$val.AllowCDATA(a);};S.ptr.prototype.NextIsNotRawText=function(){var a;a=this;a.rawTag="";};S.prototype.NextIsNotRawText=function(){return this.$val.NextIsNotRawText();};S.ptr.prototype.Err=function(){var a;a=this;if(!((a.tt===0))){return $ifaceNil;}return a.err;};S.prototype.Err=function(){return this.$val.Err();};S.ptr.prototype.readByte=function(){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;if(a.raw.end>=a.buf.$length){$s=1;continue;}$s=2;continue;case 1:if(!($interfaceIsEqual(a.readErr,$ifaceNil))){a.err=a.readErr;$s=-1;return 0;}b=a.buf.$capacity;c=a.raw.end-a.raw.start>>0;d=DC.nil;if(($imul(2,c))>b){d=$makeSlice(DC,c,($imul(2,b)));}else{d=$subslice(a.buf,0,c);}$copySlice(d,$subslice(a.buf,a.raw.start,a.raw.end));e=a.raw.start;if(!((e===0))){a.data.start=a.data.start-(e)>>0;a.data.end=a.data.end-(e)>>0;a.pendingAttr[0].start=a.pendingAttr[0].start-(e)>>0;a.pendingAttr[0].end=a.pendingAttr[0].end-(e)>>0;a.pendingAttr[1].start=a.pendingAttr[1].start-(e)>>0;a.pendingAttr[1].end=a.pendingAttr[1].end-(e)>>0;f=a.attr;g=0;while(true){if(!(g=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+h]))[0].start=(i=a.attr,((h<0||h>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+h]))[0].start-(e)>>0;(l=a.attr,((h<0||h>=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+h]))[0].end=(k=a.attr,((h<0||h>=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+h]))[0].end-(e)>>0;(n=a.attr,((h<0||h>=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+h]))[1].start=(m=a.attr,((h<0||h>=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+h]))[1].start-(e)>>0;(p=a.attr,((h<0||h>=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+h]))[1].end=(o=a.attr,((h<0||h>=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+h]))[1].end-(e)>>0;g++;}}q=0;r=c;s=$subslice(d,0,c);a.raw.start=q;a.raw.end=r;a.buf=s;t=0;v=T(a.r,$subslice(d,c,d.$capacity));$s=3;case 3:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}u=v;t=u[0];a.readErr=u[1];if(t===0){a.err=a.readErr;$s=-1;return 0;}a.buf=$subslice(d,0,(c+t>>0));case 2:y=(w=a.buf,x=a.raw.end,((x<0||x>=w.$length)?($throwRuntimeError("index out of range"),undefined):w.$array[w.$offset+x]));a.raw.end=a.raw.end+(1)>>0;if(a.maxBuf>0&&(a.raw.end-a.raw.start>>0)>=a.maxBuf){a.err=$pkg.ErrBufferExceeded;$s=-1;return 0;}$s=-1;return y;}return;}var $f={$blk:S.ptr.prototype.readByte,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,$s};return $f;};S.prototype.readByte=function(){return this.$val.readByte();};S.ptr.prototype.Buffered=function(){var a;a=this;return $subslice(a.buf,a.raw.end);};S.prototype.Buffered=function(){return this.$val.Buffered();};T=function(a,b){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=0;case 1:if(!(c<100)){$s=2;continue;}e=a.Read(b);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=d[0];g=d[1];if(!((f===0))||!($interfaceIsEqual(g,$ifaceNil))){$s=-1;return[f,g];}c=c+(1)>>0;$s=1;continue;case 2:$s=-1;return[0,G.ErrNoProgress];}return;}var $f={$blk:T,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};S.ptr.prototype.skipWhiteSpace=function(){var{a,b,c,d,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;if(!($interfaceIsEqual(a.err,$ifaceNil))){$s=-1;return;}case 1:b=a.readByte();$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;if(!($interfaceIsEqual(a.err,$ifaceNil))){$s=-1;return;}d=c;if((d===(32))||(d===(10))||(d===(13))||(d===(9))||(d===(12))){}else{a.raw.end=a.raw.end-(1)>>0;$s=-1;return;}$s=1;continue;case 2:$s=-1;return;}return;}var $f={$blk:S.ptr.prototype.skipWhiteSpace,$c:true,$r,a,b,c,d,$s};return $f;};S.prototype.skipWhiteSpace=function(){return this.$val.skipWhiteSpace();};S.ptr.prototype.readRawOrRCDATA=function(){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;if(a.rawTag==="script"){$s=1;continue;}$s=2;continue;case 1:$r=a.readScript();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a.textIsRaw=true;a.rawTag="";$s=-1;return;case 2:case 4:b=a.readByte();$s=6;case 6:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;if(!($interfaceIsEqual(a.err,$ifaceNil))){$s=5;continue s;}if(!((c===60))){$s=4;continue s;}d=a.readByte();$s=7;case 7:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;if(!($interfaceIsEqual(a.err,$ifaceNil))){$s=5;continue s;}if(!((c===47))){$s=4;continue s;}e=a.readRawEndTag();$s=10;case 10:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}if(e||!($interfaceIsEqual(a.err,$ifaceNil))){$s=8;continue;}$s=9;continue;case 8:$s=5;continue s;case 9:$s=4;continue;case 5:a.data.end=a.raw.end;a.textIsRaw=!(a.rawTag==="textarea")&&!(a.rawTag==="title");a.rawTag="";$s=-1;return;}return;}var $f={$blk:S.ptr.prototype.readRawOrRCDATA,$c:true,$r,a,b,c,d,e,$s};return $f;};S.prototype.readRawOrRCDATA=function(){return this.$val.readRawOrRCDATA();};S.ptr.prototype.readRawEndTag=function(){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;b=0;case 1:if(!(b>>24)))){a.raw.end=a.raw.end-(1)>>0;$s=-1;return false;}b=b+(1)>>0;$s=1;continue;case 2:e=a.readByte();$s=4;case 4:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(!($interfaceIsEqual(a.err,$ifaceNil))){$s=-1;return false;}g=f;if((g===(32))||(g===(10))||(g===(13))||(g===(9))||(g===(12))||(g===(47))||(g===(62))){a.raw.end=a.raw.end-((3+a.rawTag.length>>0))>>0;$s=-1;return true;}a.raw.end=a.raw.end-(1)>>0;$s=-1;return false;}return;}var $f={$blk:S.ptr.prototype.readRawEndTag,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};S.prototype.readRawEndTag=function(){return this.$val.readRawEndTag();};S.ptr.prototype.readScript=function(){var{a,aa,ab,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);a=[a];a[0]=this;$deferred.push([(function(a){return function(){a[0].data.end=a[0].raw.end;};})(a),[]]);b=0;case 1:c=a[0].readByte();$s=2;case 2:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;if(!($interfaceIsEqual(a[0].err,$ifaceNil))){$s=3;continue;}$s=4;continue;case 3:$s=5;case 5:return;case 4:if(b===60){$s=6;continue;}$s=7;continue;case 6:$s=8;continue;case 7:$s=1;continue;case 8:d=a[0].readByte();$s=9;case 9:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}b=d;if(!($interfaceIsEqual(a[0].err,$ifaceNil))){$s=10;continue;}$s=11;continue;case 10:$s=12;case 12:return;case 11:e=b;if(e===(47)){$s=14;continue;}if(e===(33)){$s=15;continue;}$s=16;continue;case 14:$s=17;continue;$s=16;continue;case 15:$s=18;continue;case 16:case 13:a[0].raw.end=a[0].raw.end-(1)>>0;$s=1;continue;case 17:f=a[0].readRawEndTag();$s=21;case 21:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}if(f||!($interfaceIsEqual(a[0].err,$ifaceNil))){$s=19;continue;}$s=20;continue;case 19:$s=22;case 22:return;case 20:$s=1;continue;case 18:g=a[0].readByte();$s=23;case 23:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}b=g;if(!($interfaceIsEqual(a[0].err,$ifaceNil))){$s=24;continue;}$s=25;continue;case 24:$s=26;case 26:return;case 25:if(b===45){$s=27;continue;}$s=28;continue;case 27:$s=29;continue;case 28:a[0].raw.end=a[0].raw.end-(1)>>0;$s=1;continue;case 29:h=a[0].readByte();$s=30;case 30:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}b=h;if(!($interfaceIsEqual(a[0].err,$ifaceNil))){$s=31;continue;}$s=32;continue;case 31:$s=33;case 33:return;case 32:if(b===45){$s=34;continue;}$s=35;continue;case 34:$s=36;continue;case 35:a[0].raw.end=a[0].raw.end-(1)>>0;$s=1;continue;case 37:i=a[0].readByte();$s=38;case 38:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}b=i;if(!($interfaceIsEqual(a[0].err,$ifaceNil))){$s=39;continue;}$s=40;continue;case 39:$s=41;case 41:return;case 40:j=b;if(j===(45)){$s=43;continue;}if(j===(60)){$s=44;continue;}$s=45;continue;case 43:$s=46;continue;$s=45;continue;case 44:$s=47;continue;case 45:case 42:$s=37;continue;case 46:k=a[0].readByte();$s=48;case 48:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}b=k;if(!($interfaceIsEqual(a[0].err,$ifaceNil))){$s=49;continue;}$s=50;continue;case 49:$s=51;case 51:return;case 50:l=b;if(l===(45)){$s=53;continue;}if(l===(60)){$s=54;continue;}$s=55;continue;case 53:$s=36;continue;$s=55;continue;case 54:$s=47;continue;case 55:case 52:$s=37;continue;case 36:m=a[0].readByte();$s=56;case 56:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}b=m;if(!($interfaceIsEqual(a[0].err,$ifaceNil))){$s=57;continue;}$s=58;continue;case 57:$s=59;case 59:return;case 58:n=b;if(n===(45)){$s=61;continue;}if(n===(60)){$s=62;continue;}if(n===(62)){$s=63;continue;}$s=64;continue;case 61:$s=36;continue;$s=64;continue;case 62:$s=47;continue;$s=64;continue;case 63:$s=1;continue;case 64:case 60:$s=37;continue;case 47:o=a[0].readByte();$s=65;case 65:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}b=o;if(!($interfaceIsEqual(a[0].err,$ifaceNil))){$s=66;continue;}$s=67;continue;case 66:$s=68;case 68:return;case 67:if(b===47){$s=69;continue;}$s=70;continue;case 69:$s=71;continue;case 70:if(97<=b&&b<=122||65<=b&&b<=90){$s=72;continue;}$s=73;continue;case 72:$s=74;continue;case 73:a[0].raw.end=a[0].raw.end-(1)>>0;$s=1;continue;case 71:p=a[0].readRawEndTag();$s=77;case 77:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}if(p||!($interfaceIsEqual(a[0].err,$ifaceNil))){$s=75;continue;}$s=76;continue;case 75:$s=78;case 78:return;case 76:$s=37;continue;case 74:a[0].raw.end=a[0].raw.end-(1)>>0;q=0;case 79:if(!(q<6)){$s=80;continue;}r=a[0].readByte();$s=81;case 81:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}b=r;if(!($interfaceIsEqual(a[0].err,$ifaceNil))){$s=82;continue;}$s=83;continue;case 82:$s=84;case 84:return;case 83:if(!((b==="script".charCodeAt(q)))&&!((b==="SCRIPT".charCodeAt(q)))){$s=85;continue;}$s=86;continue;case 85:a[0].raw.end=a[0].raw.end-(1)>>0;$s=37;continue;case 86:q=q+(1)>>0;$s=79;continue;case 80:s=a[0].readByte();$s=87;case 87:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}b=s;if(!($interfaceIsEqual(a[0].err,$ifaceNil))){$s=88;continue;}$s=89;continue;case 88:$s=90;case 90:return;case 89:t=b;if((t===(32))||(t===(10))||(t===(13))||(t===(9))||(t===(12))||(t===(47))||(t===(62))){$s=92;continue;}$s=93;continue;case 92:$s=94;continue;case 93:case 91:a[0].raw.end=a[0].raw.end-(1)>>0;$s=37;continue;case 94:u=a[0].readByte();$s=95;case 95:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}b=u;if(!($interfaceIsEqual(a[0].err,$ifaceNil))){$s=96;continue;}$s=97;continue;case 96:$s=98;case 98:return;case 97:v=b;if(v===(45)){$s=100;continue;}if(v===(60)){$s=101;continue;}$s=102;continue;case 100:$s=103;continue;$s=102;continue;case 101:$s=104;continue;case 102:case 99:$s=94;continue;case 103:w=a[0].readByte();$s=105;case 105:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}b=w;if(!($interfaceIsEqual(a[0].err,$ifaceNil))){$s=106;continue;}$s=107;continue;case 106:$s=108;case 108:return;case 107:x=b;if(x===(45)){$s=110;continue;}if(x===(60)){$s=111;continue;}$s=112;continue;case 110:$s=113;continue;$s=112;continue;case 111:$s=104;continue;case 112:case 109:$s=94;continue;case 113:y=a[0].readByte();$s=114;case 114:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}b=y;if(!($interfaceIsEqual(a[0].err,$ifaceNil))){$s=115;continue;}$s=116;continue;case 115:$s=117;case 117:return;case 116:z=b;if(z===(45)){$s=119;continue;}if(z===(60)){$s=120;continue;}if(z===(62)){$s=121;continue;}$s=122;continue;case 119:$s=113;continue;$s=122;continue;case 120:$s=104;continue;$s=122;continue;case 121:$s=1;continue;case 122:case 118:$s=94;continue;case 104:aa=a[0].readByte();$s=123;case 123:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}b=aa;if(!($interfaceIsEqual(a[0].err,$ifaceNil))){$s=124;continue;}$s=125;continue;case 124:$s=126;case 126:return;case 125:if(b===47){$s=127;continue;}$s=128;continue;case 127:$s=129;continue;case 128:a[0].raw.end=a[0].raw.end-(1)>>0;$s=94;continue;case 129:ab=a[0].readRawEndTag();$s=132;case 132:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}if(ab){$s=130;continue;}$s=131;continue;case 130:a[0].raw.end=a[0].raw.end+(9)>>0;$s=37;continue;case 131:if(!($interfaceIsEqual(a[0].err,$ifaceNil))){$s=133;continue;}$s=134;continue;case 133:$s=135;case 135:return;case 134:$s=94;continue;$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:S.ptr.prototype.readScript,$c:true,$r,a,aa,ab,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};S.prototype.readScript=function(){return this.$val.readScript();};S.ptr.prototype.readComment=function(){var{a,b,c,d,e,f,$s,$deferred,$r,$c}=$restore(this,{});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);a=[a];a[0]=this;a[0].data.start=a[0].raw.end;$deferred.push([(function(a){return function(){if(a[0].data.end2){b=2;}a[0].data.end=a[0].raw.end-b>>0;$s=6;case 6:return;case 5:e=d;if(e===(45)){$s=8;continue;}if(e===(62)){$s=9;continue;}if(e===(33)){$s=10;continue;}$s=11;continue;case 8:b=b+(1)>>0;$s=1;continue;$s=11;continue;case 9:if(b>=2){$s=12;continue;}$s=13;continue;case 12:a[0].data.end=a[0].raw.end-3>>0;$s=14;case 14:return;case 13:$s=11;continue;case 10:if(b>=2){$s=15;continue;}$s=16;continue;case 15:f=a[0].readByte();$s=17;case 17:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}d=f;if(!($interfaceIsEqual(a[0].err,$ifaceNil))){$s=18;continue;}$s=19;continue;case 18:a[0].data.end=a[0].raw.end;$s=20;case 20:return;case 19:if(d===62){$s=21;continue;}$s=22;continue;case 21:a[0].data.end=a[0].raw.end-4>>0;$s=23;case 23:return;case 22:case 16:case 11:case 7:b=0;$s=1;continue;case 2:$s=-1;return;}return;}}catch(err){$err=err;$s=-1;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:S.ptr.prototype.readComment,$c:true,$r,a,b,c,d,e,f,$s,$deferred};return $f;}}};S.prototype.readComment=function(){return this.$val.readComment();};S.ptr.prototype.readUntilCloseAngle=function(){var{a,b,c,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;a.data.start=a.raw.end;case 1:b=a.readByte();$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;if(!($interfaceIsEqual(a.err,$ifaceNil))){a.data.end=a.raw.end;$s=-1;return;}if(c===62){a.data.end=a.raw.end-1>>0;$s=-1;return;}$s=1;continue;case 2:$s=-1;return;}return;}var $f={$blk:S.ptr.prototype.readUntilCloseAngle,$c:true,$r,a,b,c,$s};return $f;};S.prototype.readUntilCloseAngle=function(){return this.$val.readUntilCloseAngle();};S.ptr.prototype.readMarkupDeclaration=function(){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;a.data.start=a.raw.end;b=DI.zero();c=0;case 1:if(!(c<2)){$s=2;continue;}d=a.readByte();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}((c<0||c>=b.length)?($throwRuntimeError("index out of range"),undefined):b[c]=d);if(!($interfaceIsEqual(a.err,$ifaceNil))){a.data.end=a.raw.end;$s=-1;return 5;}c=c+(1)>>0;$s=1;continue;case 2:if((b[0]===45)&&(b[1]===45)){$s=4;continue;}$s=5;continue;case 4:$r=a.readComment();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 5;case 5:a.raw.end=a.raw.end-(2)>>0;e=a.readDoctype();$s=9;case 9:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}if(e){$s=7;continue;}$s=8;continue;case 7:$s=-1;return 6;case 8:if(!(a.allowCDATA)){f=false;$s=12;continue s;}g=a.readCDATA();$s=13;case 13:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;case 12:if(f){$s=10;continue;}$s=11;continue;case 10:a.convertNUL=true;$s=-1;return 1;case 11:$r=a.readUntilCloseAngle();$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 5;}return;}var $f={$blk:S.ptr.prototype.readMarkupDeclaration,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};S.prototype.readMarkupDeclaration=function(){return this.$val.readMarkupDeclaration();};S.ptr.prototype.readDoctype=function(){var{a,b,c,d,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;b=0;case 1:if(!(b<7)){$s=2;continue;}c=a.readByte();$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(!($interfaceIsEqual(a.err,$ifaceNil))){a.data.end=a.raw.end;$s=-1;return false;}if(!((d==="DOCTYPE".charCodeAt(b)))&&!((d===("DOCTYPE".charCodeAt(b)+32<<24>>>24)))){a.raw.end=a.data.start;$s=-1;return false;}b=b+(1)>>0;$s=1;continue;case 2:$r=a.skipWhiteSpace();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!($interfaceIsEqual(a.err,$ifaceNil))){a.data.start=a.raw.end;a.data.end=a.raw.end;$s=-1;return true;}$r=a.readUntilCloseAngle();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return true;}return;}var $f={$blk:S.ptr.prototype.readDoctype,$c:true,$r,a,b,c,d,$s};return $f;};S.prototype.readDoctype=function(){return this.$val.readDoctype();};S.ptr.prototype.readCDATA=function(){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;b=0;case 1:if(!(b<7)){$s=2;continue;}c=a.readByte();$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(!($interfaceIsEqual(a.err,$ifaceNil))){a.data.end=a.raw.end;$s=-1;return false;}if(!((d==="[CDATA[".charCodeAt(b)))){a.raw.end=a.data.start;$s=-1;return false;}b=b+(1)>>0;$s=1;continue;case 2:a.data.start=a.raw.end;e=0;case 4:f=a.readByte();$s=6;case 6:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(!($interfaceIsEqual(a.err,$ifaceNil))){a.data.end=a.raw.end;$s=-1;return true;}h=g;if(h===(93)){e=e+(1)>>0;}else if(h===(62)){if(e>=2){a.data.end=a.raw.end-3>>0;$s=-1;return true;}e=0;}else{e=0;}$s=4;continue;case 5:$s=-1;return false;}return;}var $f={$blk:S.ptr.prototype.readCDATA,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};S.prototype.readCDATA=function(){return this.$val.readCDATA();};S.ptr.prototype.startTagIn=function(a){var a,b,c,d,e,f,g,h,i;b=this;c=a;d=0;loop:while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(!(((b.data.end-b.data.start>>0)===e.length))){d++;continue loop;}f=0;while(true){if(!(f>0,((h<0||h>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]));if(65<=i&&i<=90){i=i+(32)<<24>>>24;}if(!((i===e.charCodeAt(f)))){d++;continue loop;}f=f+(1)>>0;}return true;}return false;};S.prototype.startTagIn=function(a){return this.$val.startTagIn(a);};S.ptr.prototype.readStartTag=function(){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;$r=a.readTag(true);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!($interfaceIsEqual(a.err,$ifaceNil))){$s=-1;return 0;}b=(c=a.buf,d=a.data.start,((d<0||d>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]));e=false;f=b;g=e;if(65<=f&&f<=90){f=f+(32)<<24>>>24;}h=f;if(h===(105)){g=a.startTagIn(new DH(["iframe"]));}else if(h===(110)){g=a.startTagIn(new DH(["noembed","noframes","noscript"]));}else if(h===(112)){g=a.startTagIn(new DH(["plaintext"]));}else if(h===(115)){g=a.startTagIn(new DH(["script","style"]));}else if(h===(116)){g=a.startTagIn(new DH(["textarea","title"]));}else if(h===(120)){g=a.startTagIn(new DH(["xmp"]));}if(g){$s=2;continue;}$s=3;continue;case 2:i=B.ToLower(($bytesToString($subslice(a.buf,a.data.start,a.data.end))));$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}a.rawTag=i;case 3:if($interfaceIsEqual(a.err,$ifaceNil)&&((j=a.buf,k=a.raw.end-2>>0,((k<0||k>=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]))===47)){$s=-1;return 4;}$s=-1;return 2;}return;}var $f={$blk:S.ptr.prototype.readStartTag,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};S.prototype.readStartTag=function(){return this.$val.readStartTag();};S.ptr.prototype.readTag=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;b.attr=$subslice(b.attr,0,0);b.nAttrReturned=0;$r=b.readTagName();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.skipWhiteSpace();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!($interfaceIsEqual(b.err,$ifaceNil))){$s=-1;return;}case 3:c=b.readByte();$s=5;case 5:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(!($interfaceIsEqual(b.err,$ifaceNil))||(d===62)){$s=4;continue;}b.raw.end=b.raw.end-(1)>>0;$r=b.readTagAttrKey();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=b.readTagAttrVal();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(a&&!((b.pendingAttr[0].start===b.pendingAttr[0].end))){b.attr=$append(b.attr,b.pendingAttr);}$r=b.skipWhiteSpace();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!($interfaceIsEqual(b.err,$ifaceNil))){$s=4;continue;}$s=3;continue;case 4:$s=-1;return;}return;}var $f={$blk:S.ptr.prototype.readTag,$c:true,$r,a,b,c,d,$s};return $f;};S.prototype.readTag=function(a){return this.$val.readTag(a);};S.ptr.prototype.readTagName=function(){var{a,b,c,d,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;a.data.start=a.raw.end-1>>0;case 1:b=a.readByte();$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;if(!($interfaceIsEqual(a.err,$ifaceNil))){a.data.end=a.raw.end;$s=-1;return;}d=c;if((d===(32))||(d===(10))||(d===(13))||(d===(9))||(d===(12))){a.data.end=a.raw.end-1>>0;$s=-1;return;}else if((d===(47))||(d===(62))){a.raw.end=a.raw.end-(1)>>0;a.data.end=a.raw.end;$s=-1;return;}$s=1;continue;case 2:$s=-1;return;}return;}var $f={$blk:S.ptr.prototype.readTagName,$c:true,$r,a,b,c,d,$s};return $f;};S.prototype.readTagName=function(){return this.$val.readTagName();};S.ptr.prototype.readTagAttrKey=function(){var{a,b,c,d,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;a.pendingAttr[0].start=a.raw.end;case 1:b=a.readByte();$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;if(!($interfaceIsEqual(a.err,$ifaceNil))){a.pendingAttr[0].end=a.raw.end;$s=-1;return;}d=c;if((d===(32))||(d===(10))||(d===(13))||(d===(9))||(d===(12))||(d===(47))){a.pendingAttr[0].end=a.raw.end-1>>0;$s=-1;return;}else if((d===(61))||(d===(62))){a.raw.end=a.raw.end-(1)>>0;a.pendingAttr[0].end=a.raw.end;$s=-1;return;}$s=1;continue;case 2:$s=-1;return;}return;}var $f={$blk:S.ptr.prototype.readTagAttrKey,$c:true,$r,a,b,c,d,$s};return $f;};S.prototype.readTagAttrKey=function(){return this.$val.readTagAttrKey();};S.ptr.prototype.readTagAttrVal=function(){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;a.pendingAttr[1].start=a.raw.end;a.pendingAttr[1].end=a.raw.end;$r=a.skipWhiteSpace();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!($interfaceIsEqual(a.err,$ifaceNil))){$s=-1;return;}b=a.readByte();$s=2;case 2:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;if(!($interfaceIsEqual(a.err,$ifaceNil))){$s=-1;return;}if(!((c===61))){a.raw.end=a.raw.end-(1)>>0;$s=-1;return;}$r=a.skipWhiteSpace();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(!($interfaceIsEqual(a.err,$ifaceNil))){$s=-1;return;}d=a.readByte();$s=4;case 4:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;if(!($interfaceIsEqual(a.err,$ifaceNil))){$s=-1;return;}f=e;if(f===(62)){$s=6;continue;}if((f===(39))||(f===(34))){$s=7;continue;}$s=8;continue;case 6:a.raw.end=a.raw.end-(1)>>0;$s=-1;return;case 7:a.pendingAttr[1].start=a.raw.end;case 10:g=a.readByte();$s=12;case 12:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(!($interfaceIsEqual(a.err,$ifaceNil))){a.pendingAttr[1].end=a.raw.end;$s=-1;return;}if(h===e){a.pendingAttr[1].end=a.raw.end-1>>0;$s=-1;return;}$s=10;continue;case 11:$s=9;continue;case 8:a.pendingAttr[1].start=a.raw.end-1>>0;case 13:i=a.readByte();$s=15;case 15:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;if(!($interfaceIsEqual(a.err,$ifaceNil))){a.pendingAttr[1].end=a.raw.end;$s=-1;return;}k=j;if((k===(32))||(k===(10))||(k===(13))||(k===(9))||(k===(12))){a.pendingAttr[1].end=a.raw.end-1>>0;$s=-1;return;}else if(k===(62)){a.raw.end=a.raw.end-(1)>>0;a.pendingAttr[1].end=a.raw.end;$s=-1;return;}$s=13;continue;case 14:case 9:case 5:$s=-1;return;}return;}var $f={$blk:S.ptr.prototype.readTagAttrVal,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};S.prototype.readTagAttrVal=function(){return this.$val.readTagAttrVal();};S.ptr.prototype.Next=function(){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;a.raw.start=a.raw.end;a.data.start=a.raw.end;a.data.end=a.raw.end;if(!($interfaceIsEqual(a.err,$ifaceNil))){a.tt=0;$s=-1;return a.tt;}if(!(a.rawTag==="")){$s=1;continue;}$s=2;continue;case 1:if(a.rawTag==="plaintext"){$s=3;continue;}$s=4;continue;case 3:case 6:if(!($interfaceIsEqual(a.err,$ifaceNil))){$s=7;continue;}b=a.readByte();$s=8;case 8:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}b;$s=6;continue;case 7:a.data.end=a.raw.end;a.textIsRaw=true;$s=5;continue;case 4:$r=a.readRawOrRCDATA();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 5:if(a.data.end>a.data.start){a.tt=1;a.convertNUL=true;$s=-1;return a.tt;}case 2:a.textIsRaw=false;a.convertNUL=false;case 10:c=a.readByte();$s=12;case 12:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(!($interfaceIsEqual(a.err,$ifaceNil))){$s=11;continue s;}if(!((d===60))){$s=10;continue s;}e=a.readByte();$s=13;case 13:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;if(!($interfaceIsEqual(a.err,$ifaceNil))){$s=11;continue s;}f=0;if(97<=d&&d<=122||65<=d&&d<=90){f=2;}else if((d===47)){f=3;}else if((d===33)||(d===63)){f=5;}else{a.raw.end=a.raw.end-(1)>>0;$s=10;continue;}g=a.raw.end-2>>0;if(a.raw.start>0;$r=a.readUntilCloseAngle();$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a.tt=5;$s=-1;return a.tt;case 17:if(d===33){$s=25;continue;}$s=26;continue;case 25:k=a.readMarkupDeclaration();$s=27;case 27:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}a.tt=k;$s=-1;return a.tt;case 26:a.raw.end=a.raw.end-(1)>>0;$r=a.readUntilCloseAngle();$s=28;case 28:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a.tt=5;$s=-1;return a.tt;case 18:case 14:$s=10;continue;case 11:if(a.raw.start=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c]);if(!((e===13))){c++;continue;}f=d+1>>0;if(f>=a.$length||!((((f<0||f>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+f])===10))){((d<0||d>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+d]=10);c++;continue;}g=d;while(true){if(!(f=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+f])===13){if((f+1>>0)>0,((h<0||h>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+h]))===10)){f=f+(1)>>0;}((g<0||g>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+g]=10);}else{((g<0||g>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+g]=((f<0||f>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+f]));}f=f+(1)>>0;g=g+(1)>>0;}return $subslice(a,0,g);}return a;};S.ptr.prototype.Text=function(){var a,b,c;a=this;b=a.tt;if((b===(1))||(b===(5))||(b===(6))){c=$subslice(a.buf,a.data.start,a.data.end);a.data.start=a.raw.end;a.data.end=a.raw.end;c=U(c);if((a.convertNUL||(a.tt===5))&&E.Contains(c,V)){c=E.Replace(c,V,W,-1);}if(!a.textIsRaw){c=CS(c,false);}return c;}return DC.nil;};S.prototype.Text=function(){return this.$val.Text();};S.ptr.prototype.TagName=function(){var a,b,c,d,e,f,g,h,i;a=DC.nil;b=false;c=this;if(c.data.start=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g])),DJ);d.nAttrReturned=d.nAttrReturned+(1)>>0;a=$subslice(d.buf,h[0].start,h[0].end);b=$subslice(d.buf,h[1].start,h[1].end);i=CT(a);j=CS(U(b),true);k=d.nAttrReturned");$s=17;case 17:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=p;q=o[1];if(!($interfaceIsEqual(q,$ifaceNil))){$s=-1;return q;}$s=-1;return $ifaceNil;case 7:s=a.WriteString("=ab.$length)?($throwRuntimeError("index out of range"),undefined):ab.$array[ab.$offset+ac]);ae=ad.Key;if(ae===("public")){z=ad.Val;}else if(ae===("system")){aa=ad.Val;}ac++;}if(!(z==="")){$s=22;continue;}if(!(aa==="")){$s=23;continue;}$s=24;continue;case 22:ag=a.WriteString(" PUBLIC ");$s=25;case 25:if($c){$c=false;ag=ag.$blk();}if(ag&&ag.$blk!==undefined){break s;}af=ag;ah=af[1];if(!($interfaceIsEqual(ah,$ifaceNil))){$s=-1;return ah;}ai=AE(a,z);$s=26;case 26:if($c){$c=false;ai=ai.$blk();}if(ai&&ai.$blk!==undefined){break s;}aj=ai;if(!($interfaceIsEqual(aj,$ifaceNil))){$s=-1;return aj;}if(!(aa==="")){$s=27;continue;}$s=28;continue;case 27:ak=a.WriteByte(32);$s=29;case 29:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}al=ak;if(!($interfaceIsEqual(al,$ifaceNil))){$s=-1;return al;}am=AE(a,aa);$s=30;case 30:if($c){$c=false;am=am.$blk();}if(am&&am.$blk!==undefined){break s;}an=am;if(!($interfaceIsEqual(an,$ifaceNil))){$s=-1;return an;}case 28:$s=24;continue;case 23:ap=a.WriteString(" SYSTEM ");$s=31;case 31:if($c){$c=false;ap=ap.$blk();}if(ap&&ap.$blk!==undefined){break s;}ao=ap;aq=ao[1];if(!($interfaceIsEqual(aq,$ifaceNil))){$s=-1;return aq;}ar=AE(a,aa);$s=32;case 32:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;if(!($interfaceIsEqual(as,$ifaceNil))){$s=-1;return as;}case 24:case 21:at=a.WriteByte(62);$s=33;case 33:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;$s=34;case 34:return au;case 8:$s=-1;return F.New("html: unknown node type");case 9:case 1:av=a.WriteByte(60);$s=35;case 35:if($c){$c=false;av=av.$blk();}if(av&&av.$blk!==undefined){break s;}aw=av;if(!($interfaceIsEqual(aw,$ifaceNil))){$s=-1;return aw;}ay=a.WriteString(b.Data);$s=36;case 36:if($c){$c=false;ay=ay.$blk();}if(ay&&ay.$blk!==undefined){break s;}ax=ay;az=ax[1];if(!($interfaceIsEqual(az,$ifaceNil))){$s=-1;return az;}ba=b.Attr;bb=0;case 37:if(!(bb=ba.$length)?($throwRuntimeError("index out of range"),undefined):ba.$array[ba.$offset+bb]);bd=a.WriteByte(32);$s=39;case 39:if($c){$c=false;bd=bd.$blk();}if(bd&&bd.$blk!==undefined){break s;}be=bd;if(!($interfaceIsEqual(be,$ifaceNil))){$s=-1;return be;}if(!(bc.Namespace==="")){$s=40;continue;}$s=41;continue;case 40:bg=a.WriteString(bc.Namespace);$s=42;case 42:if($c){$c=false;bg=bg.$blk();}if(bg&&bg.$blk!==undefined){break s;}bf=bg;bh=bf[1];if(!($interfaceIsEqual(bh,$ifaceNil))){$s=-1;return bh;}bi=a.WriteByte(58);$s=43;case 43:if($c){$c=false;bi=bi.$blk();}if(bi&&bi.$blk!==undefined){break s;}bj=bi;if(!($interfaceIsEqual(bj,$ifaceNil))){$s=-1;return bj;}case 41:bl=a.WriteString(bc.Key);$s=44;case 44:if($c){$c=false;bl=bl.$blk();}if(bl&&bl.$blk!==undefined){break s;}bk=bl;bm=bk[1];if(!($interfaceIsEqual(bm,$ifaceNil))){$s=-1;return bm;}bo=a.WriteString("=\"");$s=45;case 45:if($c){$c=false;bo=bo.$blk();}if(bo&&bo.$blk!==undefined){break s;}bn=bo;bp=bn[1];if(!($interfaceIsEqual(bp,$ifaceNil))){$s=-1;return bp;}bq=CU(a,bc.Val);$s=46;case 46:if($c){$c=false;bq=bq.$blk();}if(bq&&bq.$blk!==undefined){break s;}br=bq;if(!($interfaceIsEqual(br,$ifaceNil))){$s=-1;return br;}bs=a.WriteByte(34);$s=47;case 47:if($c){$c=false;bs=bs.$blk();}if(bs&&bs.$blk!==undefined){break s;}bt=bs;if(!($interfaceIsEqual(bt,$ifaceNil))){$s=-1;return bt;}bb++;$s=37;continue;case 38:if((bu=$mapIndex(AF,$String.keyFor(b.Data)),bu!==undefined?bu.v:false)){$s=48;continue;}$s=49;continue;case 48:if(!(b.FirstChild===DE.nil)){$s=-1;return F.New("html: void element <"+b.Data+" has child nodes");}bw=a.WriteString("/>");$s=50;case 50:if($c){$c=false;bw=bw.$blk();}if(bw&&bw.$blk!==undefined){break s;}bv=bw;bx=bv[1];$s=-1;return bx;case 49:by=a.WriteByte(62);$s=51;case 51:if($c){$c=false;by=by.$blk();}if(by&&by.$blk!==undefined){break s;}bz=by;if(!($interfaceIsEqual(bz,$ifaceNil))){$s=-1;return bz;}ca=b.FirstChild;if(!(ca===DE.nil)&&(ca.Type===1)&&B.HasPrefix(ca.Data,"\n")){$s=52;continue;}$s=53;continue;case 52:cb=b.Data;if(cb===("pre")||cb===("listing")||cb===("textarea")){$s=55;continue;}$s=56;continue;case 55:cc=a.WriteByte(10);$s=57;case 57:if($c){$c=false;cc=cc.$blk();}if(cc&&cc.$blk!==undefined){break s;}cd=cc;if(!($interfaceIsEqual(cd,$ifaceNil))){$s=-1;return cd;}case 56:case 54:case 53:ce=b.Data;if(ce===("iframe")||ce===("noembed")||ce===("noframes")||ce===("noscript")||ce===("plaintext")||ce===("script")||ce===("style")||ce===("xmp")){$s=59;continue;}$s=60;continue;case 59:cf=b.FirstChild;case 62:if(!(!(cf===DE.nil))){$s=63;continue;}if(cf.Type===1){$s=64;continue;}$s=65;continue;case 64:ch=a.WriteString(cf.Data);$s=67;case 67:if($c){$c=false;ch=ch.$blk();}if(ch&&ch.$blk!==undefined){break s;}cg=ch;ci=cg[1];if(!($interfaceIsEqual(ci,$ifaceNil))){$s=-1;return ci;}$s=66;continue;case 65:cj=AD(a,cf);$s=68;case 68:if($c){$c=false;cj=cj.$blk();}if(cj&&cj.$blk!==undefined){break s;}ck=cj;if(!($interfaceIsEqual(ck,$ifaceNil))){$s=-1;return ck;}case 66:cf=cf.NextSibling;$s=62;continue;case 63:if(b.Data==="plaintext"){$s=-1;return AB;}$s=61;continue;case 60:cl=b.FirstChild;case 69:if(!(!(cl===DE.nil))){$s=70;continue;}cm=AD(a,cl);$s=71;case 71:if($c){$c=false;cm=cm.$blk();}if(cm&&cm.$blk!==undefined){break s;}cn=cm;if(!($interfaceIsEqual(cn,$ifaceNil))){$s=-1;return cn;}cl=cl.NextSibling;$s=69;continue;case 70:case 61:case 58:cp=a.WriteString(">0;while(true){if(!(d>=0)){break;}f=(e=c.oe,((d<0||d>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+d])).DataAtom;if((g=c.oe,((d<0||d>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+d])).Namespace===""){h=b;i=0;while(true){if(!(i=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+i]);if(j===f){return d;}i++;}k=a;if(k===(0)){}else if(k===(1)){if((f===79618)||(f===42754)){return-1;}}else if(k===(2)){if(f===102662){return-1;}}else if(k===(3)){if((f===22020)||(f===365829)||(f===463880)){return-1;}}else if(k===(6)){if(!((f===24328))&&!((f===451334))){return-1;}}else{$panic(new $String("unreachable"));}}l=a;if((l===(0))||(l===(1))||(l===(2))){m=(o=$mapIndex(AH,$String.keyFor((n=c.oe,((d<0||d>=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+d])).Namespace)),o!==undefined?o.v:DD.nil);p=0;while(true){if(!(p=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+p]);if(q===f){return-1;}p++;}}d=d-(1)>>0;}return-1;};AG.prototype.indexOfElementInScope=function(a,b){return this.$val.indexOfElementInScope(a,b);};AG.ptr.prototype.elementInScope=function(a,b){var a,b,c;c=this;return!((c.indexOfElementInScope(a,b)===-1));};AG.prototype.elementInScope=function(a,b){return this.$val.elementInScope(a,b);};AG.ptr.prototype.clearStackToContext=function(a){var a,b,c,d,e,f;b=this;c=b.oe.$length-1>>0;while(true){if(!(c>=0)){break;}e=(d=b.oe,((c<0||c>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+c])).DataAtom;f=a;if(f===(3)){if((e===22020)||(e===365829)||(e===463880)){b.oe=$subslice(b.oe,0,(c+1>>0));return;}}else if(f===(4)){if((e===22020)||(e===52226)||(e===463880)){b.oe=$subslice(b.oe,0,(c+1>>0));return;}}else if(f===(5)){if((e===22020)||(e===9989)||(e===62725)||(e===208901)||(e===463880)){b.oe=$subslice(b.oe,0,(c+1>>0));return;}}else{$panic(new $String("unreachable"));}c=c-(1)>>0;}};AG.prototype.clearStackToContext=function(a){return this.$val.clearStackToContext(a);};AG.ptr.prototype.generateImpliedEndTags=function(a){var a,b,c,d,e,f,g,h,i;b=this;c=0;c=b.oe.$length-1>>0;loop:while(true){if(!(c>=0)){break;}e=(d=b.oe,((c<0||c>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+c]));if(e.Type===3){f=e.DataAtom;if((f===(186114))||(f===(412418))||(f===(45570))||(f===(24328))||(f===(451334))||(f===(3073))||(f===(14850))||(f===(146434))||(f===(104962))||(f===(104963))){g=a;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if(e.Data===i){break loop;}h++;}c=c-(1)>>0;continue;}}break;}b.oe=$subslice(b.oe,0,(c+1>>0));};AG.prototype.generateImpliedEndTags=function(a){return this.$val.generateImpliedEndTags(a);};AG.ptr.prototype.addChild=function(a){var a,b;b=this;if(b.shouldFosterParent()){b.fosterParent(a);}else{b.top().AppendChild(a);}if(a.Type===3){b.oe=$append(b.oe,a);}};AG.prototype.addChild=function(a){return this.$val.addChild(a);};AG.ptr.prototype.shouldFosterParent=function(){var a,b;a=this;if(a.fosterParenting){b=a.top().DataAtom;if((b===(365829))||(b===(9989))||(b===(62725))||(b===(208901))||(b===(52226))){return true;}}return false;};AG.prototype.shouldFosterParent=function(){return this.$val.shouldFosterParent();};AG.ptr.prototype.fosterParent=function(a){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;b=this;c=DE.nil;d=DE.nil;e=DE.nil;f=DE.nil;g=c;h=d;i=e;j=f;k=0;k=b.oe.$length-1>>0;while(true){if(!(k>=0)){break;}if((l=b.oe,((k<0||k>=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+k])).DataAtom===365829){g=(m=b.oe,((k<0||k>=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+k]));break;}k=k-(1)>>0;}n=0;n=b.oe.$length-1>>0;while(true){if(!(n>=0)){break;}if((o=b.oe,((n<0||n>=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+n])).DataAtom===463880){j=(p=b.oe,((n<0||n>=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+n]));break;}n=n-(1)>>0;}if(!(j===DE.nil)&&(g===DE.nil||n>k)){j.AppendChild(a);return;}if(g===DE.nil){h=(q=b.oe,(0>=q.$length?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+0]));}else{h=g.Parent;}if(h===DE.nil){h=(r=b.oe,s=k-1>>0,((s<0||s>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]));}if(!(g===DE.nil)){i=g.PrevSibling;}else{i=h.LastChild;}if(!(i===DE.nil)&&(i.Type===1)&&(a.Type===1)){i.Data=i.Data+(a.Data);return;}h.InsertChildBefore(a,g);};AG.prototype.fosterParent=function(a){return this.$val.fosterParent(a);};AG.ptr.prototype.addText=function(a){var a,b,c,d;b=this;if(a===""){return;}if(b.shouldFosterParent()){b.fosterParent(new BQ.ptr(DE.nil,DE.nil,DE.nil,DE.nil,DE.nil,1,0,a,"",DG.nil));return;}c=b.top();d=c.LastChild;if(!(d===DE.nil)&&(d.Type===1)){d.Data=d.Data+(a);return;}b.addChild(new BQ.ptr(DE.nil,DE.nil,DE.nil,DE.nil,DE.nil,1,0,a,"",DG.nil));};AG.prototype.addText=function(a){return this.$val.addText(a);};AG.ptr.prototype.addElement=function(){var a;a=this;a.addChild(new BQ.ptr(DE.nil,DE.nil,DE.nil,DE.nil,DE.nil,3,a.tok.DataAtom,a.tok.Data,"",a.tok.Attr));};AG.prototype.addElement=function(){return this.$val.addElement();};AG.ptr.prototype.addFormattingElement=function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o;a=this;b=a.tok.DataAtom;c=a.tok.Attr;d=b;e=c;a.addElement();f=0;g=a.afe.$length-1>>0;findIdenticalElements:while(true){if(!(g>=0)){break;}i=(h=a.afe,((g<0||g>=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+g]));if(i.Type===6){break;}if(!((i.Type===3))){g=g-(1)>>0;continue;}if(!(i.Namespace==="")){g=g-(1)>>0;continue;}if(!((i.DataAtom===d))){g=g-(1)>>0;continue;}if(!((i.Attr.$length===e.$length))){g=g-(1)>>0;continue;}j=i.Attr;k=0;compareAttributes:while(true){if(!(k=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]);m=e;n=0;while(true){if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);if(l.Key===o.Key&&l.Namespace===o.Namespace&&l.Val===o.Val){k++;continue compareAttributes;}n++;}g=g-(1)>>0;continue findIdenticalElements;}f=f+(1)>>0;if(f>=3){(a.$ptr_afe||(a.$ptr_afe=new DL(function(){return this.$target.afe;},function($v){this.$target.afe=$v;},a))).remove(i);}g=g-(1)>>0;}a.afe=$append(a.afe,a.top());};AG.prototype.addFormattingElement=function(){return this.$val.addFormattingElement();};AG.ptr.prototype.clearActiveFormattingElements=function(){var a,b;a=this;while(true){b=(a.$ptr_afe||(a.$ptr_afe=new DL(function(){return this.$target.afe;},function($v){this.$target.afe=$v;},a))).pop();if((a.afe.$length===0)||(b.Type===6)){return;}}};AG.prototype.clearActiveFormattingElements=function(){return this.$val.clearActiveFormattingElements();};AG.ptr.prototype.reconstructActiveFormattingElements=function(){var a,b,c,d,e,f,g;a=this;b=(a.$ptr_afe||(a.$ptr_afe=new DL(function(){return this.$target.afe;},function($v){this.$target.afe=$v;},a))).top();if(b===DE.nil){return;}if((b.Type===6)||!(((a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).index(b)===-1))){return;}c=a.afe.$length-1>>0;while(true){if(!(!((b.Type===6))&&((a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).index(b)===-1))){break;}if(c===0){c=-1;break;}c=c-(1)>>0;b=(d=a.afe,((c<0||c>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+c]));}while(true){c=c+(1)>>0;f=(e=a.afe,((c<0||c>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+c])).clone();a.addChild(f);(g=a.afe,((c<0||c>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+c]=f));if(c===(a.afe.$length-1>>0)){break;}}};AG.prototype.reconstructActiveFormattingElements=function(){return this.$val.reconstructActiveFormattingElements();};AG.ptr.prototype.acknowledgeSelfClosingTag=function(){var a;a=this;a.hasSelfClosingToken=false;};AG.prototype.acknowledgeSelfClosingTag=function(){return this.$val.acknowledgeSelfClosingTag();};AG.ptr.prototype.setOriginalIM=function(){var a;a=this;if(!(a.originalIM===$throwNilPointerError)){$panic(new $String("html: bad parser state: originalIM was set twice"));}a.originalIM=a.im;};AG.prototype.setOriginalIM=function(){return this.$val.setOriginalIM();};AG.ptr.prototype.resetInsertionMode=function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n;a=this;b=a.oe.$length-1>>0;while(true){if(!(b>=0)){break;}d=(c=a.oe,((b<0||b>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+b]));e=b===0;if(e&&!(a.context===DE.nil)){d=a.context;}f=d.DataAtom;if(f===(408582)){if(!e){g=d;h=(i=a.oe,(0>=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+0]));j=g;k=h;while(true){if(!(!(j===k))){break;}j=(l=a.oe,m=(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).index(j)-1>>0,((m<0||m>=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+m]));n=j.DataAtom;if(n===(463880)){a.im=AZ;return;}else if(n===(365829)){a.im=BA;return;}}}a.im=AZ;}else if((f===(37378))||(f===(87554))){a.im=AY;}else if(f===(52226)){a.im=AX;}else if((f===(9989))||(f===(208901))||(f===(62725))){a.im=AW;}else if(f===(143623)){a.im=AU;}else if(f===(109320)){a.im=AV;}else if(f===(365829)){a.im=AT;}else if(f===(463880)){if(!(d.Namespace==="")){b=b-(1)>>0;continue;}a.im=(a.$ptr_templateStack||(a.$ptr_templateStack=new DM(function(){return this.$target.templateStack;},function($v){this.$target.templateStack=$v;},a))).top();}else if(f===(209156)){a.im=AN;}else if(f===(10244)){a.im=AR;}else if(f===(35592)){a.im=BD;}else if(f===(22020)){if(a.head===DE.nil){a.im=AM;}else{a.im=AP;}}else{if(e){a.im=AR;return;}b=b-(1)>>0;continue;}return;}};AG.prototype.resetInsertionMode=function(){return this.$val.resetInsertionMode();};AK=function(a){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=a.tok.Type;if(b===(1)){$s=2;continue;}if(b===(5)){$s=3;continue;}if(b===(6)){$s=4;continue;}$s=5;continue;case 2:a.tok.Data=B.TrimLeft(a.tok.Data," \t\r\n\f");if(a.tok.Data.length===0){$s=-1;return true;}$s=5;continue;case 3:a.doc.AppendChild(new BQ.ptr(DE.nil,DE.nil,DE.nil,DE.nil,DE.nil,4,0,a.tok.Data,"",DG.nil));$s=-1;return true;case 4:d=CX(a.tok.Data);$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}c=d;e=c[0];f=c[1];a.doc.AppendChild(e);a.quirks=f;a.im=AL;$s=-1;return true;case 5:case 1:a.quirks=true;a.im=AL;$s=-1;return false;}return;}var $f={$blk:AK,$c:true,$r,a,b,c,d,e,f,$s};return $f;};AL=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=a.tok.Type;if(b===(6)){$s=2;continue;}if(b===(1)){$s=3;continue;}if(b===(2)){$s=4;continue;}if(b===(3)){$s=5;continue;}if(b===(5)){$s=6;continue;}$s=7;continue;case 2:$s=-1;return true;case 3:a.tok.Data=B.TrimLeft(a.tok.Data," \t\r\n\f");if(a.tok.Data.length===0){$s=-1;return true;}$s=7;continue;case 4:if(a.tok.DataAtom===22020){a.addElement();a.im=AM;$s=-1;return true;}$s=7;continue;case 5:c=a.tok.DataAtom;if((c===(209156))||(c===(10244))||(c===(22020))||(c===(514))){$s=9;continue;}$s=10;continue;case 9:$r=a.parseImpliedToken(2,22020,new I.Atom(22020).String());$s=12;case 12:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return false;case 10:$s=-1;return true;case 11:case 8:$s=7;continue;case 6:a.doc.AppendChild(new BQ.ptr(DE.nil,DE.nil,DE.nil,DE.nil,DE.nil,4,0,a.tok.Data,"",DG.nil));$s=-1;return true;case 7:case 1:$r=a.parseImpliedToken(2,22020,new I.Atom(22020).String());$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return false;}return;}var $f={$blk:AL,$c:true,$r,a,b,c,$s};return $f;};AM=function(a){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=a.tok.Type;if(b===(1)){$s=2;continue;}if(b===(2)){$s=3;continue;}if(b===(3)){$s=4;continue;}if(b===(5)){$s=5;continue;}if(b===(6)){$s=6;continue;}$s=7;continue;case 2:a.tok.Data=B.TrimLeft(a.tok.Data," \t\r\n\f");if(a.tok.Data.length===0){$s=-1;return true;}$s=7;continue;case 3:c=a.tok.DataAtom;if(c===(209156)){$s=9;continue;}if(c===(22020)){$s=10;continue;}$s=11;continue;case 9:a.addElement();a.head=a.top();a.im=AN;$s=-1;return true;case 10:d=AR(a);$s=12;case 12:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=13;case 13:return e;case 11:case 8:$s=7;continue;case 4:f=a.tok.DataAtom;if((f===(209156))||(f===(10244))||(f===(22020))||(f===(514))){$s=15;continue;}$s=16;continue;case 15:$r=a.parseImpliedToken(2,209156,new I.Atom(209156).String());$s=18;case 18:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return false;case 16:$s=-1;return true;case 17:case 14:$s=7;continue;case 5:a.addChild(new BQ.ptr(DE.nil,DE.nil,DE.nil,DE.nil,DE.nil,4,0,a.tok.Data,"",DG.nil));$s=-1;return true;case 6:$s=-1;return true;case 7:case 1:$r=a.parseImpliedToken(2,209156,new I.Atom(209156).String());$s=19;case 19:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return false;}return;}var $f={$blk:AM,$c:true,$r,a,b,c,d,e,f,$s};return $f;};AN=function(a){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=a.tok.Type;if(b===(1)){$s=2;continue;}if(b===(2)){$s=3;continue;}if(b===(3)){$s=4;continue;}if(b===(5)){$s=5;continue;}if(b===(6)){$s=6;continue;}$s=7;continue;case 2:c=B.TrimLeft(a.tok.Data," \t\r\n\f");if(c.length>0)));if(c===""){$s=-1;return true;}a.tok.Data=c;}$s=7;continue;case 3:d=a.tok.DataAtom;if(d===(22020)){$s=9;continue;}if((d===(15108))||(d===(15112))||(d===(89607))||(d===(120583))||(d===(95236))||(d===(309252))){$s=10;continue;}if(d===(136712)){$s=11;continue;}if((d===(137222))||(d===(69637))||(d===(35080))||(d===(458501))){$s=12;continue;}if(d===(209156)){$s=13;continue;}if(d===(463880)){$s=14;continue;}$s=15;continue;case 9:e=AR(a);$s=16;case 16:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$s=17;case 17:return f;case 10:a.addElement();(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).pop();a.acknowledgeSelfClosingTag();$s=-1;return true;case 11:a.addElement();if(a.scripting){a.setOriginalIM();a.im=AS;}else{a.im=AO;}$s=-1;return true;case 12:a.addElement();a.setOriginalIM();a.im=AS;$s=-1;return true;case 13:$s=-1;return true;case 14:a.addElement();a.afe=$append(a.afe,BP);a.framesetOK=false;a.im=BB;a.templateStack=$append(a.templateStack,BB);$s=-1;return true;case 15:case 8:$s=7;continue;case 4:g=a.tok.DataAtom;if(g===(209156)){$s=19;continue;}if((g===(10244))||(g===(22020))||(g===(514))){$s=20;continue;}if(g===(463880)){$s=21;continue;}$s=22;continue;case 19:(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).pop();a.im=AP;$s=-1;return true;case 20:$r=a.parseImpliedToken(3,209156,new I.Atom(209156).String());$s=24;case 24:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return false;case 21:if(!(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).contains(463880)){$s=-1;return true;}a.generateImpliedEndTags(DH.nil);h=a.oe.$length-1>>0;while(true){if(!(h>=0)){break;}j=(i=a.oe,((h<0||h>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+h]));if(j.Namespace===""&&(j.DataAtom===463880)){a.oe=$subslice(a.oe,0,h);break;}h=h-(1)>>0;}a.clearActiveFormattingElements();(a.$ptr_templateStack||(a.$ptr_templateStack=new DM(function(){return this.$target.templateStack;},function($v){this.$target.templateStack=$v;},a))).pop();a.resetInsertionMode();$s=-1;return true;case 22:$s=-1;return true;case 23:case 18:$s=7;continue;case 5:a.addChild(new BQ.ptr(DE.nil,DE.nil,DE.nil,DE.nil,DE.nil,4,0,a.tok.Data,"",DG.nil));$s=-1;return true;case 6:$s=-1;return true;case 7:case 1:$r=a.parseImpliedToken(3,209156,new I.Atom(209156).String());$s=25;case 25:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return false;}return;}var $f={$blk:AN,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};AO=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=a.tok.Type;if(b===(6)){$s=2;continue;}if(b===(2)){$s=3;continue;}if(b===(3)){$s=4;continue;}if(b===(1)){$s=5;continue;}if(b===(5)){$s=6;continue;}$s=7;continue;case 2:$s=-1;return true;case 3:c=a.tok.DataAtom;if(c===(22020)){$s=9;continue;}if((c===(15112))||(c===(89607))||(c===(95236))||(c===(309252))||(c===(35080))||(c===(458501))){$s=10;continue;}if((c===(209156))||(c===(136712))){$s=11;continue;}$s=12;continue;case 9:d=AR(a);$s=13;case 13:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=14;case 14:return e;case 10:f=AN(a);$s=15;case 15:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;$s=16;case 16:return g;case 11:$s=-1;return true;case 12:case 8:$s=7;continue;case 4:h=a.tok.DataAtom;if((h===(136712))||(h===(514))){}else{$s=-1;return true;}$s=7;continue;case 5:i=B.TrimLeft(a.tok.Data," \t\r\n\f");if(i.length===0){$s=17;continue;}$s=18;continue;case 17:j=AN(a);$s=19;case 19:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;$s=20;case 20:return k;case 18:$s=7;continue;case 6:l=AN(a);$s=21;case 21:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;$s=22;case 22:return m;case 7:case 1:(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).pop();if(!((a.top().DataAtom===209156))){$panic(new $String("html: the new current node will be a head element."));}a.im=AN;if(a.tok.DataAtom===136712){$s=-1;return true;}$s=-1;return false;}return;}var $f={$blk:AO,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};AP=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$deferred,$r,$c}=$restore(this,{a});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);b=a.tok.Type;if(b===(1)){$s=2;continue;}if(b===(2)){$s=3;continue;}if(b===(3)){$s=4;continue;}if(b===(5)){$s=5;continue;}if(b===(6)){$s=6;continue;}$s=7;continue;case 2:c=B.TrimLeft(a.tok.Data," \t\r\n\f");if(c.length>0)));if(c===""){$s=10;continue;}$s=11;continue;case 10:d=true;$s=12;case 12:return d;case 11:a.tok.Data=c;case 9:$s=7;continue;case 3:e=a.tok.DataAtom;if(e===(22020)){$s=14;continue;}if(e===(10244)){$s=15;continue;}if(e===(35592)){$s=16;continue;}if((e===(15108))||(e===(15112))||(e===(89607))||(e===(95236))||(e===(309252))||(e===(35080))||(e===(137222))||(e===(458501))||(e===(463880))||(e===(69637))){$s=17;continue;}if(e===(209156)){$s=18;continue;}$s=19;continue;case 14:f=AR(a);$s=20;case 20:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;$s=21;case 21:return g;case 15:a.addElement();a.framesetOK=false;a.im=AR;h=true;$s=22;case 22:return h;case 16:a.addElement();a.im=BD;i=true;$s=23;case 23:return i;case 17:a.oe=$append(a.oe,a.head);$deferred.push([$methodVal((a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))),"remove"),[a.head]]);j=AN(a);$s=24;case 24:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;$s=25;case 25:return k;case 18:l=true;$s=26;case 26:return l;case 19:case 13:$s=7;continue;case 4:m=a.tok.DataAtom;if((m===(10244))||(m===(22020))||(m===(514))){$s=28;continue;}if(m===(463880)){$s=29;continue;}$s=30;continue;case 28:$s=31;continue;case 29:n=AN(a);$s=32;case 32:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;$s=33;case 33:return o;case 30:p=true;$s=34;case 34:return p;case 31:case 27:$s=7;continue;case 5:a.addChild(new BQ.ptr(DE.nil,DE.nil,DE.nil,DE.nil,DE.nil,4,0,a.tok.Data,"",DG.nil));q=true;$s=35;case 35:return q;case 6:r=true;$s=36;case 36:return r;case 7:case 1:$r=a.parseImpliedToken(2,10244,new I.Atom(10244).String());$s=37;case 37:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a.framesetOK=true;s=false;$s=38;case 38:return s;}return;}}catch(err){$err=err;$s=-1;return false;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:AP,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,$s,$deferred};return $f;}}};AQ=function(a,b){var a,b,c,d,e,f,g,h,i,j,k,l,m,n;if(b.Attr.$length===0){return;}c=$makeMap($String.keyFor,[]);d=a.Attr;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);g=f.Key;(c||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(g),{k:g,v:f.Val});e++;}h=b.Attr;i=0;while(true){if(!(i=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+i]);k=(l=$mapIndex(c,$String.keyFor(j.Key)),l!==undefined?[l.v,true]:["",false]);m=k[1];if(!m){a.Attr=$append(a.Attr,j);n=j.Key;(c||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(n),{k:n,v:j.Val});}i++;}};AR=function(a){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,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=a.tok.Type;if(b===(1)){$s=2;continue;}if(b===(2)){$s=3;continue;}if(b===(3)){$s=4;continue;}if(b===(5)){$s=5;continue;}if(b===(0)){$s=6;continue;}$s=7;continue;case 2:c=a.tok.Data;d=(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).top();e=d.DataAtom;if((e===(290819))||(e===(305415))){if(d.FirstChild===DE.nil){if(!(c==="")&&(c.charCodeAt(0)===13)){c=$substring(c,1);}if(!(c==="")&&(c.charCodeAt(0)===10)){c=$substring(c,1);}}}c=B.Replace(c,"\x00","",-1);if(c===""){$s=-1;return true;}a.reconstructActiveFormattingElements();a.addText(c);if(a.framesetOK&&!(B.TrimLeft(c," \t\r\n\f")==="")){a.framesetOK=false;}$s=7;continue;case 3:f=a.tok.DataAtom;if(f===(22020)){$s=9;continue;}if((f===(15108))||(f===(15112))||(f===(89607))||(f===(120583))||(f===(95236))||(f===(309252))||(f===(35080))||(f===(137222))||(f===(458501))||(f===(463880))||(f===(69637))){$s=10;continue;}if(f===(10244)){$s=11;continue;}if(f===(35592)){$s=12;continue;}if((f===(455431))||(f===(261127))||(f===(67333))||(f===(100106))||(f===(139270))||(f===(29191))||(f===(37635))||(f===(92931))||(f===(386562))||(f===(140808))||(f===(142858))||(f===(149510))||(f===(62982))||(f===(209158))||(f===(182790))||(f===(231172))||(f===(4867))||(f===(79618))||(f===(3073))||(f===(354311))||(f===(459783))||(f===(42754))){$s=13;continue;}if((f===(89090))||(f===(187906))||(f===(199938))||(f===(214274))||(f===(216834))||(f===(412930))){$s=14;continue;}if((f===(290819))||(f===(305415))){$s=15;continue;}if(f===(159236)){$s=16;continue;}if(f===(45570)){$s=17;continue;}if((f===(186114))||(f===(412418))){$s=18;continue;}if(f===(111113)){$s=19;continue;}if(f===(102662)){$s=20;continue;}if(f===(1)){$s=21;continue;}if((f===(257))||(f===(94211))||(f===(378116))||(f===(28162))||(f===(16132))||(f===(1537))||(f===(9473))||(f===(132613))||(f===(53766))||(f===(449798))||(f===(26626))||(f===(2817))){$s=22;continue;}if(f===(14084)){$s=23;continue;}if((f===(203014))||(f===(206599))||(f===(157702))){$s=24;continue;}if(f===(365829)){$s=25;continue;}if((f===(218628))||(f===(514))||(f===(28165))||(f===(198403))||(f===(281349))||(f===(12806))||(f===(359427))){$s=26;continue;}if((f===(3077))||(f===(227334))||(f===(113157))){$s=27;continue;}if(f===(87810)){$s=28;continue;}if(f===(197125)){$s=29;continue;}if(f===(200455)){$s=30;continue;}if(f===(217608)){$s=31;continue;}if(f===(77571)){$s=32;continue;}if(f===(195590)){$s=33;continue;}if((f===(27655))||(f===(136712))){$s=34;continue;}if(f===(408582)){$s=35;continue;}if((f===(24328))||(f===(451334))){$s=36;continue;}if((f===(14850))||(f===(104963))){$s=37;continue;}if((f===(146434))||(f===(104962))){$s=38;continue;}if((f===(208388))||(f===(462339))){$s=39;continue;}if((f===(143623))||(f===(109315))||(f===(109320))||(f===(35589))||(f===(209156))||(f===(9989))||(f===(37378))||(f===(62725))||(f===(87554))||(f===(208901))||(f===(52226))){$s=40;continue;}$s=41;continue;case 9:if((a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).contains(463880)){$s=-1;return true;}AQ((g=a.oe,(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0])),$clone(a.tok,Q));$s=42;continue;case 10:h=AN(a);$s=43;case 43:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$s=44;case 44:return i;case 11:if((a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).contains(463880)){$s=-1;return true;}if(a.oe.$length>=2){k=(j=a.oe,(1>=j.$length?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+1]));if((k.Type===3)&&(k.DataAtom===10244)){a.framesetOK=false;AQ(k,$clone(a.tok,Q));}}$s=42;continue;case 12:if(!a.framesetOK||a.oe.$length<2||!(((l=a.oe,(1>=l.$length?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+1])).DataAtom===10244))){$s=-1;return true;}n=(m=a.oe,(1>=m.$length?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+1]));if(!(n.Parent===DE.nil)){n.Parent.RemoveChild(n);}a.oe=$subslice(a.oe,0,1);a.addElement();a.im=BD;$s=-1;return true;case 13:a.popUntil(2,new DD([3073]));a.addElement();$s=42;continue;case 14:a.popUntil(2,new DD([3073]));o=a.top();p=o.DataAtom;if((p===(89090))||(p===(187906))||(p===(199938))||(p===(214274))||(p===(216834))||(p===(412930))){(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).pop();}a.addElement();$s=42;continue;case 15:a.popUntil(2,new DD([3073]));a.addElement();a.framesetOK=false;$s=42;continue;case 16:if(!(a.form===DE.nil)&&!(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).contains(463880)){$s=-1;return true;}a.popUntil(2,new DD([3073]));a.addElement();if(!(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).contains(463880)){a.form=a.top();}$s=42;continue;case 17:a.framesetOK=false;q=a.oe.$length-1>>0;while(true){if(!(q>=0)){break;}s=(r=a.oe,((q<0||q>=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+q]));t=s.DataAtom;if(t===(45570)){a.oe=$subslice(a.oe,0,q);}else if((t===(455431))||(t===(92931))||(t===(3073))){q=q-(1)>>0;continue;}else if(!DA(s)){q=q-(1)>>0;continue;}break;}a.popUntil(2,new DD([3073]));a.addElement();$s=42;continue;case 18:a.framesetOK=false;u=a.oe.$length-1>>0;while(true){if(!(u>=0)){break;}w=(v=a.oe,((u<0||u>=v.$length)?($throwRuntimeError("index out of range"),undefined):v.$array[v.$offset+u]));x=w.DataAtom;if((x===(186114))||(x===(412418))){a.oe=$subslice(a.oe,0,u);}else if((x===(455431))||(x===(92931))||(x===(3073))){u=u-(1)>>0;continue;}else if(!DA(w)){u=u-(1)>>0;continue;}break;}a.popUntil(2,new DD([3073]));a.addElement();$s=42;continue;case 19:a.popUntil(2,new DD([3073]));a.addElement();$s=42;continue;case 20:a.popUntil(0,new DD([102662]));a.reconstructActiveFormattingElements();a.addElement();a.framesetOK=false;$s=42;continue;case 21:y=a.afe.$length-1>>0;while(true){if(!(y>=0&&!(((z=a.afe,((y<0||y>=z.$length)?($throwRuntimeError("index out of range"),undefined):z.$array[z.$offset+y])).Type===6)))){break;}ab=(aa=a.afe,((y<0||y>=aa.$length)?($throwRuntimeError("index out of range"),undefined):aa.$array[aa.$offset+y]));if((ab.Type===3)&&(ab.DataAtom===1)){a.inBodyEndTagFormatting(1,"a");(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).remove(ab);(a.$ptr_afe||(a.$ptr_afe=new DL(function(){return this.$target.afe;},function($v){this.$target.afe=$v;},a))).remove(ab);break;}y=y-(1)>>0;}a.reconstructActiveFormattingElements();a.addFormattingElement();$s=42;continue;case 22:a.reconstructActiveFormattingElements();a.addFormattingElement();$s=42;continue;case 23:a.reconstructActiveFormattingElements();if(a.elementInScope(0,new DD([14084]))){a.inBodyEndTagFormatting(14084,"nobr");a.reconstructActiveFormattingElements();}a.addFormattingElement();$s=42;continue;case 24:a.reconstructActiveFormattingElements();a.addElement();a.afe=$append(a.afe,BP);a.framesetOK=false;$s=42;continue;case 25:if(!a.quirks){a.popUntil(2,new DD([3073]));}a.addElement();a.framesetOK=false;a.im=AT;$s=-1;return true;case 26:a.reconstructActiveFormattingElements();a.addElement();(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).pop();a.acknowledgeSelfClosingTag();if(a.tok.DataAtom===281349){$s=45;continue;}$s=46;continue;case 45:ac=a.tok.Attr;ad=0;case 47:if(!(ad=ac.$length)?($throwRuntimeError("index out of range"),undefined):ac.$array[ac.$offset+ad]);if(ae.Key==="type"){$s=49;continue;}$s=50;continue;case 49:af=B.ToLower(ae.Val);$s=53;case 53:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}if(af==="hidden"){$s=51;continue;}$s=52;continue;case 51:$s=-1;return true;case 52:case 50:ad++;$s=47;continue;case 48:case 46:a.framesetOK=false;$s=42;continue;case 27:a.addElement();(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).pop();a.acknowledgeSelfClosingTag();$s=42;continue;case 28:a.popUntil(2,new DD([3073]));a.addElement();(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).pop();a.acknowledgeSelfClosingTag();a.framesetOK=false;$s=42;continue;case 29:a.tok.DataAtom=198403;a.tok.Data=new I.Atom(198403).String();$s=-1;return false;case 30:if(!(a.form===DE.nil)){$s=-1;return true;}ag="";ah="This is a searchable index. Enter search keywords: ";ai=new DG([new P.ptr("","name","isindex")]);aj=a.tok.Attr;ak=0;while(true){if(!(ak=aj.$length)?($throwRuntimeError("index out of range"),undefined):aj.$array[aj.$offset+ak]);am=al.Key;if(am===("action")){ag=al.Val;}else if(am===("name")){}else if(am===("prompt")){ah=al.Val;}else{ai=$append(ai,al);}ak++;}a.acknowledgeSelfClosingTag();a.popUntil(2,new DD([3073]));$r=a.parseImpliedToken(2,159236,new I.Atom(159236).String());$s=54;case 54:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(a.form===DE.nil){$s=-1;return true;}if(!(ag==="")){a.form.Attr=new DG([new P.ptr("","action",ag)]);}$r=a.parseImpliedToken(2,87810,new I.Atom(87810).String());$s=55;case 55:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=a.parseImpliedToken(2,22789,new I.Atom(22789).String());$s=56;case 56:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}a.addText(ah);a.addChild(new BQ.ptr(DE.nil,DE.nil,DE.nil,DE.nil,DE.nil,3,281349,new I.Atom(281349).String(),"",ai));(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).pop();$r=a.parseImpliedToken(3,22789,new I.Atom(22789).String());$s=57;case 57:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=a.parseImpliedToken(2,87810,new I.Atom(87810).String());$s=58;case 58:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=a.parseImpliedToken(3,159236,new I.Atom(159236).String());$s=59;case 59:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=42;continue;case 31:a.addElement();a.setOriginalIM();a.framesetOK=false;a.im=AS;$s=42;continue;case 32:a.popUntil(2,new DD([3073]));a.reconstructActiveFormattingElements();a.framesetOK=false;a.addElement();a.setOriginalIM();a.im=AS;$s=42;continue;case 33:a.framesetOK=false;a.addElement();a.setOriginalIM();a.im=AS;$s=42;continue;case 34:a.addElement();a.setOriginalIM();a.im=AS;$s=42;continue;case 35:a.reconstructActiveFormattingElements();a.addElement();a.framesetOK=false;a.im=AZ;$s=-1;return true;case 36:if(a.top().DataAtom===451334){(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).pop();}a.reconstructActiveFormattingElements();a.addElement();$s=42;continue;case 37:if(a.elementInScope(0,new DD([64260]))){a.generateImpliedEndTags(DH.nil);}a.addElement();$s=42;continue;case 38:if(a.elementInScope(0,new DD([64260]))){a.generateImpliedEndTags(new DH(["rtc"]));}a.addElement();$s=42;continue;case 39:a.reconstructActiveFormattingElements();if(a.tok.DataAtom===208388){BU(a.tok.Attr,CA);}else{BU(a.tok.Attr,CB);}BV(a.tok.Attr);a.addElement();a.top().Namespace=a.tok.Data;if(a.hasSelfClosingToken){(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).pop();a.acknowledgeSelfClosingTag();}$s=-1;return true;case 40:$s=42;continue;case 41:a.reconstructActiveFormattingElements();a.addElement();case 42:case 8:$s=7;continue;case 4:an=a.tok.DataAtom;if(an===(10244)){$s=61;continue;}if(an===(22020)){$s=62;continue;}if((an===(455431))||(an===(261127))||(an===(67333))||(an===(100106))||(an===(102662))||(an===(139270))||(an===(29191))||(an===(37635))||(an===(92931))||(an===(386562))||(an===(140808))||(an===(142858))||(an===(149510))||(an===(62982))||(an===(209158))||(an===(182790))||(an===(305415))||(an===(231172))||(an===(4867))||(an===(79618))||(an===(290819))||(an===(354311))||(an===(459783))||(an===(42754))){$s=63;continue;}if(an===(159236)){$s=64;continue;}if(an===(3073)){$s=65;continue;}if(an===(45570)){$s=66;continue;}if((an===(186114))||(an===(412418))){$s=67;continue;}if((an===(89090))||(an===(187906))||(an===(199938))||(an===(214274))||(an===(216834))||(an===(412930))){$s=68;continue;}if((an===(1))||(an===(257))||(an===(94211))||(an===(378116))||(an===(28162))||(an===(16132))||(an===(1537))||(an===(14084))||(an===(9473))||(an===(132613))||(an===(53766))||(an===(449798))||(an===(26626))||(an===(2817))){$s=69;continue;}if((an===(203014))||(an===(206599))||(an===(157702))){$s=70;continue;}if(an===(514)){$s=71;continue;}if(an===(463880)){$s=72;continue;}$s=73;continue;case 61:if(a.elementInScope(0,new DD([10244]))){a.im=BC;}$s=74;continue;case 62:if(a.elementInScope(0,new DD([10244]))){$s=75;continue;}$s=76;continue;case 75:$r=a.parseImpliedToken(3,10244,new I.Atom(10244).String());$s=77;case 77:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return false;case 76:$s=-1;return true;case 63:a.popUntil(0,new DD([a.tok.DataAtom]));$s=74;continue;case 64:if((a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).contains(463880)){ao=a.indexOfElementInScope(0,new DD([159236]));if(ao===-1){$s=-1;return true;}a.generateImpliedEndTags(DH.nil);if(!(((ap=a.oe,((ao<0||ao>=ap.$length)?($throwRuntimeError("index out of range"),undefined):ap.$array[ap.$offset+ao])).DataAtom===159236))){$s=-1;return true;}a.popUntil(0,new DD([159236]));}else{aq=a.form;a.form=DE.nil;ar=a.indexOfElementInScope(0,new DD([159236]));if(aq===DE.nil||(ar===-1)||!((as=a.oe,((ar<0||ar>=as.$length)?($throwRuntimeError("index out of range"),undefined):as.$array[as.$offset+ar]))===aq)){$s=-1;return true;}a.generateImpliedEndTags(DH.nil);(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).remove(aq);}$s=74;continue;case 65:if(!a.elementInScope(2,new DD([3073]))){$s=78;continue;}$s=79;continue;case 78:$r=a.parseImpliedToken(2,3073,new I.Atom(3073).String());$s=80;case 80:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 79:a.popUntil(2,new DD([3073]));$s=74;continue;case 66:a.popUntil(1,new DD([45570]));$s=74;continue;case 67:a.popUntil(0,new DD([a.tok.DataAtom]));$s=74;continue;case 68:a.popUntil(0,new DD([89090,187906,199938,214274,216834,412930]));$s=74;continue;case 69:a.inBodyEndTagFormatting(a.tok.DataAtom,a.tok.Data);$s=74;continue;case 70:if(a.popUntil(0,new DD([a.tok.DataAtom]))){a.clearActiveFormattingElements();}$s=74;continue;case 71:a.tok.Type=2;$s=-1;return false;case 72:at=AN(a);$s=81;case 81:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}au=at;$s=82;case 82:return au;case 73:a.inBodyEndTagOther(a.tok.DataAtom,a.tok.Data);case 74:case 60:$s=7;continue;case 5:a.addChild(new BQ.ptr(DE.nil,DE.nil,DE.nil,DE.nil,DE.nil,4,0,a.tok.Data,"",DG.nil));$s=7;continue;case 6:if(a.templateStack.$length>0){a.im=BB;$s=-1;return false;}else{av=a.oe;aw=0;while(true){if(!(aw=av.$length)?($throwRuntimeError("index out of range"),undefined):av.$array[av.$offset+aw]);ay=ax.DataAtom;if((ay===(186114))||(ay===(412418))||(ay===(45570))||(ay===(24328))||(ay===(451334))||(ay===(3073))||(ay===(14850))||(ay===(146434))||(ay===(104962))||(ay===(104963))||(ay===(9989))||(ay===(37378))||(ay===(62725))||(ay===(87554))||(ay===(208901))||(ay===(52226))||(ay===(10244))||(ay===(22020))){}else{$s=-1;return true;}aw++;}}case 7:case 1:$s=-1;return true;}return;}var $f={$blk:AR,$c:true,$r,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,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};AG.ptr.prototype.inBodyEndTagFormatting=function(a,b){var a,aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=this;d=0;while(true){if(!(d<8)){break;}e=DE.nil;f=c.afe.$length-1>>0;while(true){if(!(f>=0)){break;}if((g=c.afe,((f<0||f>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+f])).Type===6){break;}if((h=c.afe,((f<0||f>=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+f])).DataAtom===a){e=(i=c.afe,((f<0||f>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+f]));break;}f=f-(1)>>0;}if(e===DE.nil){c.inBodyEndTagOther(a,b);return;}j=(c.$ptr_oe||(c.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},c))).index(e);if(j===-1){(c.$ptr_afe||(c.$ptr_afe=new DL(function(){return this.$target.afe;},function($v){this.$target.afe=$v;},c))).remove(e);return;}if(!c.elementInScope(0,new DD([a]))){return;}k=DE.nil;l=$subslice(c.oe,j);m=0;while(true){if(!(m=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+m]);if(DA(n)){k=n;break;}m++;}if(k===DE.nil){o=(c.$ptr_oe||(c.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},c))).pop();while(true){if(!(!(o===e))){break;}o=(c.$ptr_oe||(c.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},c))).pop();}(c.$ptr_afe||(c.$ptr_afe=new DL(function(){return this.$target.afe;},function($v){this.$target.afe=$v;},c))).remove(o);return;}r=(p=c.oe,q=j-1>>0,((q<0||q>=p.$length)?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+q]));s=(c.$ptr_afe||(c.$ptr_afe=new DL(function(){return this.$target.afe;},function($v){this.$target.afe=$v;},c))).index(e);t=k;u=k;v=(c.$ptr_oe||(c.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},c))).index(u);w=0;while(true){if(!(w<3)){break;}v=v-(1)>>0;u=(x=c.oe,((v<0||v>=x.$length)?($throwRuntimeError("index out of range"),undefined):x.$array[x.$offset+v]));if((c.$ptr_afe||(c.$ptr_afe=new DL(function(){return this.$target.afe;},function($v){this.$target.afe=$v;},c))).index(u)===-1){(c.$ptr_oe||(c.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},c))).remove(u);w=w+(1)>>0;continue;}if(u===e){break;}y=u.clone();(z=c.afe,aa=(c.$ptr_afe||(c.$ptr_afe=new DL(function(){return this.$target.afe;},function($v){this.$target.afe=$v;},c))).index(u),((aa<0||aa>=z.$length)?($throwRuntimeError("index out of range"),undefined):z.$array[z.$offset+aa]=y));(ab=c.oe,ac=(c.$ptr_oe||(c.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},c))).index(u),((ac<0||ac>=ab.$length)?($throwRuntimeError("index out of range"),undefined):ab.$array[ab.$offset+ac]=y));u=y;if(t===k){s=(c.$ptr_afe||(c.$ptr_afe=new DL(function(){return this.$target.afe;},function($v){this.$target.afe=$v;},c))).index(u)+1>>0;}if(!(t.Parent===DE.nil)){t.Parent.RemoveChild(t);}u.AppendChild(t);t=u;w=w+(1)>>0;}if(!(t.Parent===DE.nil)){t.Parent.RemoveChild(t);}ad=r.DataAtom;if((ad===(365829))||(ad===(9989))||(ad===(62725))||(ad===(208901))||(ad===(52226))){c.fosterParent(t);}else{r.AppendChild(t);}ae=e.clone();BR(ae,k);k.AppendChild(ae);af=(c.$ptr_afe||(c.$ptr_afe=new DL(function(){return this.$target.afe;},function($v){this.$target.afe=$v;},c))).index(e);if(!((af===-1))&&af>0;}(c.$ptr_afe||(c.$ptr_afe=new DL(function(){return this.$target.afe;},function($v){this.$target.afe=$v;},c))).remove(e);(c.$ptr_afe||(c.$ptr_afe=new DL(function(){return this.$target.afe;},function($v){this.$target.afe=$v;},c))).insert(s,ae);(c.$ptr_oe||(c.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},c))).remove(e);(c.$ptr_oe||(c.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},c))).insert((c.$ptr_oe||(c.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},c))).index(k)+1>>0,ae);d=d+(1)>>0;}};AG.prototype.inBodyEndTagFormatting=function(a,b){return this.$val.inBodyEndTagFormatting(a,b);};AG.ptr.prototype.inBodyEndTagOther=function(a,b){var a,b,c,d,e,f,g;c=this;d=c.oe.$length-1>>0;while(true){if(!(d>=0)){break;}if((((e=c.oe,((d<0||d>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+d])).DataAtom===a))&&((!((a===0)))||((f=c.oe,((d<0||d>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+d])).Data===b))){c.oe=$subslice(c.oe,0,d);break;}if(DA((g=c.oe,((d<0||d>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+d])))){break;}d=d-(1)>>0;}};AG.prototype.inBodyEndTagOther=function(a,b){return this.$val.inBodyEndTagOther(a,b);};AS=function(a){var a,b,c,d;b=a.tok.Type;if(b===(0)){(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).pop();}else if(b===(1)){c=a.tok.Data;d=(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).top();if((d.DataAtom===217608)&&d.FirstChild===DE.nil){if(!(c==="")&&(c.charCodeAt(0)===13)){c=$substring(c,1);}if(!(c==="")&&(c.charCodeAt(0)===10)){c=$substring(c,1);}}if(c===""){return true;}a.addText(c);return true;}else if(b===(3)){(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).pop();}a.im=a.originalIM;a.originalIM=$throwNilPointerError;return a.tok.Type===3;};AT=function(a){var{a,aa,ab,ac,ad,ae,af,ag,ah,ai,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred,$r,$c}=$restore(this,{a});$s=$s||0;var $err=null;try{s:while(true){switch($s){case 0:$deferred=[];$curGoroutine.deferStack.push($deferred);a=[a];b=a[0].tok.Type;if(b===(1)){$s=2;continue;}if(b===(2)){$s=3;continue;}if(b===(3)){$s=4;continue;}if(b===(5)){$s=5;continue;}if(b===(6)){$s=6;continue;}if(b===(0)){$s=7;continue;}$s=8;continue;case 2:a[0].tok.Data=B.Replace(a[0].tok.Data,"\x00","",-1);c=(a[0].$ptr_oe||(a[0].$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a[0]))).top().DataAtom;if((c===(365829))||(c===(9989))||(c===(62725))||(c===(208901))||(c===(52226))){$s=10;continue;}$s=11;continue;case 10:if(B.Trim(a[0].tok.Data," \t\r\n\f")===""){$s=12;continue;}$s=13;continue;case 12:a[0].addText(a[0].tok.Data);d=true;$s=14;case 14:return d;case 13:case 11:case 9:$s=8;continue;case 3:e=a[0].tok.DataAtom;if(e===(143623)){$s=16;continue;}if(e===(109320)){$s=17;continue;}if(e===(109315)){$s=18;continue;}if((e===(9989))||(e===(62725))||(e===(208901))){$s=19;continue;}if((e===(37378))||(e===(87554))||(e===(52226))){$s=20;continue;}if(e===(365829)){$s=21;continue;}if((e===(458501))||(e===(137222))||(e===(463880))){$s=22;continue;}if(e===(281349)){$s=23;continue;}if(e===(159236)){$s=24;continue;}if(e===(408582)){$s=25;continue;}$s=26;continue;case 16:a[0].clearStackToContext(3);a[0].afe=$append(a[0].afe,BP);a[0].addElement();a[0].im=AU;f=true;$s=27;case 27:return f;case 17:a[0].clearStackToContext(3);a[0].addElement();a[0].im=AV;g=true;$s=28;case 28:return g;case 18:$r=a[0].parseImpliedToken(2,109320,new I.Atom(109320).String());$s=29;case 29:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h=false;$s=30;case 30:return h;case 19:a[0].clearStackToContext(3);a[0].addElement();a[0].im=AW;i=true;$s=31;case 31:return i;case 20:$r=a[0].parseImpliedToken(2,9989,new I.Atom(9989).String());$s=32;case 32:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=false;$s=33;case 33:return j;case 21:if(a[0].popUntil(3,new DD([365829]))){$s=34;continue;}$s=35;continue;case 34:a[0].resetInsertionMode();k=false;$s=36;case 36:return k;case 35:l=true;$s=37;case 37:return l;case 22:m=AN(a[0]);$s=38;case 38:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}n=m;$s=39;case 39:return n;case 23:o=a[0].tok.Attr;p=0;case 40:if(!(p=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]);if(!(q.Key==="type")){r=false;$s=44;continue s;}s=B.ToLower(q.Val);$s=45;case 45:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}r=s==="hidden";case 44:if(r){$s=42;continue;}$s=43;continue;case 42:a[0].addElement();(a[0].$ptr_oe||(a[0].$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a[0]))).pop();t=true;$s=46;case 46:return t;case 43:p++;$s=40;continue;case 41:$s=26;continue;case 24:if((a[0].$ptr_oe||(a[0].$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a[0]))).contains(463880)||!(a[0].form===DE.nil)){$s=47;continue;}$s=48;continue;case 47:u=true;$s=49;case 49:return u;case 48:a[0].addElement();a[0].form=(a[0].$ptr_oe||(a[0].$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a[0]))).pop();$s=26;continue;case 25:a[0].reconstructActiveFormattingElements();v=a[0].top().DataAtom;if((v===(365829))||(v===(9989))||(v===(62725))||(v===(208901))||(v===(52226))){a[0].fosterParenting=true;}a[0].addElement();a[0].fosterParenting=false;a[0].framesetOK=false;a[0].im=BA;w=true;$s=50;case 50:return w;case 26:case 15:$s=8;continue;case 4:x=a[0].tok.DataAtom;if(x===(365829)){$s=52;continue;}if((x===(10244))||(x===(143623))||(x===(109315))||(x===(109320))||(x===(22020))||(x===(9989))||(x===(37378))||(x===(62725))||(x===(87554))||(x===(208901))||(x===(52226))){$s=53;continue;}if(x===(463880)){$s=54;continue;}$s=55;continue;case 52:if(a[0].popUntil(3,new DD([365829]))){$s=56;continue;}$s=57;continue;case 56:a[0].resetInsertionMode();y=true;$s=58;case 58:return y;case 57:z=true;$s=59;case 59:return z;case 53:aa=true;$s=60;case 60:return aa;case 54:ab=AN(a[0]);$s=61;case 61:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}ac=ab;$s=62;case 62:return ac;case 55:case 51:$s=8;continue;case 5:a[0].addChild(new BQ.ptr(DE.nil,DE.nil,DE.nil,DE.nil,DE.nil,4,0,a[0].tok.Data,"",DG.nil));ad=true;$s=63;case 63:return ad;case 6:ae=true;$s=64;case 64:return ae;case 7:af=AR(a[0]);$s=65;case 65:if($c){$c=false;af=af.$blk();}if(af&&af.$blk!==undefined){break s;}ag=af;$s=66;case 66:return ag;case 8:case 1:a[0].fosterParenting=true;$deferred.push([(function(a){return function(){a[0].fosterParenting=false;};})(a),[]]);ah=AR(a[0]);$s=67;case 67:if($c){$c=false;ah=ah.$blk();}if(ah&&ah.$blk!==undefined){break s;}ai=ah;$s=68;case 68:return ai;}return;}}catch(err){$err=err;$s=-1;return false;}finally{$callDeferred($deferred,$err);if($curGoroutine.asleep){var $f={$blk:AT,$c:true,$r,a,aa,ab,ac,ad,ae,af,ag,ah,ai,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$deferred};return $f;}}};AU=function(a){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=a.tok.Type;if(b===(2)){c=a.tok.DataAtom;if((c===(143623))||(c===(109315))||(c===(109320))||(c===(9989))||(c===(37378))||(c===(62725))||(c===(208901))||(c===(52226))){if(a.popUntil(3,new DD([143623]))){a.clearActiveFormattingElements();a.im=AT;$s=-1;return false;}else{$s=-1;return true;}}else if(c===(408582)){a.reconstructActiveFormattingElements();a.addElement();a.framesetOK=false;a.im=BA;$s=-1;return true;}}else if(b===(3)){d=a.tok.DataAtom;if(d===(143623)){if(a.popUntil(3,new DD([143623]))){a.clearActiveFormattingElements();a.im=AT;}$s=-1;return true;}else if(d===(365829)){if(a.popUntil(3,new DD([143623]))){a.clearActiveFormattingElements();a.im=AT;$s=-1;return false;}else{$s=-1;return true;}}else if((d===(10244))||(d===(109315))||(d===(109320))||(d===(22020))||(d===(9989))||(d===(37378))||(d===(62725))||(d===(87554))||(d===(208901))||(d===(52226))){$s=-1;return true;}}e=AR(a);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$s=2;case 2:return f;}return;}var $f={$blk:AU,$c:true,$r,a,b,c,d,e,f,$s};return $f;};AV=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=a.tok.Type;if(b===(1)){$s=2;continue;}if(b===(5)){$s=3;continue;}if(b===(6)){$s=4;continue;}if(b===(2)){$s=5;continue;}if(b===(3)){$s=6;continue;}if(b===(0)){$s=7;continue;}$s=8;continue;case 2:c=B.TrimLeft(a.tok.Data," \t\r\n\f");if(c.length>0)));if(c===""){$s=-1;return true;}a.tok.Data=c;}$s=8;continue;case 3:a.addChild(new BQ.ptr(DE.nil,DE.nil,DE.nil,DE.nil,DE.nil,4,0,a.tok.Data,"",DG.nil));$s=-1;return true;case 4:$s=-1;return true;case 5:d=a.tok.DataAtom;if(d===(22020)){$s=10;continue;}if(d===(109315)){$s=11;continue;}if(d===(463880)){$s=12;continue;}$s=13;continue;case 10:e=AR(a);$s=14;case 14:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$s=15;case 15:return f;case 11:a.addElement();(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).pop();a.acknowledgeSelfClosingTag();$s=-1;return true;case 12:g=AN(a);$s=16;case 16:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;$s=17;case 17:return h;case 13:case 9:$s=8;continue;case 6:i=a.tok.DataAtom;if(i===(109320)){$s=19;continue;}if(i===(109315)){$s=20;continue;}if(i===(463880)){$s=21;continue;}$s=22;continue;case 19:if((a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).top().DataAtom===109320){(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).pop();a.im=AT;}$s=-1;return true;case 20:$s=-1;return true;case 21:j=AN(a);$s=23;case 23:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;$s=24;case 24:return k;case 22:case 18:$s=8;continue;case 7:l=AR(a);$s=25;case 25:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;$s=26;case 26:return m;case 8:case 1:if(!(((a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).top().DataAtom===109320))){$s=-1;return true;}(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).pop();a.im=AT;$s=-1;return false;}return;}var $f={$blk:AV,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};AW=function(a){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=a.tok.Type;if(b===(2)){$s=2;continue;}if(b===(3)){$s=3;continue;}if(b===(5)){$s=4;continue;}$s=5;continue;case 2:c=a.tok.DataAtom;if(c===(52226)){$s=7;continue;}if((c===(37378))||(c===(87554))){$s=8;continue;}if((c===(143623))||(c===(109315))||(c===(109320))||(c===(9989))||(c===(62725))||(c===(208901))){$s=9;continue;}$s=10;continue;case 7:a.clearStackToContext(5);a.addElement();a.im=AX;$s=-1;return true;case 8:$r=a.parseImpliedToken(2,52226,new I.Atom(52226).String());$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return false;case 9:if(a.popUntil(3,new DD([9989,208901,62725]))){a.im=AT;$s=-1;return false;}$s=-1;return true;case 10:case 6:$s=5;continue;case 3:d=a.tok.DataAtom;if((d===(9989))||(d===(62725))||(d===(208901))){if(a.elementInScope(3,new DD([a.tok.DataAtom]))){a.clearStackToContext(5);(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).pop();a.im=AT;}$s=-1;return true;}else if(d===(365829)){if(a.popUntil(3,new DD([9989,208901,62725]))){a.im=AT;$s=-1;return false;}$s=-1;return true;}else if((d===(10244))||(d===(143623))||(d===(109315))||(d===(109320))||(d===(22020))||(d===(37378))||(d===(87554))||(d===(52226))){$s=-1;return true;}$s=5;continue;case 4:a.addChild(new BQ.ptr(DE.nil,DE.nil,DE.nil,DE.nil,DE.nil,4,0,a.tok.Data,"",DG.nil));$s=-1;return true;case 5:case 1:e=AT(a);$s=12;case 12:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$s=13;case 13:return f;}return;}var $f={$blk:AW,$c:true,$r,a,b,c,d,e,f,$s};return $f;};AX=function(a){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=a.tok.Type;if(b===(2)){$s=2;continue;}if(b===(3)){$s=3;continue;}$s=4;continue;case 2:c=a.tok.DataAtom;if((c===(37378))||(c===(87554))){a.clearStackToContext(4);a.addElement();a.afe=$append(a.afe,BP);a.im=AY;$s=-1;return true;}else if((c===(143623))||(c===(109315))||(c===(109320))||(c===(9989))||(c===(62725))||(c===(208901))||(c===(52226))){if(a.popUntil(3,new DD([52226]))){a.im=AW;$s=-1;return false;}$s=-1;return true;}$s=4;continue;case 3:d=a.tok.DataAtom;if(d===(52226)){$s=6;continue;}if(d===(365829)){$s=7;continue;}if((d===(9989))||(d===(62725))||(d===(208901))){$s=8;continue;}if((d===(10244))||(d===(143623))||(d===(109315))||(d===(109320))||(d===(22020))||(d===(37378))||(d===(87554))){$s=9;continue;}$s=10;continue;case 6:if(a.popUntil(3,new DD([52226]))){a.im=AW;$s=-1;return true;}$s=-1;return true;case 7:if(a.popUntil(3,new DD([52226]))){a.im=AW;$s=-1;return false;}$s=-1;return true;case 8:if(a.elementInScope(3,new DD([a.tok.DataAtom]))){$s=11;continue;}$s=12;continue;case 11:$r=a.parseImpliedToken(3,52226,new I.Atom(52226).String());$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return false;case 12:$s=-1;return true;case 9:$s=-1;return true;case 10:case 5:case 4:case 1:e=AT(a);$s=14;case 14:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$s=15;case 15:return f;}return;}var $f={$blk:AX,$c:true,$r,a,b,c,d,e,f,$s};return $f;};AY=function(a){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=a.tok.Type;if(b===(2)){c=a.tok.DataAtom;if((c===(143623))||(c===(109315))||(c===(109320))||(c===(9989))||(c===(37378))||(c===(62725))||(c===(87554))||(c===(208901))||(c===(52226))){if(a.popUntil(3,new DD([37378,87554]))){a.clearActiveFormattingElements();a.im=AX;$s=-1;return false;}$s=-1;return true;}else if(c===(408582)){a.reconstructActiveFormattingElements();a.addElement();a.framesetOK=false;a.im=BA;$s=-1;return true;}}else if(b===(3)){d=a.tok.DataAtom;if((d===(37378))||(d===(87554))){if(!a.popUntil(3,new DD([a.tok.DataAtom]))){$s=-1;return true;}a.clearActiveFormattingElements();a.im=AX;$s=-1;return true;}else if((d===(10244))||(d===(143623))||(d===(109315))||(d===(109320))||(d===(22020))){$s=-1;return true;}else if((d===(365829))||(d===(9989))||(d===(62725))||(d===(208901))||(d===(52226))){if(!a.elementInScope(3,new DD([a.tok.DataAtom]))){$s=-1;return true;}if(a.popUntil(3,new DD([37378,87554]))){a.clearActiveFormattingElements();}a.im=AX;$s=-1;return false;}}e=AR(a);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$s=2;case 2:return f;}return;}var $f={$blk:AY,$c:true,$r,a,b,c,d,e,f,$s};return $f;};AZ=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=a.tok.Type;if(b===(1)){$s=2;continue;}if(b===(2)){$s=3;continue;}if(b===(3)){$s=4;continue;}if(b===(5)){$s=5;continue;}if(b===(6)){$s=6;continue;}if(b===(0)){$s=7;continue;}$s=8;continue;case 2:a.addText(B.Replace(a.tok.Data,"\x00","",-1));$s=8;continue;case 3:c=a.tok.DataAtom;if(c===(22020)){$s=10;continue;}if(c===(451334)){$s=11;continue;}if(c===(24328)){$s=12;continue;}if(c===(408582)){$s=13;continue;}if((c===(281349))||(c===(12806))||(c===(217608))){$s=14;continue;}if((c===(137222))||(c===(463880))){$s=15;continue;}$s=16;continue;case 10:d=AR(a);$s=17;case 17:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=18;case 18:return e;case 11:if(a.top().DataAtom===451334){(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).pop();}a.addElement();$s=16;continue;case 12:if(a.top().DataAtom===451334){(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).pop();}if(a.top().DataAtom===24328){(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).pop();}a.addElement();$s=16;continue;case 13:if(a.popUntil(6,new DD([408582]))){a.resetInsertionMode();}else{$s=-1;return true;}$s=16;continue;case 14:if(a.elementInScope(6,new DD([408582]))){$s=19;continue;}$s=20;continue;case 19:$r=a.parseImpliedToken(3,408582,new I.Atom(408582).String());$s=21;case 21:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return false;case 20:a.tokenizer.NextIsNotRawText();$s=-1;return true;case 15:f=AN(a);$s=22;case 22:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;$s=23;case 23:return g;case 16:case 9:$s=8;continue;case 4:h=a.tok.DataAtom;if(h===(451334)){$s=25;continue;}if(h===(24328)){$s=26;continue;}if(h===(408582)){$s=27;continue;}if(h===(463880)){$s=28;continue;}$s=29;continue;case 25:if(a.top().DataAtom===451334){(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).pop();}$s=29;continue;case 26:i=a.oe.$length-1>>0;if((j=a.oe,((i<0||i>=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+i])).DataAtom===451334){i=i-(1)>>0;}if((k=a.oe,((i<0||i>=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+i])).DataAtom===24328){a.oe=$subslice(a.oe,0,i);}$s=29;continue;case 27:if(a.popUntil(6,new DD([408582]))){a.resetInsertionMode();}else{$s=-1;return true;}$s=29;continue;case 28:l=AN(a);$s=30;case 30:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;$s=31;case 31:return m;case 29:case 24:$s=8;continue;case 5:a.addChild(new BQ.ptr(DE.nil,DE.nil,DE.nil,DE.nil,DE.nil,4,0,a.tok.Data,"",DG.nil));$s=8;continue;case 6:$s=-1;return true;case 7:n=AR(a);$s=32;case 32:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;$s=33;case 33:return o;case 8:case 1:$s=-1;return true;}return;}var $f={$blk:AZ,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};BA=function(a){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=a.tok.Type;if((b===(2))||(b===(3))){c=a.tok.DataAtom;if((c===(143623))||(c===(365829))||(c===(9989))||(c===(62725))||(c===(208901))||(c===(52226))||(c===(37378))||(c===(87554))){if((a.tok.Type===3)&&!a.elementInScope(3,new DD([a.tok.DataAtom]))){$s=-1;return true;}d=a.oe.$length-1>>0;while(true){if(!(d>=0)){break;}f=(e=a.oe,((d<0||d>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+d]));if(f.DataAtom===408582){a.oe=$subslice(a.oe,0,d);break;}d=d-(1)>>0;}a.resetInsertionMode();$s=-1;return false;}}g=AZ(a);$s=1;case 1:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;$s=2;case 2:return h;}return;}var $f={$blk:BA,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BB=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=a.tok.Type;if((b===(1))||(b===(5))||(b===(6))){$s=2;continue;}if(b===(2)){$s=3;continue;}if(b===(3)){$s=4;continue;}if(b===(0)){$s=5;continue;}$s=6;continue;case 2:c=AR(a);$s=7;case 7:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$s=8;case 8:return d;case 3:e=a.tok.DataAtom;if((e===(15108))||(e===(15112))||(e===(89607))||(e===(95236))||(e===(309252))||(e===(35080))||(e===(137222))||(e===(458501))||(e===(463880))||(e===(69637))){$s=10;continue;}if((e===(143623))||(e===(109320))||(e===(9989))||(e===(62725))||(e===(208901))){$s=11;continue;}if(e===(109315)){$s=12;continue;}if(e===(52226)){$s=13;continue;}if((e===(37378))||(e===(87554))){$s=14;continue;}$s=15;continue;case 10:f=AN(a);$s=17;case 17:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;$s=18;case 18:return g;case 11:(a.$ptr_templateStack||(a.$ptr_templateStack=new DM(function(){return this.$target.templateStack;},function($v){this.$target.templateStack=$v;},a))).pop();a.templateStack=$append(a.templateStack,AT);a.im=AT;$s=-1;return false;case 12:(a.$ptr_templateStack||(a.$ptr_templateStack=new DM(function(){return this.$target.templateStack;},function($v){this.$target.templateStack=$v;},a))).pop();a.templateStack=$append(a.templateStack,AV);a.im=AV;$s=-1;return false;case 13:(a.$ptr_templateStack||(a.$ptr_templateStack=new DM(function(){return this.$target.templateStack;},function($v){this.$target.templateStack=$v;},a))).pop();a.templateStack=$append(a.templateStack,AW);a.im=AW;$s=-1;return false;case 14:(a.$ptr_templateStack||(a.$ptr_templateStack=new DM(function(){return this.$target.templateStack;},function($v){this.$target.templateStack=$v;},a))).pop();a.templateStack=$append(a.templateStack,AX);a.im=AX;$s=-1;return false;case 15:(a.$ptr_templateStack||(a.$ptr_templateStack=new DM(function(){return this.$target.templateStack;},function($v){this.$target.templateStack=$v;},a))).pop();a.templateStack=$append(a.templateStack,AR);a.im=AR;$s=-1;return false;case 16:case 9:$s=6;continue;case 4:h=a.tok.DataAtom;if(h===(463880)){$s=20;continue;}$s=21;continue;case 20:i=AN(a);$s=23;case 23:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=i;$s=24;case 24:return j;case 21:$s=-1;return true;case 22:case 19:$s=6;continue;case 5:if(!(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).contains(463880)){$s=-1;return true;}a.generateImpliedEndTags(DH.nil);k=a.oe.$length-1>>0;while(true){if(!(k>=0)){break;}m=(l=a.oe,((k<0||k>=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+k]));if(m.Namespace===""&&(m.DataAtom===463880)){a.oe=$subslice(a.oe,0,k);break;}k=k-(1)>>0;}a.clearActiveFormattingElements();(a.$ptr_templateStack||(a.$ptr_templateStack=new DM(function(){return this.$target.templateStack;},function($v){this.$target.templateStack=$v;},a))).pop();a.resetInsertionMode();$s=-1;return false;case 6:case 1:$s=-1;return false;}return;}var $f={$blk:BB,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};BC=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=a.tok.Type;if(b===(0)){$s=2;continue;}if(b===(1)){$s=3;continue;}if(b===(2)){$s=4;continue;}if(b===(3)){$s=5;continue;}if(b===(5)){$s=6;continue;}$s=7;continue;case 2:$s=-1;return true;case 3:c=B.TrimLeft(a.tok.Data," \t\r\n\f");if(c.length===0){$s=8;continue;}$s=9;continue;case 8:d=AR(a);$s=10;case 10:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=11;case 11:return e;case 9:$s=7;continue;case 4:if(a.tok.DataAtom===22020){$s=12;continue;}$s=13;continue;case 12:f=AR(a);$s=14;case 14:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;$s=15;case 15:return g;case 13:$s=7;continue;case 5:if(a.tok.DataAtom===22020){if(!a.fragment){a.im=BF;}$s=-1;return true;}$s=7;continue;case 6:if(a.oe.$length<1||!(((h=a.oe,(0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0])).DataAtom===22020))){$panic(new $String("html: bad parser state: element not found, in the after-body insertion mode"));}(i=a.oe,(0>=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+0])).AppendChild(new BQ.ptr(DE.nil,DE.nil,DE.nil,DE.nil,DE.nil,4,0,a.tok.Data,"",DG.nil));$s=-1;return true;case 7:case 1:a.im=AR;$s=-1;return false;}return;}var $f={$blk:BC,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BD=function(a){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=a.tok.Type;if(b===(5)){$s=2;continue;}if(b===(1)){$s=3;continue;}if(b===(2)){$s=4;continue;}if(b===(3)){$s=5;continue;}$s=6;continue;case 2:a.addChild(new BQ.ptr(DE.nil,DE.nil,DE.nil,DE.nil,DE.nil,4,0,a.tok.Data,"",DG.nil));$s=6;continue;case 3:c=B.Map((function(c){var c,d;d=c;if((d===(32))||(d===(9))||(d===(10))||(d===(12))||(d===(13))){return c;}return-1;}),a.tok.Data);$s=7;case 7:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(!(d==="")){a.addText(d);}$s=6;continue;case 4:e=a.tok.DataAtom;if(e===(22020)){$s=9;continue;}if(e===(35592)){$s=10;continue;}if(e===(35589)){$s=11;continue;}if(e===(35080)){$s=12;continue;}$s=13;continue;case 9:f=AR(a);$s=14;case 14:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;$s=15;case 15:return g;case 10:a.addElement();$s=13;continue;case 11:a.addElement();(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).pop();a.acknowledgeSelfClosingTag();$s=13;continue;case 12:h=AN(a);$s=16;case 16:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$s=17;case 17:return i;case 13:case 8:$s=6;continue;case 5:j=a.tok.DataAtom;if(j===(35592)){if(!(((a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).top().DataAtom===22020))){(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).pop();if(!(((a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).top().DataAtom===35592))){a.im=BE;$s=-1;return true;}}}case 6:case 1:$s=-1;return true;}return;}var $f={$blk:BD,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};BE=function(a){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=a.tok.Type;if(b===(5)){$s=2;continue;}if(b===(1)){$s=3;continue;}if(b===(2)){$s=4;continue;}if(b===(3)){$s=5;continue;}$s=6;continue;case 2:a.addChild(new BQ.ptr(DE.nil,DE.nil,DE.nil,DE.nil,DE.nil,4,0,a.tok.Data,"",DG.nil));$s=6;continue;case 3:c=B.Map((function(c){var c,d;d=c;if((d===(32))||(d===(9))||(d===(10))||(d===(12))||(d===(13))){return c;}return-1;}),a.tok.Data);$s=7;case 7:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(!(d==="")){a.addText(d);}$s=6;continue;case 4:e=a.tok.DataAtom;if(e===(22020)){$s=9;continue;}if(e===(35080)){$s=10;continue;}$s=11;continue;case 9:f=AR(a);$s=12;case 12:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;$s=13;case 13:return g;case 10:h=AN(a);$s=14;case 14:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$s=15;case 15:return i;case 11:case 8:$s=6;continue;case 5:j=a.tok.DataAtom;if(j===(22020)){a.im=BG;$s=-1;return true;}case 6:case 1:$s=-1;return true;}return;}var $f={$blk:BE,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};BF=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=a.tok.Type;if(b===(0)){$s=2;continue;}if(b===(1)){$s=3;continue;}if(b===(2)){$s=4;continue;}if(b===(5)){$s=5;continue;}if(b===(6)){$s=6;continue;}$s=7;continue;case 2:$s=-1;return true;case 3:c=B.TrimLeft(a.tok.Data," \t\r\n\f");if(c.length===0){$s=8;continue;}$s=9;continue;case 8:d=AR(a);$s=10;case 10:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;$s=11;case 11:return e;case 9:$s=7;continue;case 4:if(a.tok.DataAtom===22020){$s=12;continue;}$s=13;continue;case 12:f=AR(a);$s=14;case 14:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;$s=15;case 15:return g;case 13:$s=7;continue;case 5:a.doc.AppendChild(new BQ.ptr(DE.nil,DE.nil,DE.nil,DE.nil,DE.nil,4,0,a.tok.Data,"",DG.nil));$s=-1;return true;case 6:h=AR(a);$s=16;case 16:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$s=17;case 17:return i;case 7:case 1:a.im=AR;$s=-1;return false;}return;}var $f={$blk:BF,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};BG=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=a.tok.Type;if(b===(5)){$s=2;continue;}if(b===(1)){$s=3;continue;}if(b===(2)){$s=4;continue;}if(b===(6)){$s=5;continue;}$s=6;continue;case 2:a.doc.AppendChild(new BQ.ptr(DE.nil,DE.nil,DE.nil,DE.nil,DE.nil,4,0,a.tok.Data,"",DG.nil));$s=6;continue;case 3:c=B.Map((function(c){var c,d;d=c;if((d===(32))||(d===(9))||(d===(10))||(d===(12))||(d===(13))){return c;}return-1;}),a.tok.Data);$s=7;case 7:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;if(!(d==="")){$s=8;continue;}$s=9;continue;case 8:a.tok.Data=d;e=AR(a);$s=10;case 10:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;$s=11;case 11:return f;case 9:$s=6;continue;case 4:g=a.tok.DataAtom;if(g===(22020)){$s=13;continue;}if(g===(35080)){$s=14;continue;}$s=15;continue;case 13:h=AR(a);$s=16;case 16:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;$s=17;case 17:return i;case 14:j=AN(a);$s=18;case 18:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;$s=19;case 19:return k;case 15:case 12:$s=6;continue;case 5:l=AR(a);$s=20;case 20:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;$s=21;case 21:return m;case 6:case 1:$s=-1;return true;}return;}var $f={$blk:BG,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};BH=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=a.tok.Type;if(b===(1)){$s=2;continue;}if(b===(5)){$s=3;continue;}if(b===(2)){$s=4;continue;}if(b===(3)){$s=5;continue;}$s=6;continue;case 2:if(a.framesetOK){a.framesetOK=B.TrimLeft(a.tok.Data," \t\r\n\f\x00")==="";}a.tok.Data=B.Replace(a.tok.Data,"\x00","\xEF\xBF\xBD",-1);a.addText(a.tok.Data);$s=6;continue;case 3:a.addChild(new BQ.ptr(DE.nil,DE.nil,DE.nil,DE.nil,DE.nil,4,0,a.tok.Data,"",DG.nil));$s=6;continue;case 4:d=(c=$mapIndex(BY,$String.keyFor(a.tok.Data)),c!==undefined?c.v:false);if(a.tok.DataAtom===16132){e=a.tok.Attr;f=0;loop:while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);h=g.Key;if(h===("color")||h===("face")||h===("size")){d=true;break loop;}f++;}}if(d){$s=7;continue;}$s=8;continue;case 7:i=a.oe.$length-1>>0;case 9:if(!(i>=0)){$s=10;continue;}k=(j=a.oe,((i<0||i>=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+i]));if(k.Namespace===""){l=true;$s=13;continue s;}m=BW(k);$s=14;case 14:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;case 13:if(l||BX(k)){$s=11;continue;}$s=12;continue;case 11:a.oe=$subslice(a.oe,0,(i+1>>0));$s=10;continue;case 12:i=i-(1)>>0;$s=9;continue;case 10:$s=-1;return false;case 8:n=a.top().Namespace;if(n===("math")){BU(a.tok.Attr,CA);}else if(n===("svg")){p=(o=$mapIndex(BZ,$String.keyFor(a.tok.Data)),o!==undefined?o.v:"");if(!(p==="")){a.tok.DataAtom=I.Lookup((new DC($stringToBytes(p))));a.tok.Data=p;}BU(a.tok.Attr,CB);}else{$panic(new $String("html: bad parser state: unexpected namespace"));}BV(a.tok.Attr);q=a.top().Namespace;a.addElement();a.top().Namespace=q;if(!(q==="")){a.tokenizer.NextIsNotRawText();}if(a.hasSelfClosingToken){(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).pop();a.acknowledgeSelfClosingTag();}$s=6;continue;case 5:r=a.oe.$length-1>>0;case 15:if(!(r>=0)){$s=16;continue;}if((s=a.oe,((r<0||r>=s.$length)?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+r])).Namespace===""){$s=17;continue;}$s=18;continue;case 17:t=a.im(a);$s=19;case 19:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}u=t;$s=20;case 20:return u;case 18:if(B.EqualFold((v=a.oe,((r<0||r>=v.$length)?($throwRuntimeError("index out of range"),undefined):v.$array[v.$offset+r])).Data,a.tok.Data)){a.oe=$subslice(a.oe,0,r);$s=16;continue;}r=r-(1)>>0;$s=15;continue;case 16:$s=-1;return true;case 6:case 1:$s=-1;return true;}return;}var $f={$blk:BH,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,$s};return $f;};AG.ptr.prototype.inForeignContent=function(){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;if(a.oe.$length===0){$s=-1;return false;}d=(b=a.oe,c=a.oe.$length-1>>0,((c<0||c>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c]));if(d.Namespace===""){$s=-1;return false;}if(BX(d)){if((a.tok.Type===2)&&!((a.tok.DataAtom===198662))&&!((a.tok.DataAtom===45066))){$s=-1;return false;}if(a.tok.Type===1){$s=-1;return false;}}if(d.Namespace==="math"&&(d.DataAtom===117006)&&(a.tok.Type===2)&&(a.tok.DataAtom===462339)){$s=-1;return false;}e=BW(d);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}if(e&&((a.tok.Type===2)||(a.tok.Type===1))){$s=1;continue;}$s=2;continue;case 1:$s=-1;return false;case 2:if(a.tok.Type===0){$s=-1;return false;}$s=-1;return true;}return;}var $f={$blk:AG.ptr.prototype.inForeignContent,$c:true,$r,a,b,c,d,e,$s};return $f;};AG.prototype.inForeignContent=function(){return this.$val.inForeignContent();};AG.ptr.prototype.parseImpliedToken=function(a,b,c){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=this;e=$clone(d.tok,Q);f=d.hasSelfClosingToken;g=$clone(e,Q);h=f;Q.copy(d.tok,new Q.ptr(a,b,c,DG.nil));d.hasSelfClosingToken=false;$r=d.parseCurrentToken();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=$clone(g,Q);j=h;Q.copy(d.tok,i);d.hasSelfClosingToken=j;$s=-1;return;}return;}var $f={$blk:AG.ptr.prototype.parseImpliedToken,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};AG.prototype.parseImpliedToken=function(a,b,c){return this.$val.parseImpliedToken(a,b,c);};AG.ptr.prototype.parseCurrentToken=function(){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;if(a.tok.Type===4){a.hasSelfClosingToken=true;a.tok.Type=2;}b=false;case 1:if(!(!b)){$s=2;continue;}c=a.inForeignContent();$s=6;case 6:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}if(c){$s=3;continue;}$s=4;continue;case 3:d=BH(a);$s=7;case 7:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}b=d;$s=5;continue;case 4:e=a.im(a);$s=8;case 8:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}b=e;case 5:$s=1;continue;case 2:if(a.hasSelfClosingToken){a.hasSelfClosingToken=false;}$s=-1;return;}return;}var $f={$blk:AG.ptr.prototype.parseCurrentToken,$c:true,$r,a,b,c,d,e,$s};return $f;};AG.prototype.parseCurrentToken=function(){return this.$val.parseCurrentToken();};AG.ptr.prototype.parse=function(){var{a,b,c,d,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;b=$ifaceNil;case 1:if(!(!($interfaceIsEqual(b,G.EOF)))){$s=2;continue;}c=(a.$ptr_oe||(a.$ptr_oe=new DL(function(){return this.$target.oe;},function($v){this.$target.oe=$v;},a))).top();a.tokenizer.AllowCDATA(!(c===DE.nil)&&!(c.Namespace===""));d=a.tokenizer.Next();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}d;Q.copy(a.tok,a.tokenizer.Token());if(a.tok.Type===0){b=a.tokenizer.Err();if(!($interfaceIsEqual(b,$ifaceNil))&&!($interfaceIsEqual(b,G.EOF))){$s=-1;return b;}}$r=a.parseCurrentToken();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=1;continue;case 2:$s=-1;return $ifaceNil;}return;}var $f={$blk:AG.ptr.prototype.parse,$c:true,$r,a,b,c,d,$s};return $f;};AG.prototype.parse=function(){return this.$val.parse();};BI=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=BM(a,DN.nil);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$s=2;case 2:return c;}return;}var $f={$blk:BI,$c:true,$r,a,b,c,$s};return $f;};$pkg.Parse=BI;BJ=function(a,b){var{a,b,c,d,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=BN(a,b,DN.nil);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$s=2;case 2:return d;}return;}var $f={$blk:BJ,$c:true,$r,a,b,c,d,$s};return $f;};$pkg.ParseFragment=BJ;BM=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=X(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=new AG.ptr(c,new Q.ptr(0,0,"",DG.nil),false,new BQ.ptr(DE.nil,DE.nil,DE.nil,DE.nil,DE.nil,2,0,"","",DG.nil),BS.nil,BS.nil,DE.nil,DE.nil,true,true,BT.nil,AK,$throwNilPointerError,false,false,false,DE.nil);e=b;f=0;case 2:if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);$r=g(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f++;$s=2;continue;case 3:h=d.parse();$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;if(!($interfaceIsEqual(i,$ifaceNil))){$s=-1;return[DE.nil,i];}$s=-1;return[d.doc,$ifaceNil];}return;}var $f={$blk:BM,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};$pkg.ParseWithOptions=BM;BN=function(a,b,c){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d="";if(!(b===DE.nil)){if(!((b.Type===3))){$s=-1;return[DP.nil,F.New("html: ParseFragment of non-element Node")];}if(!((b.DataAtom===I.Lookup((new DC($stringToBytes(b.Data))))))){$s=-1;return[DP.nil,F.New("html: inconsistent Node: DataAtom="+A.Itoa(((b.DataAtom>>0)))+", Data="+b.Data)];}d=new I.Atom(b.DataAtom).String();}e=Y(a,d);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=new AG.ptr(e,new Q.ptr(0,0,"",DG.nil),false,new BQ.ptr(DE.nil,DE.nil,DE.nil,DE.nil,DE.nil,2,0,"","",DG.nil),BS.nil,BS.nil,DE.nil,DE.nil,true,false,BT.nil,$throwNilPointerError,$throwNilPointerError,false,false,true,b);g=c;h=0;case 2:if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);$r=i(f);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}h++;$s=2;continue;case 3:j=new BQ.ptr(DE.nil,DE.nil,DE.nil,DE.nil,DE.nil,3,22020,new I.Atom(22020).String(),"",DG.nil);f.doc.AppendChild(j);f.oe=new BS([j]);if(!(b===DE.nil)&&(b.DataAtom===463880)){f.templateStack=$append(f.templateStack,BB);}f.resetInsertionMode();k=b;while(true){if(!(!(k===DE.nil))){break;}if((k.Type===3)&&(k.DataAtom===159236)){f.form=k;break;}k=k.Parent;}l=f.parse();$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;if(!($interfaceIsEqual(m,$ifaceNil))){$s=-1;return[DP.nil,m];}n=f.doc;if(!(b===DE.nil)){n=j;}o=DP.nil;p=n.FirstChild;while(true){if(!(!(p===DE.nil))){break;}q=p.NextSibling;n.RemoveChild(p);o=$append(o,p);p=q;}$s=-1;return[o,$ifaceNil];}return;}var $f={$blk:BN,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s};return $f;};$pkg.ParseFragmentWithOptions=BN;BQ.ptr.prototype.Unlink=function(){var a;a=this;if(!(DE.nil===a.PrevSibling)){a.PrevSibling.NextSibling=a.NextSibling;}else if(!(DE.nil===a.Parent)){a.Parent.FirstChild=a.NextSibling;}if(!(DE.nil===a.NextSibling)){a.NextSibling.PrevSibling=a.PrevSibling;}else if(!(DE.nil===a.Parent)){a.Parent.LastChild=a.PrevSibling;}a.Parent=DE.nil;a.NextSibling=DE.nil;a.PrevSibling=DE.nil;};BQ.prototype.Unlink=function(){return this.$val.Unlink();};BQ.ptr.prototype.InsertBefore=function(a){var a,b;b=this;a.Unlink();a.PrevSibling=b.PrevSibling;if(!(DE.nil===a.PrevSibling)){a.PrevSibling.NextSibling=a;}a.NextSibling=b;b.PrevSibling=a;a.Parent=b.Parent;if(!(DE.nil===a.Parent)&&DE.nil===a.PrevSibling){a.Parent.FirstChild=a;}};BQ.prototype.InsertBefore=function(a){return this.$val.InsertBefore(a);};BQ.ptr.prototype.InsertAfter=function(a){var a,b;b=this;a.Unlink();a.NextSibling=b.NextSibling;if(!(DE.nil===a.NextSibling)){a.NextSibling.PrevSibling=a;}a.PrevSibling=b;b.NextSibling=a;a.Parent=b.Parent;if(DE.nil===a.NextSibling&&!(DE.nil===a.Parent)){a.Parent.LastChild=a;}};BQ.prototype.InsertAfter=function(a){return this.$val.InsertAfter(a);};BQ.ptr.prototype.InsertChildBefore=function(a,b){var a,b,c,d,e,f,g,h,i;c=this;if(!(a.Parent===DE.nil)||!(a.PrevSibling===DE.nil)||!(a.NextSibling===DE.nil)){$panic(new $String("html: InsertChildBefore called for an attached child Node"));}d=DE.nil;e=DE.nil;f=d;g=e;if(!(b===DE.nil)){h=b.PrevSibling;i=b;f=h;g=i;}else{f=c.LastChild;}if(!(f===DE.nil)){f.NextSibling=a;}else{c.FirstChild=a;}if(!(g===DE.nil)){g.PrevSibling=a;}else{c.LastChild=a;}a.Parent=c;a.PrevSibling=f;a.NextSibling=g;};BQ.prototype.InsertChildBefore=function(a,b){return this.$val.InsertChildBefore(a,b);};BQ.ptr.prototype.AppendChild=function(a){var a,b,c;b=this;if(!(a.Parent===DE.nil)||!(a.PrevSibling===DE.nil)||!(a.NextSibling===DE.nil)){$panic(new $String("html: AppendChild called for an attached child Node"));}c=b.LastChild;if(!(c===DE.nil)){c.NextSibling=a;}else{b.FirstChild=a;}b.LastChild=a;a.Parent=b;a.PrevSibling=c;};BQ.prototype.AppendChild=function(a){return this.$val.AppendChild(a);};BQ.ptr.prototype.RemoveChild=function(a){var a,b;b=this;if(!(a.Parent===b)){$panic(new $String("html: RemoveChild called for a non-child Node"));}if(b.FirstChild===a){b.FirstChild=a.NextSibling;}if(!(a.NextSibling===DE.nil)){a.NextSibling.PrevSibling=a.PrevSibling;}if(b.LastChild===a){b.LastChild=a.PrevSibling;}if(!(a.PrevSibling===DE.nil)){a.PrevSibling.NextSibling=a.NextSibling;}a.Parent=DE.nil;a.PrevSibling=DE.nil;a.NextSibling=DE.nil;};BQ.prototype.RemoveChild=function(a){return this.$val.RemoveChild(a);};BR=function(a,b){var a,b,c;while(true){c=b.FirstChild;if(c===DE.nil){break;}b.RemoveChild(c);a.AppendChild(c);}};BQ.ptr.prototype.clone=function(){var a,b;a=this;b=new BQ.ptr(DE.nil,DE.nil,DE.nil,DE.nil,DE.nil,a.Type,a.DataAtom,a.Data,"",$makeSlice(DG,a.Attr.$length));$copySlice(b.Attr,a.Attr);return b;};BQ.prototype.clone=function(){return this.$val.clone();};$ptrType(BS).prototype.pop=function(){var a,b,c,d,e;a=this;b=a.$get().$length;e=(c=a.$get(),d=b-1>>0,((d<0||d>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]));a.$set($subslice((a.$get()),0,(b-1>>0)));return e;};$ptrType(BS).prototype.top=function(){var a,b,c,d;a=this;b=a.$get().$length;if(b>0){return(c=a.$get(),d=b-1>>0,((d<0||d>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]));}return DE.nil;};$ptrType(BS).prototype.index=function(a){var a,b,c,d;b=this;c=b.$get().$length-1>>0;while(true){if(!(c>=0)){break;}if((d=b.$get(),((c<0||c>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+c]))===a){return c;}c=c-(1)>>0;}return-1;};$ptrType(BS).prototype.contains=function(a){var a,b,c,d,e;b=this;c=b.$get();d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if((e.DataAtom===a)&&e.Namespace===""){return true;}d++;}return false;};$ptrType(BS).prototype.insert=function(a,b){var a,b,c,d;c=this;c.$set($append(c.$get(),DE.nil));$copySlice($subslice((c.$get()),(a+1>>0)),$subslice((c.$get()),a));(d=c.$get(),((a<0||a>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+a]=b));};$ptrType(BS).prototype.remove=function(a){var a,b,c,d,e;b=this;c=b.index(a);if(c===-1){return;}$copySlice($subslice((b.$get()),c),$subslice((b.$get()),(c+1>>0)));d=b.$get().$length-1>>0;(e=b.$get(),((d<0||d>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+d]=DE.nil));b.$set($subslice((b.$get()),0,d));};$ptrType(BT).prototype.pop=function(){var a,b,c,d,e;a=$throwNilPointerError;b=this;c=b.$get().$length;a=(d=b.$get(),e=c-1>>0,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]));b.$set($subslice((b.$get()),0,(c-1>>0)));a=a;return a;};$ptrType(BT).prototype.top=function(){var a,b,c,d;a=this;b=a.$get().$length;if(b>0){return(c=a.$get(),d=b-1>>0,((d<0||d>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]));}return $throwNilPointerError;};BU=function(a,b){var a,b,c,d,e,f,g,h,i;c=a;d=0;while(true){if(!(d=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+e]).Key)),g!==undefined?[g.v,true]:["",false]);h=f[0];i=f[1];if(i){((e<0||e>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+e]).Key=h;}d++;}};BV=function(a){var a,b,c,d,e,f,g;b=a;c=0;while(true){if(!(c=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c]);if(e.Key===""||!((e.Key.charCodeAt(0)===120))){c++;continue;}f=e.Key;if(f===("xlink:actuate")||f===("xlink:arcrole")||f===("xlink:href")||f===("xlink:role")||f===("xlink:show")||f===("xlink:title")||f===("xlink:type")||f===("xml:base")||f===("xml:lang")||f===("xml:space")||f===("xmlns:xlink")){g=B.Index(e.Key,":");((d<0||d>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+d]).Namespace=$substring(e.Key,0,g);((d<0||d>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+d]).Key=$substring(e.Key,(g+1>>0));}c++;}};BW=function(a){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:if(!((a.Type===3))){$s=-1;return false;}b=a.Namespace;if(b===("math")){$s=2;continue;}if(b===("svg")){$s=3;continue;}$s=4;continue;case 2:if(a.Data==="annotation-xml"){$s=5;continue;}$s=6;continue;case 5:c=a.Attr;d=0;case 7:if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(e.Key==="encoding"){$s=9;continue;}$s=10;continue;case 9:f=B.ToLower(e.Val);$s=11;case 11:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(g==="text/html"||g==="application/xhtml+xml"){$s=-1;return true;}case 10:d++;$s=7;continue;case 8:case 6:$s=4;continue;case 3:h=a.Data;if(h===("desc")||h===("foreignObject")||h===("title")){$s=-1;return true;}case 4:case 1:$s=-1;return false;}return;}var $f={$blk:BW,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};BX=function(a){var a,b;if(!(a.Namespace==="math")){return false;}b=a.Data;if(b===("mi")||b===("mo")||b===("mn")||b===("ms")||b===("mtext")){return true;}return false;};CG=function(a){var a;a=B.ReplaceAll(a,"_esc_newline_","\n");a=B.ReplaceAll(a,"{","{");a=B.ReplaceAll(a,"}","}");return CW(a);};$pkg.UnescapeAttrVal=CG;CH=function(a){var a,b;b="";b=($bytesToString(CL((new DC($stringToBytes(a))))));b=B.ReplaceAll(b,"\n","_esc_newline_");b=B.ReplaceAll(b,"{","{");b=B.ReplaceAll(b,"}","}");return b;};$pkg.EscapeAttrVal=CH;CI=function(a){var a;return CW(a);};$pkg.UnescapeHTMLStr=CI;CJ=function(a){var a;return($bytesToString(CL((new DC($stringToBytes(a))))));};$pkg.EscapeHTMLStr=CJ;CK=function(a){var a,b;b=DC.nil;b=(new DC($stringToBytes(CW(($bytesToString(a))))));return b;};$pkg.UnescapeHTML=CK;CL=function(a){var a,b,c,d,e,f,g,h,i;b=DC.nil;c=a.$length;d=0;e=0;f=d;g=e;h=false;b=a;while(true){if(!(g=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+g]);if(i===(38)){if(!h){b=$makeSlice(DC,0,(c+128>>0));h=true;}b=$appendSlice(b,$subslice(a,f,g));b=$appendSlice(b,CC);f=g+1>>0;}else if(i===(60)){if(!h){b=$makeSlice(DC,0,(c+128>>0));h=true;}b=$appendSlice(b,$subslice(a,f,g));b=$appendSlice(b,CD);f=g+1>>0;}else if(i===(62)){if(!h){b=$makeSlice(DC,0,(c+128>>0));h=true;}b=$appendSlice(b,$subslice(a,f,g));b=$appendSlice(b,CE);f=g+1>>0;}else if(i===(34)){if(!h){b=$makeSlice(DC,0,(c+128>>0));h=true;}b=$appendSlice(b,$subslice(a,f,g));b=$appendSlice(b,CF);f=g+1>>0;}g=g+(1)>>0;}if(h){b=$appendSlice(b,$subslice(a,f));}return b;};$pkg.EscapeHTML=CL;CM=function(a){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;b=DC.nil;b=$makeSlice(DC,0,256);c=0;d=0;while(true){if(!(c>0;j=h;k=i;while(true){if(!(j=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+j]);d=((j<0||j>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+j]);b=$append(b,37);b=$append(b,"0123456789ABCDEF".charCodeAt(((((l>>>4<<24>>>24))&15)>>>0)));b=$append(b,"0123456789ABCDEF".charCodeAt(((l&15)>>>0)));j=j+(1)>>0;}}else if(f===37){d=((c<0||c>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+c]);if((c+2>>0)>0,((m<0||m>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+m])))&&D.IsHexDigit((n=c+2>>0,((n<0||n>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+n])))){b=$append(b,37);b=$append(b,D.TokenToUpper((o=c+1>>0,((o<0||o>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+o]))));b=$append(b,D.TokenToUpper((p=c+2>>0,((p<0||p>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+p]))));c=c+(2)>>0;}else{b=$append(b,37);b=$append(b,50);b=$append(b,53);}}else if(B.IndexByte("!#$&'()*+,-./0123456789:;=?@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~",((f<<24>>>24)))===-1){d=((c<0||c>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+c]);b=$append(b,37);b=$append(b,"0123456789ABCDEF".charCodeAt((((f>>4>>0))&15)));b=$append(b,"0123456789ABCDEF".charCodeAt((f&15)));}else{d=((c<0||c>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+c]);b=$append(b,d);}c=c+(g)>>0;}return b;};$pkg.EncodeDestination=CM;CR=function(a,b,c,d){var a,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;e=0;f=0;g=1;h=$subslice(a,c);i=g;j=h;if(j.$length<=1){((b<0||b>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+b]=((c<0||c>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+c]));k=b+1>>0;l=c+1>>0;e=k;f=l;return[e,f];}if(((i<0||i>=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+i])===35){if(j.$length<=3){((b<0||b>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+b]=((c<0||c>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+c]));m=b+1>>0;n=c+1>>0;e=m;f=n;return[e,f];}i=i+(1)>>0;o=((i<0||i>=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+i]);p=false;if((o===120)||(o===88)){p=true;i=i+(1)>>0;}q=0;while(true){if(!(i=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+i]);i=i+(1)>>0;if(p){if(48<=o&&o<=57){q=(($imul(16,q))+((o>>0))>>0)-48>>0;continue;}else if(97<=o&&o<=102){q=((($imul(16,q))+((o>>0))>>0)-97>>0)+10>>0;continue;}else if(65<=o&&o<=70){q=((($imul(16,q))+((o>>0))>>0)-65>>0)+10>>0;continue;}}else if(48<=o&&o<=57){q=(($imul(10,q))+((o>>0))>>0)-48>>0;continue;}if(!((o===59))){i=i-(1)>>0;}break;}if(i<=3){((b<0||b>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+b]=((c<0||c>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+c]));r=b+1>>0;s=c+1>>0;e=r;f=s;return[e,f];}if(128<=q&&q<=159){q=(t=q-128>>0,((t<0||t>=CQ.length)?($throwRuntimeError("index out of range"),undefined):CQ[t]));}else if((q===0)||(55296<=q&&q<=57343)||q>1114111){q=65533;}u=b+C.EncodeRune($subslice(a,b),q)>>0;v=c+i>>0;e=u;f=v;return[e,f];}while(true){if(!(i=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+i]);i=i+(1)>>0;if(97<=w&&w<=122||65<=w&&w<=90||48<=w&&w<=57){continue;}if(!((w===59))){i=i-(1)>>0;}break;}x=i;if(x<1){x=1;}y=($bytesToString($subslice(j,1,x)));if(y===""){}else if(d&&!((y.charCodeAt((y.length-1>>0))===59))&&j.$length>i&&(((i<0||i>=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+i])===61)){}else{aa=(z=$mapIndex($pkg.Entities,$String.keyFor(y)),z!==undefined?z.v:"");if(!(aa==="")){ab=b+C.EncodeRune($subslice(a,b),(ac=(new DQ($stringToRunes(aa))),(0>=ac.$length?($throwRuntimeError("index out of range"),undefined):ac.$array[ac.$offset+0])))>>0;ad=c+i>>0;e=ab;f=ad;return[e,f];}else if(!d){ae=y.length-1>>0;if(ae>6){ae=6;}af=ae;while(true){if(!(af>1)){break;}ah=(ag=$mapIndex($pkg.Entities,$String.keyFor($substring(y,0,af))),ag!==undefined?ag.v:"");if(!(ah==="")){ai=b+C.EncodeRune($subslice(a,b),(aj=(new DQ($stringToRunes(ah))),(0>=aj.$length?($throwRuntimeError("index out of range"),undefined):aj.$array[aj.$offset+0])))>>0;ak=(c+af>>0)+1>>0;e=ai;f=ak;return[e,f];}af=af-(1)>>0;}}}al=b+i>>0;am=c+i>>0;e=al;f=am;$copySlice($subslice(a,b,e),$subslice(a,c,f));an=e;ao=f;e=an;f=ao;return[e,f];};CS=function(a,b){var a,b,c,d,e,f,g,h,i,j,k,l,m;c=a;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(f===38){g=CR(a,e,e,b);h=g[0];i=g[1];while(true){if(!(i=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+i]);if(j===38){k=CR(a,h,i,b);h=k[0];i=k[1];}else{((h<0||h>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+h]=j);l=h+1>>0;m=i+1>>0;h=l;i=m;}}return $subslice(a,0,h);}d++;}return a;};CT=function(a){var a,b,c,d,e;b=a;c=0;while(true){if(!(c=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c]);if(65<=e&&e<=90){((d<0||d>=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+d]=((e+97<<24>>>24)-65<<24>>>24));}c++;}return a;};CU=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=B.IndexAny(b,"&'<>\"\r");case 1:if(!(!((c===-1)))){$s=2;continue;}e=a.WriteString($substring(b,0,c));$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;f=d[1];if(!($interfaceIsEqual(f,$ifaceNil))){$s=-1;return f;}g="";h=b.charCodeAt(c);if(h===(38)){g="&";}else if(h===(39)){g="'";}else if(h===(60)){g="<";}else if(h===(62)){g=">";}else if(h===(34)){g=""";}else if(h===(13)){g=" ";}else{$panic(new $String("unrecognized escape character"));}b=$substring(b,(c+1>>0));j=a.WriteString(g);$s=4;case 4:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}i=j;k=i[1];if(!($interfaceIsEqual(k,$ifaceNil))){$s=-1;return k;}c=B.IndexAny(b,"&'<>\"\r");$s=1;continue;case 2:m=a.WriteString(b);$s=5;case 5:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;n=l[1];$s=-1;return n;}return;}var $f={$blk:CU,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};CV=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=[b];if(B.IndexAny(a,"&'<>\"\r")===-1){$s=-1;return a;}b[0]=new E.Buffer.ptr(DC.nil,0,0);c=CU(b[0],a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}c;$s=-1;return b[0].String();}return;}var $f={$blk:CV,$c:true,$r,a,b,c,$s};return $f;};$pkg.EscapeString=CV;CW=function(a){var a,b,c,d,e;b=a;c=0;while(true){if(!(c>0)));l="";if(k===-1){l=a;a="";}else{l=$substring(a,0,k);a=$substring(a,(k+1>>0));}b.Attr=$append(b.Attr,new P.ptr("",i,l));if(i==="public"){i="system";}else{i="";}}if(!(i==="")||!(a==="")){$s=3;continue;}if(b.Attr.$length>0){$s=4;continue;}$s=5;continue;case 3:c=true;$s=5;continue;case 4:if((m=b.Attr,(0>=m.$length?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+0])).Key==="public"){$s=6;continue;}$s=7;continue;case 6:o=B.ToLower((n=b.Attr,(0>=n.$length?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+0])).Val);$s=8;case 8:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;q=p;if(q===("-//w3o//dtd w3 html strict 3.0//en//")||q===("-/w3d/dtd html 4.0 transitional/en")||q===("html")){c=true;}else{r=CY;s=0;while(true){if(!(s=r.$length)?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+s]);if(B.HasPrefix(p,t)){c=true;break;}s++;}}if((b.Attr.$length===1)&&(B.HasPrefix(p,"-//w3c//dtd html 4.01 frameset//")||B.HasPrefix(p,"-//w3c//dtd html 4.01 transitional//"))){c=true;}case 7:w=(u=b.Attr,v=b.Attr.$length-1>>0,((v<0||v>=u.$length)?($throwRuntimeError("index out of range"),undefined):u.$array[u.$offset+v]));if(!(w.Key==="system")){x=false;$s=11;continue s;}y=B.ToLower(w.Val);$s=12;case 12:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}x=y==="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd";case 11:if(x){$s=9;continue;}$s=10;continue;case 9:c=true;case 10:case 5:z=b;aa=c;b=z;c=aa;$s=-1;return[b,c];}return;}var $f={$blk:CX,$c:true,$r,a,aa,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};DA=function(a){var a,b,c,d,e;b=a.Namespace;if(b===("")||b===("html")){return(c=$mapIndex(CZ,$String.keyFor(a.Data)),c!==undefined?c.v:false);}else if(b===("math")){d=a.Data;if(d===("mi")||d===("mo")||d===("mn")||d===("ms")||d===("mtext")||d===("annotation-xml")){return true;}}else if(b===("svg")){e=a.Data;if(e===("foreignObject")||e===("desc")||e===("title")){return true;}}return false;};O.methods=[{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)}];Q.methods=[{prop:"tagString",name:"tagString",pkg:"github.com/88250/lute/html",typ:$funcType([],[$String],false)},{prop:"String",name:"String",pkg:"",typ:$funcType([],[$String],false)}];DO.methods=[{prop:"AllowCDATA",name:"AllowCDATA",pkg:"",typ:$funcType([$Bool],[],false)},{prop:"NextIsNotRawText",name:"NextIsNotRawText",pkg:"",typ:$funcType([],[],false)},{prop:"Err",name:"Err",pkg:"",typ:$funcType([],[$error],false)},{prop:"readByte",name:"readByte",pkg:"github.com/88250/lute/html",typ:$funcType([],[$Uint8],false)},{prop:"Buffered",name:"Buffered",pkg:"",typ:$funcType([],[DC],false)},{prop:"skipWhiteSpace",name:"skipWhiteSpace",pkg:"github.com/88250/lute/html",typ:$funcType([],[],false)},{prop:"readRawOrRCDATA",name:"readRawOrRCDATA",pkg:"github.com/88250/lute/html",typ:$funcType([],[],false)},{prop:"readRawEndTag",name:"readRawEndTag",pkg:"github.com/88250/lute/html",typ:$funcType([],[$Bool],false)},{prop:"readScript",name:"readScript",pkg:"github.com/88250/lute/html",typ:$funcType([],[],false)},{prop:"readComment",name:"readComment",pkg:"github.com/88250/lute/html",typ:$funcType([],[],false)},{prop:"readUntilCloseAngle",name:"readUntilCloseAngle",pkg:"github.com/88250/lute/html",typ:$funcType([],[],false)},{prop:"readMarkupDeclaration",name:"readMarkupDeclaration",pkg:"github.com/88250/lute/html",typ:$funcType([],[O],false)},{prop:"readDoctype",name:"readDoctype",pkg:"github.com/88250/lute/html",typ:$funcType([],[$Bool],false)},{prop:"readCDATA",name:"readCDATA",pkg:"github.com/88250/lute/html",typ:$funcType([],[$Bool],false)},{prop:"startTagIn",name:"startTagIn",pkg:"github.com/88250/lute/html",typ:$funcType([DH],[$Bool],true)},{prop:"readStartTag",name:"readStartTag",pkg:"github.com/88250/lute/html",typ:$funcType([],[O],false)},{prop:"readTag",name:"readTag",pkg:"github.com/88250/lute/html",typ:$funcType([$Bool],[],false)},{prop:"readTagName",name:"readTagName",pkg:"github.com/88250/lute/html",typ:$funcType([],[],false)},{prop:"readTagAttrKey",name:"readTagAttrKey",pkg:"github.com/88250/lute/html",typ:$funcType([],[],false)},{prop:"readTagAttrVal",name:"readTagAttrVal",pkg:"github.com/88250/lute/html",typ:$funcType([],[],false)},{prop:"Next",name:"Next",pkg:"",typ:$funcType([],[O],false)},{prop:"Raw",name:"Raw",pkg:"",typ:$funcType([],[DC],false)},{prop:"Text",name:"Text",pkg:"",typ:$funcType([],[DC],false)},{prop:"TagName",name:"TagName",pkg:"",typ:$funcType([],[DC,$Bool],false)},{prop:"TagAttr",name:"TagAttr",pkg:"",typ:$funcType([],[DC,DC,$Bool],false)},{prop:"Token",name:"Token",pkg:"",typ:$funcType([],[Q],false)},{prop:"SetMaxBuf",name:"SetMaxBuf",pkg:"",typ:$funcType([$Int],[],false)}];DR.methods=[{prop:"top",name:"top",pkg:"github.com/88250/lute/html",typ:$funcType([],[DE],false)},{prop:"popUntil",name:"popUntil",pkg:"github.com/88250/lute/html",typ:$funcType([AI,DD],[$Bool],true)},{prop:"indexOfElementInScope",name:"indexOfElementInScope",pkg:"github.com/88250/lute/html",typ:$funcType([AI,DD],[$Int],true)},{prop:"elementInScope",name:"elementInScope",pkg:"github.com/88250/lute/html",typ:$funcType([AI,DD],[$Bool],true)},{prop:"clearStackToContext",name:"clearStackToContext",pkg:"github.com/88250/lute/html",typ:$funcType([AI],[],false)},{prop:"generateImpliedEndTags",name:"generateImpliedEndTags",pkg:"github.com/88250/lute/html",typ:$funcType([DH],[],true)},{prop:"addChild",name:"addChild",pkg:"github.com/88250/lute/html",typ:$funcType([DE],[],false)},{prop:"shouldFosterParent",name:"shouldFosterParent",pkg:"github.com/88250/lute/html",typ:$funcType([],[$Bool],false)},{prop:"fosterParent",name:"fosterParent",pkg:"github.com/88250/lute/html",typ:$funcType([DE],[],false)},{prop:"addText",name:"addText",pkg:"github.com/88250/lute/html",typ:$funcType([$String],[],false)},{prop:"addElement",name:"addElement",pkg:"github.com/88250/lute/html",typ:$funcType([],[],false)},{prop:"addFormattingElement",name:"addFormattingElement",pkg:"github.com/88250/lute/html",typ:$funcType([],[],false)},{prop:"clearActiveFormattingElements",name:"clearActiveFormattingElements",pkg:"github.com/88250/lute/html",typ:$funcType([],[],false)},{prop:"reconstructActiveFormattingElements",name:"reconstructActiveFormattingElements",pkg:"github.com/88250/lute/html",typ:$funcType([],[],false)},{prop:"acknowledgeSelfClosingTag",name:"acknowledgeSelfClosingTag",pkg:"github.com/88250/lute/html",typ:$funcType([],[],false)},{prop:"setOriginalIM",name:"setOriginalIM",pkg:"github.com/88250/lute/html",typ:$funcType([],[],false)},{prop:"resetInsertionMode",name:"resetInsertionMode",pkg:"github.com/88250/lute/html",typ:$funcType([],[],false)},{prop:"inBodyEndTagFormatting",name:"inBodyEndTagFormatting",pkg:"github.com/88250/lute/html",typ:$funcType([I.Atom,$String],[],false)},{prop:"inBodyEndTagOther",name:"inBodyEndTagOther",pkg:"github.com/88250/lute/html",typ:$funcType([I.Atom,$String],[],false)},{prop:"inForeignContent",name:"inForeignContent",pkg:"github.com/88250/lute/html",typ:$funcType([],[$Bool],false)},{prop:"parseImpliedToken",name:"parseImpliedToken",pkg:"github.com/88250/lute/html",typ:$funcType([O,I.Atom,$String],[],false)},{prop:"parseCurrentToken",name:"parseCurrentToken",pkg:"github.com/88250/lute/html",typ:$funcType([],[],false)},{prop:"parse",name:"parse",pkg:"github.com/88250/lute/html",typ:$funcType([],[$error],false)}];DE.methods=[{prop:"Unlink",name:"Unlink",pkg:"",typ:$funcType([],[],false)},{prop:"InsertBefore",name:"InsertBefore",pkg:"",typ:$funcType([DE],[],false)},{prop:"InsertAfter",name:"InsertAfter",pkg:"",typ:$funcType([DE],[],false)},{prop:"InsertChildBefore",name:"InsertChildBefore",pkg:"",typ:$funcType([DE,DE],[],false)},{prop:"AppendChild",name:"AppendChild",pkg:"",typ:$funcType([DE],[],false)},{prop:"RemoveChild",name:"RemoveChild",pkg:"",typ:$funcType([DE],[],false)},{prop:"clone",name:"clone",pkg:"github.com/88250/lute/html",typ:$funcType([],[DE],false)}];DL.methods=[{prop:"pop",name:"pop",pkg:"github.com/88250/lute/html",typ:$funcType([],[DE],false)},{prop:"top",name:"top",pkg:"github.com/88250/lute/html",typ:$funcType([],[DE],false)},{prop:"index",name:"index",pkg:"github.com/88250/lute/html",typ:$funcType([DE],[$Int],false)},{prop:"contains",name:"contains",pkg:"github.com/88250/lute/html",typ:$funcType([I.Atom],[$Bool],false)},{prop:"insert",name:"insert",pkg:"github.com/88250/lute/html",typ:$funcType([$Int,DE],[],false)},{prop:"remove",name:"remove",pkg:"github.com/88250/lute/html",typ:$funcType([DE],[],false)}];DM.methods=[{prop:"pop",name:"pop",pkg:"github.com/88250/lute/html",typ:$funcType([],[AJ],false)},{prop:"top",name:"top",pkg:"github.com/88250/lute/html",typ:$funcType([],[AJ],false)}];P.init("",[{prop:"Namespace",name:"Namespace",embedded:false,exported:true,typ:$String,tag:""},{prop:"Key",name:"Key",embedded:false,exported:true,typ:$String,tag:""},{prop:"Val",name:"Val",embedded:false,exported:true,typ:$String,tag:""}]);Q.init("",[{prop:"Type",name:"Type",embedded:false,exported:true,typ:O,tag:""},{prop:"DataAtom",name:"DataAtom",embedded:false,exported:true,typ:I.Atom,tag:""},{prop:"Data",name:"Data",embedded:false,exported:true,typ:$String,tag:""},{prop:"Attr",name:"Attr",embedded:false,exported:true,typ:DG,tag:""}]);R.init("github.com/88250/lute/html",[{prop:"start",name:"start",embedded:false,exported:false,typ:$Int,tag:""},{prop:"end",name:"end",embedded:false,exported:false,typ:$Int,tag:""}]);S.init("github.com/88250/lute/html",[{prop:"r",name:"r",embedded:false,exported:false,typ:G.Reader,tag:""},{prop:"tt",name:"tt",embedded:false,exported:false,typ:O,tag:""},{prop:"err",name:"err",embedded:false,exported:false,typ:$error,tag:""},{prop:"readErr",name:"readErr",embedded:false,exported:false,typ:$error,tag:""},{prop:"raw",name:"raw",embedded:false,exported:false,typ:R,tag:""},{prop:"buf",name:"buf",embedded:false,exported:false,typ:DC,tag:""},{prop:"maxBuf",name:"maxBuf",embedded:false,exported:false,typ:$Int,tag:""},{prop:"data",name:"data",embedded:false,exported:false,typ:R,tag:""},{prop:"pendingAttr",name:"pendingAttr",embedded:false,exported:false,typ:DJ,tag:""},{prop:"attr",name:"attr",embedded:false,exported:false,typ:DK,tag:""},{prop:"nAttrReturned",name:"nAttrReturned",embedded:false,exported:false,typ:$Int,tag:""},{prop:"rawTag",name:"rawTag",embedded:false,exported:false,typ:$String,tag:""},{prop:"textIsRaw",name:"textIsRaw",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"convertNUL",name:"convertNUL",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"allowCDATA",name:"allowCDATA",embedded:false,exported:false,typ:$Bool,tag:""}]);Z.init([{prop:"Write",name:"Write",pkg:"",typ:$funcType([DC],[$Int,$error],false)},{prop:"WriteByte",name:"WriteByte",pkg:"",typ:$funcType([$Uint8],[$error],false)},{prop:"WriteString",name:"WriteString",pkg:"",typ:$funcType([$String],[$Int,$error],false)}]);AG.init("github.com/88250/lute/html",[{prop:"tokenizer",name:"tokenizer",embedded:false,exported:false,typ:DO,tag:""},{prop:"tok",name:"tok",embedded:false,exported:false,typ:Q,tag:""},{prop:"hasSelfClosingToken",name:"hasSelfClosingToken",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"doc",name:"doc",embedded:false,exported:false,typ:DE,tag:""},{prop:"oe",name:"oe",embedded:false,exported:false,typ:BS,tag:""},{prop:"afe",name:"afe",embedded:false,exported:false,typ:BS,tag:""},{prop:"head",name:"head",embedded:false,exported:false,typ:DE,tag:""},{prop:"form",name:"form",embedded:false,exported:false,typ:DE,tag:""},{prop:"scripting",name:"scripting",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"framesetOK",name:"framesetOK",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"templateStack",name:"templateStack",embedded:false,exported:false,typ:BT,tag:""},{prop:"im",name:"im",embedded:false,exported:false,typ:AJ,tag:""},{prop:"originalIM",name:"originalIM",embedded:false,exported:false,typ:AJ,tag:""},{prop:"fosterParenting",name:"fosterParenting",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"quirks",name:"quirks",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"fragment",name:"fragment",embedded:false,exported:false,typ:$Bool,tag:""},{prop:"context",name:"context",embedded:false,exported:false,typ:DE,tag:""}]);AJ.init([DR],[$Bool],false);BK.init([DR],[],false);BQ.init("",[{prop:"Parent",name:"Parent",embedded:false,exported:true,typ:DE,tag:""},{prop:"FirstChild",name:"FirstChild",embedded:false,exported:true,typ:DE,tag:""},{prop:"LastChild",name:"LastChild",embedded:false,exported:true,typ:DE,tag:""},{prop:"PrevSibling",name:"PrevSibling",embedded:false,exported:true,typ:DE,tag:""},{prop:"NextSibling",name:"NextSibling",embedded:false,exported:true,typ:DE,tag:""},{prop:"Type",name:"Type",embedded:false,exported:true,typ:BO,tag:""},{prop:"DataAtom",name:"DataAtom",embedded:false,exported:true,typ:I.Atom,tag:""},{prop:"Data",name:"Data",embedded:false,exported:true,typ:$String,tag:""},{prop:"Namespace",name:"Namespace",embedded:false,exported:true,typ:$String,tag:""},{prop:"Attr",name:"Attr",embedded:false,exported:true,typ:DG,tag:""}]);BS.init(DE);BT.init(AJ);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=J.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=E.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=H.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=I.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=9;case 9:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$pkg.ErrBufferExceeded=F.New("max buffer exceeded");V=(new DC($stringToBytes("\x00")));W=(new DC($stringToBytes("\xEF\xBF\xBD")));AB=F.New("html: internal error (plaintext abort)");AF=$makeMap($String.keyFor,[{k:"area",v:true},{k:"base",v:true},{k:"br",v:true},{k:"col",v:true},{k:"command",v:true},{k:"embed",v:true},{k:"hr",v:true},{k:"img",v:true},{k:"input",v:true},{k:"keygen",v:true},{k:"link",v:true},{k:"meta",v:true},{k:"param",v:true},{k:"source",v:true},{k:"track",v:true},{k:"wbr",v:true}]);AH=$makeMap($String.keyFor,[{k:"",v:new DD([203014,143623,22020,365829,37378,87554,206599,157702,463880])},{k:"math",v:new DD([117006,214786,176386,41986,422914,217349])},{k:"svg",v:new DD([352516,152589,69637])}]);BP=new BQ.ptr(DE.nil,DE.nil,DE.nil,DE.nil,DE.nil,6,0,"","",DG.nil);BY=$makeMap($String.keyFor,[{k:"b",v:true},{k:"big",v:true},{k:"blockquote",v:true},{k:"body",v:true},{k:"br",v:true},{k:"center",v:true},{k:"code",v:true},{k:"dd",v:true},{k:"div",v:true},{k:"dl",v:true},{k:"dt",v:true},{k:"em",v:true},{k:"embed",v:true},{k:"h1",v:true},{k:"h2",v:true},{k:"h3",v:true},{k:"h4",v:true},{k:"h5",v:true},{k:"h6",v:true},{k:"head",v:true},{k:"hr",v:true},{k:"i",v:true},{k:"img",v:true},{k:"li",v:true},{k:"listing",v:true},{k:"menu",v:true},{k:"meta",v:true},{k:"nobr",v:true},{k:"ol",v:true},{k:"p",v:true},{k:"pre",v:true},{k:"ruby",v:true},{k:"s",v:true},{k:"small",v:true},{k:"span",v:true},{k:"strong",v:true},{k:"strike",v:true},{k:"sub",v:true},{k:"sup",v:true},{k:"table",v:true},{k:"tt",v:true},{k:"u",v:true},{k:"ul",v:true},{k:"var",v:true}]);BZ=$makeMap($String.keyFor,[{k:"altglyph",v:"altGlyph"},{k:"altglyphdef",v:"altGlyphDef"},{k:"altglyphitem",v:"altGlyphItem"},{k:"animatecolor",v:"animateColor"},{k:"animatemotion",v:"animateMotion"},{k:"animatetransform",v:"animateTransform"},{k:"clippath",v:"clipPath"},{k:"feblend",v:"feBlend"},{k:"fecolormatrix",v:"feColorMatrix"},{k:"fecomponenttransfer",v:"feComponentTransfer"},{k:"fecomposite",v:"feComposite"},{k:"feconvolvematrix",v:"feConvolveMatrix"},{k:"fediffuselighting",v:"feDiffuseLighting"},{k:"fedisplacementmap",v:"feDisplacementMap"},{k:"fedistantlight",v:"feDistantLight"},{k:"feflood",v:"feFlood"},{k:"fefunca",v:"feFuncA"},{k:"fefuncb",v:"feFuncB"},{k:"fefuncg",v:"feFuncG"},{k:"fefuncr",v:"feFuncR"},{k:"fegaussianblur",v:"feGaussianBlur"},{k:"feimage",v:"feImage"},{k:"femerge",v:"feMerge"},{k:"femergenode",v:"feMergeNode"},{k:"femorphology",v:"feMorphology"},{k:"feoffset",v:"feOffset"},{k:"fepointlight",v:"fePointLight"},{k:"fespecularlighting",v:"feSpecularLighting"},{k:"fespotlight",v:"feSpotLight"},{k:"fetile",v:"feTile"},{k:"feturbulence",v:"feTurbulence"},{k:"foreignobject",v:"foreignObject"},{k:"glyphref",v:"glyphRef"},{k:"lineargradient",v:"linearGradient"},{k:"radialgradient",v:"radialGradient"},{k:"textpath",v:"textPath"}]);CA=$makeMap($String.keyFor,[{k:"definitionurl",v:"definitionURL"}]);CB=$makeMap($String.keyFor,[{k:"attributename",v:"attributeName"},{k:"attributetype",v:"attributeType"},{k:"basefrequency",v:"baseFrequency"},{k:"baseprofile",v:"baseProfile"},{k:"calcmode",v:"calcMode"},{k:"clippathunits",v:"clipPathUnits"},{k:"contentscripttype",v:"contentScriptType"},{k:"contentstyletype",v:"contentStyleType"},{k:"diffuseconstant",v:"diffuseConstant"},{k:"edgemode",v:"edgeMode"},{k:"externalresourcesrequired",v:"externalResourcesRequired"},{k:"filterres",v:"filterRes"},{k:"filterunits",v:"filterUnits"},{k:"glyphref",v:"glyphRef"},{k:"gradienttransform",v:"gradientTransform"},{k:"gradientunits",v:"gradientUnits"},{k:"kernelmatrix",v:"kernelMatrix"},{k:"kernelunitlength",v:"kernelUnitLength"},{k:"keypoints",v:"keyPoints"},{k:"keysplines",v:"keySplines"},{k:"keytimes",v:"keyTimes"},{k:"lengthadjust",v:"lengthAdjust"},{k:"limitingconeangle",v:"limitingConeAngle"},{k:"markerheight",v:"markerHeight"},{k:"markerunits",v:"markerUnits"},{k:"markerwidth",v:"markerWidth"},{k:"maskcontentunits",v:"maskContentUnits"},{k:"maskunits",v:"maskUnits"},{k:"numoctaves",v:"numOctaves"},{k:"pathlength",v:"pathLength"},{k:"patterncontentunits",v:"patternContentUnits"},{k:"patterntransform",v:"patternTransform"},{k:"patternunits",v:"patternUnits"},{k:"pointsatx",v:"pointsAtX"},{k:"pointsaty",v:"pointsAtY"},{k:"pointsatz",v:"pointsAtZ"},{k:"preservealpha",v:"preserveAlpha"},{k:"preserveaspectratio",v:"preserveAspectRatio"},{k:"primitiveunits",v:"primitiveUnits"},{k:"refx",v:"refX"},{k:"refy",v:"refY"},{k:"repeatcount",v:"repeatCount"},{k:"repeatdur",v:"repeatDur"},{k:"requiredextensions",v:"requiredExtensions"},{k:"requiredfeatures",v:"requiredFeatures"},{k:"specularconstant",v:"specularConstant"},{k:"specularexponent",v:"specularExponent"},{k:"spreadmethod",v:"spreadMethod"},{k:"startoffset",v:"startOffset"},{k:"stddeviation",v:"stdDeviation"},{k:"stitchtiles",v:"stitchTiles"},{k:"surfacescale",v:"surfaceScale"},{k:"systemlanguage",v:"systemLanguage"},{k:"tablevalues",v:"tableValues"},{k:"targetx",v:"targetX"},{k:"targety",v:"targetY"},{k:"textlength",v:"textLength"},{k:"viewbox",v:"viewBox"},{k:"viewtarget",v:"viewTarget"},{k:"xchannelselector",v:"xChannelSelector"},{k:"ychannelselector",v:"yChannelSelector"},{k:"zoomandpan",v:"zoomAndPan"}]);CC=(new DC($stringToBytes("&")));CD=(new DC($stringToBytes("<")));CE=(new DC($stringToBytes(">")));CF=(new DC($stringToBytes(""")));CQ=$toNativeArray($kindInt32,[8364,129,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,141,381,143,144,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,157,382,376]);$pkg.Entities=$makeMap($String.keyFor,[{k:"AElig;",v:"\xC3\x86"},{k:"AMP;",v:"&"},{k:"Aacute;",v:"\xC3\x81"},{k:"Abreve;",v:"\xC4\x82"},{k:"Acirc;",v:"\xC3\x82"},{k:"Acy;",v:"\xD0\x90"},{k:"Afr;",v:"\xF0\x9D\x94\x84"},{k:"Agrave;",v:"\xC3\x80"},{k:"Alpha;",v:"\xCE\x91"},{k:"Amacr;",v:"\xC4\x80"},{k:"And;",v:"\xE2\xA9\x93"},{k:"Aogon;",v:"\xC4\x84"},{k:"Aopf;",v:"\xF0\x9D\x94\xB8"},{k:"ApplyFunction;",v:"\xE2\x81\xA1"},{k:"Aring;",v:"\xC3\x85"},{k:"Ascr;",v:"\xF0\x9D\x92\x9C"},{k:"Assign;",v:"\xE2\x89\x94"},{k:"Atilde;",v:"\xC3\x83"},{k:"Auml;",v:"\xC3\x84"},{k:"Backslash;",v:"\xE2\x88\x96"},{k:"Barv;",v:"\xE2\xAB\xA7"},{k:"Barwed;",v:"\xE2\x8C\x86"},{k:"Bcy;",v:"\xD0\x91"},{k:"Because;",v:"\xE2\x88\xB5"},{k:"Bernoullis;",v:"\xE2\x84\xAC"},{k:"Beta;",v:"\xCE\x92"},{k:"Bfr;",v:"\xF0\x9D\x94\x85"},{k:"Bopf;",v:"\xF0\x9D\x94\xB9"},{k:"Breve;",v:"\xCB\x98"},{k:"Bscr;",v:"\xE2\x84\xAC"},{k:"Bumpeq;",v:"\xE2\x89\x8E"},{k:"CHcy;",v:"\xD0\xA7"},{k:"COPY;",v:"\xC2\xA9"},{k:"Cacute;",v:"\xC4\x86"},{k:"Cap;",v:"\xE2\x8B\x92"},{k:"CapitalDifferentialD;",v:"\xE2\x85\x85"},{k:"Cayleys;",v:"\xE2\x84\xAD"},{k:"Ccaron;",v:"\xC4\x8C"},{k:"Ccedil;",v:"\xC3\x87"},{k:"Ccirc;",v:"\xC4\x88"},{k:"Cconint;",v:"\xE2\x88\xB0"},{k:"Cdot;",v:"\xC4\x8A"},{k:"Cedilla;",v:"\xC2\xB8"},{k:"CenterDot;",v:"\xC2\xB7"},{k:"Cfr;",v:"\xE2\x84\xAD"},{k:"Chi;",v:"\xCE\xA7"},{k:"CircleDot;",v:"\xE2\x8A\x99"},{k:"CircleMinus;",v:"\xE2\x8A\x96"},{k:"CirclePlus;",v:"\xE2\x8A\x95"},{k:"CircleTimes;",v:"\xE2\x8A\x97"},{k:"ClockwiseContourIntegral;",v:"\xE2\x88\xB2"},{k:"CloseCurlyDoubleQuote;",v:"\xE2\x80\x9D"},{k:"CloseCurlyQuote;",v:"\xE2\x80\x99"},{k:"Colon;",v:"\xE2\x88\xB7"},{k:"Colone;",v:"\xE2\xA9\xB4"},{k:"Congruent;",v:"\xE2\x89\xA1"},{k:"Conint;",v:"\xE2\x88\xAF"},{k:"ContourIntegral;",v:"\xE2\x88\xAE"},{k:"Copf;",v:"\xE2\x84\x82"},{k:"Coproduct;",v:"\xE2\x88\x90"},{k:"CounterClockwiseContourIntegral;",v:"\xE2\x88\xB3"},{k:"Cross;",v:"\xE2\xA8\xAF"},{k:"Cscr;",v:"\xF0\x9D\x92\x9E"},{k:"Cup;",v:"\xE2\x8B\x93"},{k:"CupCap;",v:"\xE2\x89\x8D"},{k:"DD;",v:"\xE2\x85\x85"},{k:"DDotrahd;",v:"\xE2\xA4\x91"},{k:"DJcy;",v:"\xD0\x82"},{k:"DScy;",v:"\xD0\x85"},{k:"DZcy;",v:"\xD0\x8F"},{k:"Dagger;",v:"\xE2\x80\xA1"},{k:"Darr;",v:"\xE2\x86\xA1"},{k:"Dashv;",v:"\xE2\xAB\xA4"},{k:"Dcaron;",v:"\xC4\x8E"},{k:"Dcy;",v:"\xD0\x94"},{k:"Del;",v:"\xE2\x88\x87"},{k:"Delta;",v:"\xCE\x94"},{k:"Dfr;",v:"\xF0\x9D\x94\x87"},{k:"DiacriticalAcute;",v:"\xC2\xB4"},{k:"DiacriticalDot;",v:"\xCB\x99"},{k:"DiacriticalDoubleAcute;",v:"\xCB\x9D"},{k:"DiacriticalGrave;",v:"`"},{k:"DiacriticalTilde;",v:"\xCB\x9C"},{k:"Diamond;",v:"\xE2\x8B\x84"},{k:"DifferentialD;",v:"\xE2\x85\x86"},{k:"Dopf;",v:"\xF0\x9D\x94\xBB"},{k:"Dot;",v:"\xC2\xA8"},{k:"DotDot;",v:"\xE2\x83\x9C"},{k:"DotEqual;",v:"\xE2\x89\x90"},{k:"DoubleContourIntegral;",v:"\xE2\x88\xAF"},{k:"DoubleDot;",v:"\xC2\xA8"},{k:"DoubleDownArrow;",v:"\xE2\x87\x93"},{k:"DoubleLeftArrow;",v:"\xE2\x87\x90"},{k:"DoubleLeftRightArrow;",v:"\xE2\x87\x94"},{k:"DoubleLeftTee;",v:"\xE2\xAB\xA4"},{k:"DoubleLongLeftArrow;",v:"\xE2\x9F\xB8"},{k:"DoubleLongLeftRightArrow;",v:"\xE2\x9F\xBA"},{k:"DoubleLongRightArrow;",v:"\xE2\x9F\xB9"},{k:"DoubleRightArrow;",v:"\xE2\x87\x92"},{k:"DoubleRightTee;",v:"\xE2\x8A\xA8"},{k:"DoubleUpArrow;",v:"\xE2\x87\x91"},{k:"DoubleUpDownArrow;",v:"\xE2\x87\x95"},{k:"DoubleVerticalBar;",v:"\xE2\x88\xA5"},{k:"DownArrow;",v:"\xE2\x86\x93"},{k:"DownArrowBar;",v:"\xE2\xA4\x93"},{k:"DownArrowUpArrow;",v:"\xE2\x87\xB5"},{k:"DownBreve;",v:"\xCC\x91"},{k:"DownLeftRightVector;",v:"\xE2\xA5\x90"},{k:"DownLeftTeeVector;",v:"\xE2\xA5\x9E"},{k:"DownLeftVector;",v:"\xE2\x86\xBD"},{k:"DownLeftVectorBar;",v:"\xE2\xA5\x96"},{k:"DownRightTeeVector;",v:"\xE2\xA5\x9F"},{k:"DownRightVector;",v:"\xE2\x87\x81"},{k:"DownRightVectorBar;",v:"\xE2\xA5\x97"},{k:"DownTee;",v:"\xE2\x8A\xA4"},{k:"DownTeeArrow;",v:"\xE2\x86\xA7"},{k:"Downarrow;",v:"\xE2\x87\x93"},{k:"Dscr;",v:"\xF0\x9D\x92\x9F"},{k:"Dstrok;",v:"\xC4\x90"},{k:"ENG;",v:"\xC5\x8A"},{k:"ETH;",v:"\xC3\x90"},{k:"Eacute;",v:"\xC3\x89"},{k:"Ecaron;",v:"\xC4\x9A"},{k:"Ecirc;",v:"\xC3\x8A"},{k:"Ecy;",v:"\xD0\xAD"},{k:"Edot;",v:"\xC4\x96"},{k:"Efr;",v:"\xF0\x9D\x94\x88"},{k:"Egrave;",v:"\xC3\x88"},{k:"Element;",v:"\xE2\x88\x88"},{k:"Emacr;",v:"\xC4\x92"},{k:"EmptySmallSquare;",v:"\xE2\x97\xBB"},{k:"EmptyVerySmallSquare;",v:"\xE2\x96\xAB"},{k:"Eogon;",v:"\xC4\x98"},{k:"Eopf;",v:"\xF0\x9D\x94\xBC"},{k:"Epsilon;",v:"\xCE\x95"},{k:"Equal;",v:"\xE2\xA9\xB5"},{k:"EqualTilde;",v:"\xE2\x89\x82"},{k:"Equilibrium;",v:"\xE2\x87\x8C"},{k:"Escr;",v:"\xE2\x84\xB0"},{k:"Esim;",v:"\xE2\xA9\xB3"},{k:"Eta;",v:"\xCE\x97"},{k:"Euml;",v:"\xC3\x8B"},{k:"Exists;",v:"\xE2\x88\x83"},{k:"ExponentialE;",v:"\xE2\x85\x87"},{k:"Fcy;",v:"\xD0\xA4"},{k:"Ffr;",v:"\xF0\x9D\x94\x89"},{k:"FilledSmallSquare;",v:"\xE2\x97\xBC"},{k:"FilledVerySmallSquare;",v:"\xE2\x96\xAA"},{k:"Fopf;",v:"\xF0\x9D\x94\xBD"},{k:"ForAll;",v:"\xE2\x88\x80"},{k:"Fouriertrf;",v:"\xE2\x84\xB1"},{k:"Fscr;",v:"\xE2\x84\xB1"},{k:"GJcy;",v:"\xD0\x83"},{k:"GT;",v:">"},{k:"Gamma;",v:"\xCE\x93"},{k:"Gammad;",v:"\xCF\x9C"},{k:"Gbreve;",v:"\xC4\x9E"},{k:"Gcedil;",v:"\xC4\xA2"},{k:"Gcirc;",v:"\xC4\x9C"},{k:"Gcy;",v:"\xD0\x93"},{k:"Gdot;",v:"\xC4\xA0"},{k:"Gfr;",v:"\xF0\x9D\x94\x8A"},{k:"Gg;",v:"\xE2\x8B\x99"},{k:"Gopf;",v:"\xF0\x9D\x94\xBE"},{k:"GreaterEqual;",v:"\xE2\x89\xA5"},{k:"GreaterEqualLess;",v:"\xE2\x8B\x9B"},{k:"GreaterFullEqual;",v:"\xE2\x89\xA7"},{k:"GreaterGreater;",v:"\xE2\xAA\xA2"},{k:"GreaterLess;",v:"\xE2\x89\xB7"},{k:"GreaterSlantEqual;",v:"\xE2\xA9\xBE"},{k:"GreaterTilde;",v:"\xE2\x89\xB3"},{k:"Gscr;",v:"\xF0\x9D\x92\xA2"},{k:"Gt;",v:"\xE2\x89\xAB"},{k:"HARDcy;",v:"\xD0\xAA"},{k:"Hacek;",v:"\xCB\x87"},{k:"Hat;",v:"^"},{k:"Hcirc;",v:"\xC4\xA4"},{k:"Hfr;",v:"\xE2\x84\x8C"},{k:"HilbertSpace;",v:"\xE2\x84\x8B"},{k:"Hopf;",v:"\xE2\x84\x8D"},{k:"HorizontalLine;",v:"\xE2\x94\x80"},{k:"Hscr;",v:"\xE2\x84\x8B"},{k:"Hstrok;",v:"\xC4\xA6"},{k:"HumpDownHump;",v:"\xE2\x89\x8E"},{k:"HumpEqual;",v:"\xE2\x89\x8F"},{k:"IEcy;",v:"\xD0\x95"},{k:"IJlig;",v:"\xC4\xB2"},{k:"IOcy;",v:"\xD0\x81"},{k:"Iacute;",v:"\xC3\x8D"},{k:"Icirc;",v:"\xC3\x8E"},{k:"Icy;",v:"\xD0\x98"},{k:"Idot;",v:"\xC4\xB0"},{k:"Ifr;",v:"\xE2\x84\x91"},{k:"Igrave;",v:"\xC3\x8C"},{k:"Im;",v:"\xE2\x84\x91"},{k:"Imacr;",v:"\xC4\xAA"},{k:"ImaginaryI;",v:"\xE2\x85\x88"},{k:"Implies;",v:"\xE2\x87\x92"},{k:"Int;",v:"\xE2\x88\xAC"},{k:"Integral;",v:"\xE2\x88\xAB"},{k:"Intersection;",v:"\xE2\x8B\x82"},{k:"InvisibleComma;",v:"\xE2\x81\xA3"},{k:"InvisibleTimes;",v:"\xE2\x81\xA2"},{k:"Iogon;",v:"\xC4\xAE"},{k:"Iopf;",v:"\xF0\x9D\x95\x80"},{k:"Iota;",v:"\xCE\x99"},{k:"Iscr;",v:"\xE2\x84\x90"},{k:"Itilde;",v:"\xC4\xA8"},{k:"Iukcy;",v:"\xD0\x86"},{k:"Iuml;",v:"\xC3\x8F"},{k:"Jcirc;",v:"\xC4\xB4"},{k:"Jcy;",v:"\xD0\x99"},{k:"Jfr;",v:"\xF0\x9D\x94\x8D"},{k:"Jopf;",v:"\xF0\x9D\x95\x81"},{k:"Jscr;",v:"\xF0\x9D\x92\xA5"},{k:"Jsercy;",v:"\xD0\x88"},{k:"Jukcy;",v:"\xD0\x84"},{k:"KHcy;",v:"\xD0\xA5"},{k:"KJcy;",v:"\xD0\x8C"},{k:"Kappa;",v:"\xCE\x9A"},{k:"Kcedil;",v:"\xC4\xB6"},{k:"Kcy;",v:"\xD0\x9A"},{k:"Kfr;",v:"\xF0\x9D\x94\x8E"},{k:"Kopf;",v:"\xF0\x9D\x95\x82"},{k:"Kscr;",v:"\xF0\x9D\x92\xA6"},{k:"LJcy;",v:"\xD0\x89"},{k:"LT;",v:"<"},{k:"Lacute;",v:"\xC4\xB9"},{k:"Lambda;",v:"\xCE\x9B"},{k:"Lang;",v:"\xE2\x9F\xAA"},{k:"Laplacetrf;",v:"\xE2\x84\x92"},{k:"Larr;",v:"\xE2\x86\x9E"},{k:"Lcaron;",v:"\xC4\xBD"},{k:"Lcedil;",v:"\xC4\xBB"},{k:"Lcy;",v:"\xD0\x9B"},{k:"LeftAngleBracket;",v:"\xE2\x9F\xA8"},{k:"LeftArrow;",v:"\xE2\x86\x90"},{k:"LeftArrowBar;",v:"\xE2\x87\xA4"},{k:"LeftArrowRightArrow;",v:"\xE2\x87\x86"},{k:"LeftCeiling;",v:"\xE2\x8C\x88"},{k:"LeftDoubleBracket;",v:"\xE2\x9F\xA6"},{k:"LeftDownTeeVector;",v:"\xE2\xA5\xA1"},{k:"LeftDownVector;",v:"\xE2\x87\x83"},{k:"LeftDownVectorBar;",v:"\xE2\xA5\x99"},{k:"LeftFloor;",v:"\xE2\x8C\x8A"},{k:"LeftRightArrow;",v:"\xE2\x86\x94"},{k:"LeftRightVector;",v:"\xE2\xA5\x8E"},{k:"LeftTee;",v:"\xE2\x8A\xA3"},{k:"LeftTeeArrow;",v:"\xE2\x86\xA4"},{k:"LeftTeeVector;",v:"\xE2\xA5\x9A"},{k:"LeftTriangle;",v:"\xE2\x8A\xB2"},{k:"LeftTriangleBar;",v:"\xE2\xA7\x8F"},{k:"LeftTriangleEqual;",v:"\xE2\x8A\xB4"},{k:"LeftUpDownVector;",v:"\xE2\xA5\x91"},{k:"LeftUpTeeVector;",v:"\xE2\xA5\xA0"},{k:"LeftUpVector;",v:"\xE2\x86\xBF"},{k:"LeftUpVectorBar;",v:"\xE2\xA5\x98"},{k:"LeftVector;",v:"\xE2\x86\xBC"},{k:"LeftVectorBar;",v:"\xE2\xA5\x92"},{k:"Leftarrow;",v:"\xE2\x87\x90"},{k:"Leftrightarrow;",v:"\xE2\x87\x94"},{k:"LessEqualGreater;",v:"\xE2\x8B\x9A"},{k:"LessFullEqual;",v:"\xE2\x89\xA6"},{k:"LessGreater;",v:"\xE2\x89\xB6"},{k:"LessLess;",v:"\xE2\xAA\xA1"},{k:"LessSlantEqual;",v:"\xE2\xA9\xBD"},{k:"LessTilde;",v:"\xE2\x89\xB2"},{k:"Lfr;",v:"\xF0\x9D\x94\x8F"},{k:"Ll;",v:"\xE2\x8B\x98"},{k:"Lleftarrow;",v:"\xE2\x87\x9A"},{k:"Lmidot;",v:"\xC4\xBF"},{k:"LongLeftArrow;",v:"\xE2\x9F\xB5"},{k:"LongLeftRightArrow;",v:"\xE2\x9F\xB7"},{k:"LongRightArrow;",v:"\xE2\x9F\xB6"},{k:"Longleftarrow;",v:"\xE2\x9F\xB8"},{k:"Longleftrightarrow;",v:"\xE2\x9F\xBA"},{k:"Longrightarrow;",v:"\xE2\x9F\xB9"},{k:"Lopf;",v:"\xF0\x9D\x95\x83"},{k:"LowerLeftArrow;",v:"\xE2\x86\x99"},{k:"LowerRightArrow;",v:"\xE2\x86\x98"},{k:"Lscr;",v:"\xE2\x84\x92"},{k:"Lsh;",v:"\xE2\x86\xB0"},{k:"Lstrok;",v:"\xC5\x81"},{k:"Lt;",v:"\xE2\x89\xAA"},{k:"Map;",v:"\xE2\xA4\x85"},{k:"Mcy;",v:"\xD0\x9C"},{k:"MediumSpace;",v:"\xE2\x81\x9F"},{k:"Mellintrf;",v:"\xE2\x84\xB3"},{k:"Mfr;",v:"\xF0\x9D\x94\x90"},{k:"MinusPlus;",v:"\xE2\x88\x93"},{k:"Mopf;",v:"\xF0\x9D\x95\x84"},{k:"Mscr;",v:"\xE2\x84\xB3"},{k:"Mu;",v:"\xCE\x9C"},{k:"NJcy;",v:"\xD0\x8A"},{k:"Nacute;",v:"\xC5\x83"},{k:"Ncaron;",v:"\xC5\x87"},{k:"Ncedil;",v:"\xC5\x85"},{k:"Ncy;",v:"\xD0\x9D"},{k:"NegativeMediumSpace;",v:"\xE2\x80\x8B"},{k:"NegativeThickSpace;",v:"\xE2\x80\x8B"},{k:"NegativeThinSpace;",v:"\xE2\x80\x8B"},{k:"NegativeVeryThinSpace;",v:"\xE2\x80\x8B"},{k:"NestedGreaterGreater;",v:"\xE2\x89\xAB"},{k:"NestedLessLess;",v:"\xE2\x89\xAA"},{k:"NewLine;",v:"\n"},{k:"Nfr;",v:"\xF0\x9D\x94\x91"},{k:"NoBreak;",v:"\xE2\x81\xA0"},{k:"NonBreakingSpace;",v:"\xC2\xA0"},{k:"Nopf;",v:"\xE2\x84\x95"},{k:"Not;",v:"\xE2\xAB\xAC"},{k:"NotCongruent;",v:"\xE2\x89\xA2"},{k:"NotCupCap;",v:"\xE2\x89\xAD"},{k:"NotDoubleVerticalBar;",v:"\xE2\x88\xA6"},{k:"NotElement;",v:"\xE2\x88\x89"},{k:"NotEqual;",v:"\xE2\x89\xA0"},{k:"NotEqualTilde;",v:"\xE2\x89\x82\xCC\xB8"},{k:"NotExists;",v:"\xE2\x88\x84"},{k:"NotGreater;",v:"\xE2\x89\xAF"},{k:"NotGreaterEqual;",v:"\xE2\x89\xB1"},{k:"NotGreaterFullEqual;",v:"\xE2\x89\xA7\xCC\xB8"},{k:"NotGreaterGreater;",v:"\xE2\x89\xAB\xCC\xB8"},{k:"NotGreaterLess;",v:"\xE2\x89\xB9"},{k:"NotGreaterSlantEqual;",v:"\xE2\xA9\xBE\xCC\xB8"},{k:"NotGreaterTilde;",v:"\xE2\x89\xB5"},{k:"NotHumpDownHump;",v:"\xE2\x89\x8E\xCC\xB8"},{k:"NotHumpEqual;",v:"\xE2\x89\x8F\xCC\xB8"},{k:"NotLeftTriangle;",v:"\xE2\x8B\xAA"},{k:"NotLeftTriangleBar;",v:"\xE2\xA7\x8F\xCC\xB8"},{k:"NotLeftTriangleEqual;",v:"\xE2\x8B\xAC"},{k:"NotLess;",v:"\xE2\x89\xAE"},{k:"NotLessEqual;",v:"\xE2\x89\xB0"},{k:"NotLessGreater;",v:"\xE2\x89\xB8"},{k:"NotLessLess;",v:"\xE2\x89\xAA\xCC\xB8"},{k:"NotLessSlantEqual;",v:"\xE2\xA9\xBD\xCC\xB8"},{k:"NotLessTilde;",v:"\xE2\x89\xB4"},{k:"NotNestedGreaterGreater;",v:"\xE2\xAA\xA2\xCC\xB8"},{k:"NotNestedLessLess;",v:"\xE2\xAA\xA1\xCC\xB8"},{k:"NotPrecedes;",v:"\xE2\x8A\x80"},{k:"NotPrecedesEqual;",v:"\xE2\xAA\xAF\xCC\xB8"},{k:"NotPrecedesSlantEqual;",v:"\xE2\x8B\xA0"},{k:"NotReverseElement;",v:"\xE2\x88\x8C"},{k:"NotRightTriangle;",v:"\xE2\x8B\xAB"},{k:"NotRightTriangleBar;",v:"\xE2\xA7\x90\xCC\xB8"},{k:"NotRightTriangleEqual;",v:"\xE2\x8B\xAD"},{k:"NotSquareSubset;",v:"\xE2\x8A\x8F\xCC\xB8"},{k:"NotSquareSubsetEqual;",v:"\xE2\x8B\xA2"},{k:"NotSquareSuperset;",v:"\xE2\x8A\x90\xCC\xB8"},{k:"NotSquareSupersetEqual;",v:"\xE2\x8B\xA3"},{k:"NotSubset;",v:"\xE2\x8A\x82\xE2\x83\x92"},{k:"NotSubsetEqual;",v:"\xE2\x8A\x88"},{k:"NotSucceeds;",v:"\xE2\x8A\x81"},{k:"NotSucceedsEqual;",v:"\xE2\xAA\xB0\xCC\xB8"},{k:"NotSucceedsSlantEqual;",v:"\xE2\x8B\xA1"},{k:"NotSucceedsTilde;",v:"\xE2\x89\xBF\xCC\xB8"},{k:"NotSuperset;",v:"\xE2\x8A\x83\xE2\x83\x92"},{k:"NotSupersetEqual;",v:"\xE2\x8A\x89"},{k:"NotTilde;",v:"\xE2\x89\x81"},{k:"NotTildeEqual;",v:"\xE2\x89\x84"},{k:"NotTildeFullEqual;",v:"\xE2\x89\x87"},{k:"NotTildeTilde;",v:"\xE2\x89\x89"},{k:"NotVerticalBar;",v:"\xE2\x88\xA4"},{k:"Nscr;",v:"\xF0\x9D\x92\xA9"},{k:"Ntilde;",v:"\xC3\x91"},{k:"Nu;",v:"\xCE\x9D"},{k:"OElig;",v:"\xC5\x92"},{k:"Oacute;",v:"\xC3\x93"},{k:"Ocirc;",v:"\xC3\x94"},{k:"Ocy;",v:"\xD0\x9E"},{k:"Odblac;",v:"\xC5\x90"},{k:"Ofr;",v:"\xF0\x9D\x94\x92"},{k:"Ograve;",v:"\xC3\x92"},{k:"Omacr;",v:"\xC5\x8C"},{k:"Omega;",v:"\xCE\xA9"},{k:"Omicron;",v:"\xCE\x9F"},{k:"Oopf;",v:"\xF0\x9D\x95\x86"},{k:"OpenCurlyDoubleQuote;",v:"\xE2\x80\x9C"},{k:"OpenCurlyQuote;",v:"\xE2\x80\x98"},{k:"Or;",v:"\xE2\xA9\x94"},{k:"Oscr;",v:"\xF0\x9D\x92\xAA"},{k:"Oslash;",v:"\xC3\x98"},{k:"Otilde;",v:"\xC3\x95"},{k:"Otimes;",v:"\xE2\xA8\xB7"},{k:"Ouml;",v:"\xC3\x96"},{k:"OverBar;",v:"\xE2\x80\xBE"},{k:"OverBrace;",v:"\xE2\x8F\x9E"},{k:"OverBracket;",v:"\xE2\x8E\xB4"},{k:"OverParenthesis;",v:"\xE2\x8F\x9C"},{k:"PartialD;",v:"\xE2\x88\x82"},{k:"Pcy;",v:"\xD0\x9F"},{k:"Pfr;",v:"\xF0\x9D\x94\x93"},{k:"Phi;",v:"\xCE\xA6"},{k:"Pi;",v:"\xCE\xA0"},{k:"PlusMinus;",v:"\xC2\xB1"},{k:"Poincareplane;",v:"\xE2\x84\x8C"},{k:"Popf;",v:"\xE2\x84\x99"},{k:"Pr;",v:"\xE2\xAA\xBB"},{k:"Precedes;",v:"\xE2\x89\xBA"},{k:"PrecedesEqual;",v:"\xE2\xAA\xAF"},{k:"PrecedesSlantEqual;",v:"\xE2\x89\xBC"},{k:"PrecedesTilde;",v:"\xE2\x89\xBE"},{k:"Prime;",v:"\xE2\x80\xB3"},{k:"Product;",v:"\xE2\x88\x8F"},{k:"Proportion;",v:"\xE2\x88\xB7"},{k:"Proportional;",v:"\xE2\x88\x9D"},{k:"Pscr;",v:"\xF0\x9D\x92\xAB"},{k:"Psi;",v:"\xCE\xA8"},{k:"QUOT;",v:"\""},{k:"Qfr;",v:"\xF0\x9D\x94\x94"},{k:"Qopf;",v:"\xE2\x84\x9A"},{k:"Qscr;",v:"\xF0\x9D\x92\xAC"},{k:"RBarr;",v:"\xE2\xA4\x90"},{k:"REG;",v:"\xC2\xAE"},{k:"Racute;",v:"\xC5\x94"},{k:"Rang;",v:"\xE2\x9F\xAB"},{k:"Rarr;",v:"\xE2\x86\xA0"},{k:"Rarrtl;",v:"\xE2\xA4\x96"},{k:"Rcaron;",v:"\xC5\x98"},{k:"Rcedil;",v:"\xC5\x96"},{k:"Rcy;",v:"\xD0\xA0"},{k:"Re;",v:"\xE2\x84\x9C"},{k:"ReverseElement;",v:"\xE2\x88\x8B"},{k:"ReverseEquilibrium;",v:"\xE2\x87\x8B"},{k:"ReverseUpEquilibrium;",v:"\xE2\xA5\xAF"},{k:"Rfr;",v:"\xE2\x84\x9C"},{k:"Rho;",v:"\xCE\xA1"},{k:"RightAngleBracket;",v:"\xE2\x9F\xA9"},{k:"RightArrow;",v:"\xE2\x86\x92"},{k:"RightArrowBar;",v:"\xE2\x87\xA5"},{k:"RightArrowLeftArrow;",v:"\xE2\x87\x84"},{k:"RightCeiling;",v:"\xE2\x8C\x89"},{k:"RightDoubleBracket;",v:"\xE2\x9F\xA7"},{k:"RightDownTeeVector;",v:"\xE2\xA5\x9D"},{k:"RightDownVector;",v:"\xE2\x87\x82"},{k:"RightDownVectorBar;",v:"\xE2\xA5\x95"},{k:"RightFloor;",v:"\xE2\x8C\x8B"},{k:"RightTee;",v:"\xE2\x8A\xA2"},{k:"RightTeeArrow;",v:"\xE2\x86\xA6"},{k:"RightTeeVector;",v:"\xE2\xA5\x9B"},{k:"RightTriangle;",v:"\xE2\x8A\xB3"},{k:"RightTriangleBar;",v:"\xE2\xA7\x90"},{k:"RightTriangleEqual;",v:"\xE2\x8A\xB5"},{k:"RightUpDownVector;",v:"\xE2\xA5\x8F"},{k:"RightUpTeeVector;",v:"\xE2\xA5\x9C"},{k:"RightUpVector;",v:"\xE2\x86\xBE"},{k:"RightUpVectorBar;",v:"\xE2\xA5\x94"},{k:"RightVector;",v:"\xE2\x87\x80"},{k:"RightVectorBar;",v:"\xE2\xA5\x93"},{k:"Rightarrow;",v:"\xE2\x87\x92"},{k:"Ropf;",v:"\xE2\x84\x9D"},{k:"RoundImplies;",v:"\xE2\xA5\xB0"},{k:"Rrightarrow;",v:"\xE2\x87\x9B"},{k:"Rscr;",v:"\xE2\x84\x9B"},{k:"Rsh;",v:"\xE2\x86\xB1"},{k:"RuleDelayed;",v:"\xE2\xA7\xB4"},{k:"SHCHcy;",v:"\xD0\xA9"},{k:"SHcy;",v:"\xD0\xA8"},{k:"SOFTcy;",v:"\xD0\xAC"},{k:"Sacute;",v:"\xC5\x9A"},{k:"Sc;",v:"\xE2\xAA\xBC"},{k:"Scaron;",v:"\xC5\xA0"},{k:"Scedil;",v:"\xC5\x9E"},{k:"Scirc;",v:"\xC5\x9C"},{k:"Scy;",v:"\xD0\xA1"},{k:"Sfr;",v:"\xF0\x9D\x94\x96"},{k:"ShortDownArrow;",v:"\xE2\x86\x93"},{k:"ShortLeftArrow;",v:"\xE2\x86\x90"},{k:"ShortRightArrow;",v:"\xE2\x86\x92"},{k:"ShortUpArrow;",v:"\xE2\x86\x91"},{k:"Sigma;",v:"\xCE\xA3"},{k:"SmallCircle;",v:"\xE2\x88\x98"},{k:"Sopf;",v:"\xF0\x9D\x95\x8A"},{k:"Sqrt;",v:"\xE2\x88\x9A"},{k:"Square;",v:"\xE2\x96\xA1"},{k:"SquareIntersection;",v:"\xE2\x8A\x93"},{k:"SquareSubset;",v:"\xE2\x8A\x8F"},{k:"SquareSubsetEqual;",v:"\xE2\x8A\x91"},{k:"SquareSuperset;",v:"\xE2\x8A\x90"},{k:"SquareSupersetEqual;",v:"\xE2\x8A\x92"},{k:"SquareUnion;",v:"\xE2\x8A\x94"},{k:"Sscr;",v:"\xF0\x9D\x92\xAE"},{k:"Star;",v:"\xE2\x8B\x86"},{k:"Sub;",v:"\xE2\x8B\x90"},{k:"Subset;",v:"\xE2\x8B\x90"},{k:"SubsetEqual;",v:"\xE2\x8A\x86"},{k:"Succeeds;",v:"\xE2\x89\xBB"},{k:"SucceedsEqual;",v:"\xE2\xAA\xB0"},{k:"SucceedsSlantEqual;",v:"\xE2\x89\xBD"},{k:"SucceedsTilde;",v:"\xE2\x89\xBF"},{k:"SuchThat;",v:"\xE2\x88\x8B"},{k:"Sum;",v:"\xE2\x88\x91"},{k:"Sup;",v:"\xE2\x8B\x91"},{k:"Superset;",v:"\xE2\x8A\x83"},{k:"SupersetEqual;",v:"\xE2\x8A\x87"},{k:"Supset;",v:"\xE2\x8B\x91"},{k:"THORN;",v:"\xC3\x9E"},{k:"TRADE;",v:"\xE2\x84\xA2"},{k:"TSHcy;",v:"\xD0\x8B"},{k:"TScy;",v:"\xD0\xA6"},{k:"Tab;",v:"\t"},{k:"Tau;",v:"\xCE\xA4"},{k:"Tcaron;",v:"\xC5\xA4"},{k:"Tcedil;",v:"\xC5\xA2"},{k:"Tcy;",v:"\xD0\xA2"},{k:"Tfr;",v:"\xF0\x9D\x94\x97"},{k:"Therefore;",v:"\xE2\x88\xB4"},{k:"Theta;",v:"\xCE\x98"},{k:"ThickSpace;",v:"\xE2\x81\x9F\xE2\x80\x8A"},{k:"ThinSpace;",v:"\xE2\x80\x89"},{k:"Tilde;",v:"\xE2\x88\xBC"},{k:"TildeEqual;",v:"\xE2\x89\x83"},{k:"TildeFullEqual;",v:"\xE2\x89\x85"},{k:"TildeTilde;",v:"\xE2\x89\x88"},{k:"Topf;",v:"\xF0\x9D\x95\x8B"},{k:"TripleDot;",v:"\xE2\x83\x9B"},{k:"Tscr;",v:"\xF0\x9D\x92\xAF"},{k:"Tstrok;",v:"\xC5\xA6"},{k:"Uacute;",v:"\xC3\x9A"},{k:"Uarr;",v:"\xE2\x86\x9F"},{k:"Uarrocir;",v:"\xE2\xA5\x89"},{k:"Ubrcy;",v:"\xD0\x8E"},{k:"Ubreve;",v:"\xC5\xAC"},{k:"Ucirc;",v:"\xC3\x9B"},{k:"Ucy;",v:"\xD0\xA3"},{k:"Udblac;",v:"\xC5\xB0"},{k:"Ufr;",v:"\xF0\x9D\x94\x98"},{k:"Ugrave;",v:"\xC3\x99"},{k:"Umacr;",v:"\xC5\xAA"},{k:"UnderBar;",v:"_"},{k:"UnderBrace;",v:"\xE2\x8F\x9F"},{k:"UnderBracket;",v:"\xE2\x8E\xB5"},{k:"UnderParenthesis;",v:"\xE2\x8F\x9D"},{k:"Union;",v:"\xE2\x8B\x83"},{k:"UnionPlus;",v:"\xE2\x8A\x8E"},{k:"Uogon;",v:"\xC5\xB2"},{k:"Uopf;",v:"\xF0\x9D\x95\x8C"},{k:"UpArrow;",v:"\xE2\x86\x91"},{k:"UpArrowBar;",v:"\xE2\xA4\x92"},{k:"UpArrowDownArrow;",v:"\xE2\x87\x85"},{k:"UpDownArrow;",v:"\xE2\x86\x95"},{k:"UpEquilibrium;",v:"\xE2\xA5\xAE"},{k:"UpTee;",v:"\xE2\x8A\xA5"},{k:"UpTeeArrow;",v:"\xE2\x86\xA5"},{k:"Uparrow;",v:"\xE2\x87\x91"},{k:"Updownarrow;",v:"\xE2\x87\x95"},{k:"UpperLeftArrow;",v:"\xE2\x86\x96"},{k:"UpperRightArrow;",v:"\xE2\x86\x97"},{k:"Upsi;",v:"\xCF\x92"},{k:"Upsilon;",v:"\xCE\xA5"},{k:"Uring;",v:"\xC5\xAE"},{k:"Uscr;",v:"\xF0\x9D\x92\xB0"},{k:"Utilde;",v:"\xC5\xA8"},{k:"Uuml;",v:"\xC3\x9C"},{k:"VDash;",v:"\xE2\x8A\xAB"},{k:"Vbar;",v:"\xE2\xAB\xAB"},{k:"Vcy;",v:"\xD0\x92"},{k:"Vdash;",v:"\xE2\x8A\xA9"},{k:"Vdashl;",v:"\xE2\xAB\xA6"},{k:"Vee;",v:"\xE2\x8B\x81"},{k:"Verbar;",v:"\xE2\x80\x96"},{k:"Vert;",v:"\xE2\x80\x96"},{k:"VerticalBar;",v:"\xE2\x88\xA3"},{k:"VerticalLine;",v:"|"},{k:"VerticalSeparator;",v:"\xE2\x9D\x98"},{k:"VerticalTilde;",v:"\xE2\x89\x80"},{k:"VeryThinSpace;",v:"\xE2\x80\x8A"},{k:"Vfr;",v:"\xF0\x9D\x94\x99"},{k:"Vopf;",v:"\xF0\x9D\x95\x8D"},{k:"Vscr;",v:"\xF0\x9D\x92\xB1"},{k:"Vvdash;",v:"\xE2\x8A\xAA"},{k:"Wcirc;",v:"\xC5\xB4"},{k:"Wedge;",v:"\xE2\x8B\x80"},{k:"Wfr;",v:"\xF0\x9D\x94\x9A"},{k:"Wopf;",v:"\xF0\x9D\x95\x8E"},{k:"Wscr;",v:"\xF0\x9D\x92\xB2"},{k:"Xfr;",v:"\xF0\x9D\x94\x9B"},{k:"Xi;",v:"\xCE\x9E"},{k:"Xopf;",v:"\xF0\x9D\x95\x8F"},{k:"Xscr;",v:"\xF0\x9D\x92\xB3"},{k:"YAcy;",v:"\xD0\xAF"},{k:"YIcy;",v:"\xD0\x87"},{k:"YUcy;",v:"\xD0\xAE"},{k:"Yacute;",v:"\xC3\x9D"},{k:"Ycirc;",v:"\xC5\xB6"},{k:"Ycy;",v:"\xD0\xAB"},{k:"Yfr;",v:"\xF0\x9D\x94\x9C"},{k:"Yopf;",v:"\xF0\x9D\x95\x90"},{k:"Yscr;",v:"\xF0\x9D\x92\xB4"},{k:"Yuml;",v:"\xC5\xB8"},{k:"ZHcy;",v:"\xD0\x96"},{k:"Zacute;",v:"\xC5\xB9"},{k:"Zcaron;",v:"\xC5\xBD"},{k:"Zcy;",v:"\xD0\x97"},{k:"Zdot;",v:"\xC5\xBB"},{k:"ZeroWidthSpace;",v:"\xE2\x80\x8B"},{k:"Zeta;",v:"\xCE\x96"},{k:"Zfr;",v:"\xE2\x84\xA8"},{k:"Zopf;",v:"\xE2\x84\xA4"},{k:"Zscr;",v:"\xF0\x9D\x92\xB5"},{k:"aacute;",v:"\xC3\xA1"},{k:"abreve;",v:"\xC4\x83"},{k:"ac;",v:"\xE2\x88\xBE"},{k:"acE;",v:"\xE2\x88\xBE\xCC\xB3"},{k:"acd;",v:"\xE2\x88\xBF"},{k:"acirc;",v:"\xC3\xA2"},{k:"acute;",v:"\xC2\xB4"},{k:"acy;",v:"\xD0\xB0"},{k:"aelig;",v:"\xC3\xA6"},{k:"af;",v:"\xE2\x81\xA1"},{k:"afr;",v:"\xF0\x9D\x94\x9E"},{k:"agrave;",v:"\xC3\xA0"},{k:"alefsym;",v:"\xE2\x84\xB5"},{k:"aleph;",v:"\xE2\x84\xB5"},{k:"alpha;",v:"\xCE\xB1"},{k:"amacr;",v:"\xC4\x81"},{k:"amalg;",v:"\xE2\xA8\xBF"},{k:"amp;",v:"&"},{k:"and;",v:"\xE2\x88\xA7"},{k:"andand;",v:"\xE2\xA9\x95"},{k:"andd;",v:"\xE2\xA9\x9C"},{k:"andslope;",v:"\xE2\xA9\x98"},{k:"andv;",v:"\xE2\xA9\x9A"},{k:"ang;",v:"\xE2\x88\xA0"},{k:"ange;",v:"\xE2\xA6\xA4"},{k:"angle;",v:"\xE2\x88\xA0"},{k:"angmsd;",v:"\xE2\x88\xA1"},{k:"angmsdaa;",v:"\xE2\xA6\xA8"},{k:"angmsdab;",v:"\xE2\xA6\xA9"},{k:"angmsdac;",v:"\xE2\xA6\xAA"},{k:"angmsdad;",v:"\xE2\xA6\xAB"},{k:"angmsdae;",v:"\xE2\xA6\xAC"},{k:"angmsdaf;",v:"\xE2\xA6\xAD"},{k:"angmsdag;",v:"\xE2\xA6\xAE"},{k:"angmsdah;",v:"\xE2\xA6\xAF"},{k:"angrt;",v:"\xE2\x88\x9F"},{k:"angrtvb;",v:"\xE2\x8A\xBE"},{k:"angrtvbd;",v:"\xE2\xA6\x9D"},{k:"angsph;",v:"\xE2\x88\xA2"},{k:"angst;",v:"\xC3\x85"},{k:"angzarr;",v:"\xE2\x8D\xBC"},{k:"aogon;",v:"\xC4\x85"},{k:"aopf;",v:"\xF0\x9D\x95\x92"},{k:"ap;",v:"\xE2\x89\x88"},{k:"apE;",v:"\xE2\xA9\xB0"},{k:"apacir;",v:"\xE2\xA9\xAF"},{k:"ape;",v:"\xE2\x89\x8A"},{k:"apid;",v:"\xE2\x89\x8B"},{k:"apos;",v:"'"},{k:"approx;",v:"\xE2\x89\x88"},{k:"approxeq;",v:"\xE2\x89\x8A"},{k:"aring;",v:"\xC3\xA5"},{k:"ascr;",v:"\xF0\x9D\x92\xB6"},{k:"ast;",v:"*"},{k:"asymp;",v:"\xE2\x89\x88"},{k:"asympeq;",v:"\xE2\x89\x8D"},{k:"atilde;",v:"\xC3\xA3"},{k:"auml;",v:"\xC3\xA4"},{k:"awconint;",v:"\xE2\x88\xB3"},{k:"awint;",v:"\xE2\xA8\x91"},{k:"bNot;",v:"\xE2\xAB\xAD"},{k:"backcong;",v:"\xE2\x89\x8C"},{k:"backepsilon;",v:"\xCF\xB6"},{k:"backprime;",v:"\xE2\x80\xB5"},{k:"backsim;",v:"\xE2\x88\xBD"},{k:"backsimeq;",v:"\xE2\x8B\x8D"},{k:"barvee;",v:"\xE2\x8A\xBD"},{k:"barwed;",v:"\xE2\x8C\x85"},{k:"barwedge;",v:"\xE2\x8C\x85"},{k:"bbrk;",v:"\xE2\x8E\xB5"},{k:"bbrktbrk;",v:"\xE2\x8E\xB6"},{k:"bcong;",v:"\xE2\x89\x8C"},{k:"bcy;",v:"\xD0\xB1"},{k:"bdquo;",v:"\xE2\x80\x9E"},{k:"becaus;",v:"\xE2\x88\xB5"},{k:"because;",v:"\xE2\x88\xB5"},{k:"bemptyv;",v:"\xE2\xA6\xB0"},{k:"bepsi;",v:"\xCF\xB6"},{k:"bernou;",v:"\xE2\x84\xAC"},{k:"beta;",v:"\xCE\xB2"},{k:"beth;",v:"\xE2\x84\xB6"},{k:"between;",v:"\xE2\x89\xAC"},{k:"bfr;",v:"\xF0\x9D\x94\x9F"},{k:"bigcap;",v:"\xE2\x8B\x82"},{k:"bigcirc;",v:"\xE2\x97\xAF"},{k:"bigcup;",v:"\xE2\x8B\x83"},{k:"bigodot;",v:"\xE2\xA8\x80"},{k:"bigoplus;",v:"\xE2\xA8\x81"},{k:"bigotimes;",v:"\xE2\xA8\x82"},{k:"bigsqcup;",v:"\xE2\xA8\x86"},{k:"bigstar;",v:"\xE2\x98\x85"},{k:"bigtriangledown;",v:"\xE2\x96\xBD"},{k:"bigtriangleup;",v:"\xE2\x96\xB3"},{k:"biguplus;",v:"\xE2\xA8\x84"},{k:"bigvee;",v:"\xE2\x8B\x81"},{k:"bigwedge;",v:"\xE2\x8B\x80"},{k:"bkarow;",v:"\xE2\xA4\x8D"},{k:"blacklozenge;",v:"\xE2\xA7\xAB"},{k:"blacksquare;",v:"\xE2\x96\xAA"},{k:"blacktriangle;",v:"\xE2\x96\xB4"},{k:"blacktriangledown;",v:"\xE2\x96\xBE"},{k:"blacktriangleleft;",v:"\xE2\x97\x82"},{k:"blacktriangleright;",v:"\xE2\x96\xB8"},{k:"blank;",v:"\xE2\x90\xA3"},{k:"blk12;",v:"\xE2\x96\x92"},{k:"blk14;",v:"\xE2\x96\x91"},{k:"blk34;",v:"\xE2\x96\x93"},{k:"block;",v:"\xE2\x96\x88"},{k:"bne;",v:"=\xE2\x83\xA5"},{k:"bnequiv;",v:"\xE2\x89\xA1\xE2\x83\xA5"},{k:"bnot;",v:"\xE2\x8C\x90"},{k:"bopf;",v:"\xF0\x9D\x95\x93"},{k:"bot;",v:"\xE2\x8A\xA5"},{k:"bottom;",v:"\xE2\x8A\xA5"},{k:"bowtie;",v:"\xE2\x8B\x88"},{k:"boxDL;",v:"\xE2\x95\x97"},{k:"boxDR;",v:"\xE2\x95\x94"},{k:"boxDl;",v:"\xE2\x95\x96"},{k:"boxDr;",v:"\xE2\x95\x93"},{k:"boxH;",v:"\xE2\x95\x90"},{k:"boxHD;",v:"\xE2\x95\xA6"},{k:"boxHU;",v:"\xE2\x95\xA9"},{k:"boxHd;",v:"\xE2\x95\xA4"},{k:"boxHu;",v:"\xE2\x95\xA7"},{k:"boxUL;",v:"\xE2\x95\x9D"},{k:"boxUR;",v:"\xE2\x95\x9A"},{k:"boxUl;",v:"\xE2\x95\x9C"},{k:"boxUr;",v:"\xE2\x95\x99"},{k:"boxV;",v:"\xE2\x95\x91"},{k:"boxVH;",v:"\xE2\x95\xAC"},{k:"boxVL;",v:"\xE2\x95\xA3"},{k:"boxVR;",v:"\xE2\x95\xA0"},{k:"boxVh;",v:"\xE2\x95\xAB"},{k:"boxVl;",v:"\xE2\x95\xA2"},{k:"boxVr;",v:"\xE2\x95\x9F"},{k:"boxbox;",v:"\xE2\xA7\x89"},{k:"boxdL;",v:"\xE2\x95\x95"},{k:"boxdR;",v:"\xE2\x95\x92"},{k:"boxdl;",v:"\xE2\x94\x90"},{k:"boxdr;",v:"\xE2\x94\x8C"},{k:"boxh;",v:"\xE2\x94\x80"},{k:"boxhD;",v:"\xE2\x95\xA5"},{k:"boxhU;",v:"\xE2\x95\xA8"},{k:"boxhd;",v:"\xE2\x94\xAC"},{k:"boxhu;",v:"\xE2\x94\xB4"},{k:"boxminus;",v:"\xE2\x8A\x9F"},{k:"boxplus;",v:"\xE2\x8A\x9E"},{k:"boxtimes;",v:"\xE2\x8A\xA0"},{k:"boxuL;",v:"\xE2\x95\x9B"},{k:"boxuR;",v:"\xE2\x95\x98"},{k:"boxul;",v:"\xE2\x94\x98"},{k:"boxur;",v:"\xE2\x94\x94"},{k:"boxv;",v:"\xE2\x94\x82"},{k:"boxvH;",v:"\xE2\x95\xAA"},{k:"boxvL;",v:"\xE2\x95\xA1"},{k:"boxvR;",v:"\xE2\x95\x9E"},{k:"boxvh;",v:"\xE2\x94\xBC"},{k:"boxvl;",v:"\xE2\x94\xA4"},{k:"boxvr;",v:"\xE2\x94\x9C"},{k:"bprime;",v:"\xE2\x80\xB5"},{k:"breve;",v:"\xCB\x98"},{k:"brvbar;",v:"\xC2\xA6"},{k:"bscr;",v:"\xF0\x9D\x92\xB7"},{k:"bsemi;",v:"\xE2\x81\x8F"},{k:"bsim;",v:"\xE2\x88\xBD"},{k:"bsime;",v:"\xE2\x8B\x8D"},{k:"bsol;",v:"\\"},{k:"bsolb;",v:"\xE2\xA7\x85"},{k:"bsolhsub;",v:"\xE2\x9F\x88"},{k:"bull;",v:"\xE2\x80\xA2"},{k:"bullet;",v:"\xE2\x80\xA2"},{k:"bump;",v:"\xE2\x89\x8E"},{k:"bumpE;",v:"\xE2\xAA\xAE"},{k:"bumpe;",v:"\xE2\x89\x8F"},{k:"bumpeq;",v:"\xE2\x89\x8F"},{k:"cacute;",v:"\xC4\x87"},{k:"cap;",v:"\xE2\x88\xA9"},{k:"capand;",v:"\xE2\xA9\x84"},{k:"capbrcup;",v:"\xE2\xA9\x89"},{k:"capcap;",v:"\xE2\xA9\x8B"},{k:"capcup;",v:"\xE2\xA9\x87"},{k:"capdot;",v:"\xE2\xA9\x80"},{k:"caps;",v:"\xE2\x88\xA9\xEF\xB8\x80"},{k:"caret;",v:"\xE2\x81\x81"},{k:"caron;",v:"\xCB\x87"},{k:"ccaps;",v:"\xE2\xA9\x8D"},{k:"ccaron;",v:"\xC4\x8D"},{k:"ccedil;",v:"\xC3\xA7"},{k:"ccirc;",v:"\xC4\x89"},{k:"ccups;",v:"\xE2\xA9\x8C"},{k:"ccupssm;",v:"\xE2\xA9\x90"},{k:"cdot;",v:"\xC4\x8B"},{k:"cedil;",v:"\xC2\xB8"},{k:"cemptyv;",v:"\xE2\xA6\xB2"},{k:"cent;",v:"\xC2\xA2"},{k:"centerdot;",v:"\xC2\xB7"},{k:"cfr;",v:"\xF0\x9D\x94\xA0"},{k:"chcy;",v:"\xD1\x87"},{k:"check;",v:"\xE2\x9C\x93"},{k:"checkmark;",v:"\xE2\x9C\x93"},{k:"chi;",v:"\xCF\x87"},{k:"cir;",v:"\xE2\x97\x8B"},{k:"cirE;",v:"\xE2\xA7\x83"},{k:"circ;",v:"\xCB\x86"},{k:"circeq;",v:"\xE2\x89\x97"},{k:"circlearrowleft;",v:"\xE2\x86\xBA"},{k:"circlearrowright;",v:"\xE2\x86\xBB"},{k:"circledR;",v:"\xC2\xAE"},{k:"circledS;",v:"\xE2\x93\x88"},{k:"circledast;",v:"\xE2\x8A\x9B"},{k:"circledcirc;",v:"\xE2\x8A\x9A"},{k:"circleddash;",v:"\xE2\x8A\x9D"},{k:"cire;",v:"\xE2\x89\x97"},{k:"cirfnint;",v:"\xE2\xA8\x90"},{k:"cirmid;",v:"\xE2\xAB\xAF"},{k:"cirscir;",v:"\xE2\xA7\x82"},{k:"clubs;",v:"\xE2\x99\xA3"},{k:"clubsuit;",v:"\xE2\x99\xA3"},{k:"colon;",v:":"},{k:"colone;",v:"\xE2\x89\x94"},{k:"coloneq;",v:"\xE2\x89\x94"},{k:"comma;",v:","},{k:"commat;",v:"@"},{k:"comp;",v:"\xE2\x88\x81"},{k:"compfn;",v:"\xE2\x88\x98"},{k:"complement;",v:"\xE2\x88\x81"},{k:"complexes;",v:"\xE2\x84\x82"},{k:"cong;",v:"\xE2\x89\x85"},{k:"congdot;",v:"\xE2\xA9\xAD"},{k:"conint;",v:"\xE2\x88\xAE"},{k:"copf;",v:"\xF0\x9D\x95\x94"},{k:"coprod;",v:"\xE2\x88\x90"},{k:"copy;",v:"\xC2\xA9"},{k:"copysr;",v:"\xE2\x84\x97"},{k:"crarr;",v:"\xE2\x86\xB5"},{k:"cross;",v:"\xE2\x9C\x97"},{k:"cscr;",v:"\xF0\x9D\x92\xB8"},{k:"csub;",v:"\xE2\xAB\x8F"},{k:"csube;",v:"\xE2\xAB\x91"},{k:"csup;",v:"\xE2\xAB\x90"},{k:"csupe;",v:"\xE2\xAB\x92"},{k:"ctdot;",v:"\xE2\x8B\xAF"},{k:"cudarrl;",v:"\xE2\xA4\xB8"},{k:"cudarrr;",v:"\xE2\xA4\xB5"},{k:"cuepr;",v:"\xE2\x8B\x9E"},{k:"cuesc;",v:"\xE2\x8B\x9F"},{k:"cularr;",v:"\xE2\x86\xB6"},{k:"cularrp;",v:"\xE2\xA4\xBD"},{k:"cup;",v:"\xE2\x88\xAA"},{k:"cupbrcap;",v:"\xE2\xA9\x88"},{k:"cupcap;",v:"\xE2\xA9\x86"},{k:"cupcup;",v:"\xE2\xA9\x8A"},{k:"cupdot;",v:"\xE2\x8A\x8D"},{k:"cupor;",v:"\xE2\xA9\x85"},{k:"cups;",v:"\xE2\x88\xAA\xEF\xB8\x80"},{k:"curarr;",v:"\xE2\x86\xB7"},{k:"curarrm;",v:"\xE2\xA4\xBC"},{k:"curlyeqprec;",v:"\xE2\x8B\x9E"},{k:"curlyeqsucc;",v:"\xE2\x8B\x9F"},{k:"curlyvee;",v:"\xE2\x8B\x8E"},{k:"curlywedge;",v:"\xE2\x8B\x8F"},{k:"curren;",v:"\xC2\xA4"},{k:"curvearrowleft;",v:"\xE2\x86\xB6"},{k:"curvearrowright;",v:"\xE2\x86\xB7"},{k:"cuvee;",v:"\xE2\x8B\x8E"},{k:"cuwed;",v:"\xE2\x8B\x8F"},{k:"cwconint;",v:"\xE2\x88\xB2"},{k:"cwint;",v:"\xE2\x88\xB1"},{k:"cylcty;",v:"\xE2\x8C\xAD"},{k:"dArr;",v:"\xE2\x87\x93"},{k:"dHar;",v:"\xE2\xA5\xA5"},{k:"dagger;",v:"\xE2\x80\xA0"},{k:"daleth;",v:"\xE2\x84\xB8"},{k:"darr;",v:"\xE2\x86\x93"},{k:"dash;",v:"\xE2\x80\x90"},{k:"dashv;",v:"\xE2\x8A\xA3"},{k:"dbkarow;",v:"\xE2\xA4\x8F"},{k:"dblac;",v:"\xCB\x9D"},{k:"dcaron;",v:"\xC4\x8F"},{k:"dcy;",v:"\xD0\xB4"},{k:"dd;",v:"\xE2\x85\x86"},{k:"ddagger;",v:"\xE2\x80\xA1"},{k:"ddarr;",v:"\xE2\x87\x8A"},{k:"ddotseq;",v:"\xE2\xA9\xB7"},{k:"deg;",v:"\xC2\xB0"},{k:"delta;",v:"\xCE\xB4"},{k:"demptyv;",v:"\xE2\xA6\xB1"},{k:"dfisht;",v:"\xE2\xA5\xBF"},{k:"dfr;",v:"\xF0\x9D\x94\xA1"},{k:"dharl;",v:"\xE2\x87\x83"},{k:"dharr;",v:"\xE2\x87\x82"},{k:"diam;",v:"\xE2\x8B\x84"},{k:"diamond;",v:"\xE2\x8B\x84"},{k:"diamondsuit;",v:"\xE2\x99\xA6"},{k:"diams;",v:"\xE2\x99\xA6"},{k:"die;",v:"\xC2\xA8"},{k:"digamma;",v:"\xCF\x9D"},{k:"disin;",v:"\xE2\x8B\xB2"},{k:"div;",v:"\xC3\xB7"},{k:"divide;",v:"\xC3\xB7"},{k:"divideontimes;",v:"\xE2\x8B\x87"},{k:"divonx;",v:"\xE2\x8B\x87"},{k:"djcy;",v:"\xD1\x92"},{k:"dlcorn;",v:"\xE2\x8C\x9E"},{k:"dlcrop;",v:"\xE2\x8C\x8D"},{k:"dollar;",v:"$"},{k:"dopf;",v:"\xF0\x9D\x95\x95"},{k:"dot;",v:"\xCB\x99"},{k:"doteq;",v:"\xE2\x89\x90"},{k:"doteqdot;",v:"\xE2\x89\x91"},{k:"dotminus;",v:"\xE2\x88\xB8"},{k:"dotplus;",v:"\xE2\x88\x94"},{k:"dotsquare;",v:"\xE2\x8A\xA1"},{k:"doublebarwedge;",v:"\xE2\x8C\x86"},{k:"downarrow;",v:"\xE2\x86\x93"},{k:"downdownarrows;",v:"\xE2\x87\x8A"},{k:"downharpoonleft;",v:"\xE2\x87\x83"},{k:"downharpoonright;",v:"\xE2\x87\x82"},{k:"drbkarow;",v:"\xE2\xA4\x90"},{k:"drcorn;",v:"\xE2\x8C\x9F"},{k:"drcrop;",v:"\xE2\x8C\x8C"},{k:"dscr;",v:"\xF0\x9D\x92\xB9"},{k:"dscy;",v:"\xD1\x95"},{k:"dsol;",v:"\xE2\xA7\xB6"},{k:"dstrok;",v:"\xC4\x91"},{k:"dtdot;",v:"\xE2\x8B\xB1"},{k:"dtri;",v:"\xE2\x96\xBF"},{k:"dtrif;",v:"\xE2\x96\xBE"},{k:"duarr;",v:"\xE2\x87\xB5"},{k:"duhar;",v:"\xE2\xA5\xAF"},{k:"dwangle;",v:"\xE2\xA6\xA6"},{k:"dzcy;",v:"\xD1\x9F"},{k:"dzigrarr;",v:"\xE2\x9F\xBF"},{k:"eDDot;",v:"\xE2\xA9\xB7"},{k:"eDot;",v:"\xE2\x89\x91"},{k:"eacute;",v:"\xC3\xA9"},{k:"easter;",v:"\xE2\xA9\xAE"},{k:"ecaron;",v:"\xC4\x9B"},{k:"ecir;",v:"\xE2\x89\x96"},{k:"ecirc;",v:"\xC3\xAA"},{k:"ecolon;",v:"\xE2\x89\x95"},{k:"ecy;",v:"\xD1\x8D"},{k:"edot;",v:"\xC4\x97"},{k:"ee;",v:"\xE2\x85\x87"},{k:"efDot;",v:"\xE2\x89\x92"},{k:"efr;",v:"\xF0\x9D\x94\xA2"},{k:"eg;",v:"\xE2\xAA\x9A"},{k:"egrave;",v:"\xC3\xA8"},{k:"egs;",v:"\xE2\xAA\x96"},{k:"egsdot;",v:"\xE2\xAA\x98"},{k:"el;",v:"\xE2\xAA\x99"},{k:"elinters;",v:"\xE2\x8F\xA7"},{k:"ell;",v:"\xE2\x84\x93"},{k:"els;",v:"\xE2\xAA\x95"},{k:"elsdot;",v:"\xE2\xAA\x97"},{k:"emacr;",v:"\xC4\x93"},{k:"empty;",v:"\xE2\x88\x85"},{k:"emptyset;",v:"\xE2\x88\x85"},{k:"emptyv;",v:"\xE2\x88\x85"},{k:"emsp;",v:"\xE2\x80\x83"},{k:"emsp13;",v:"\xE2\x80\x84"},{k:"emsp14;",v:"\xE2\x80\x85"},{k:"eng;",v:"\xC5\x8B"},{k:"ensp;",v:"\xE2\x80\x82"},{k:"eogon;",v:"\xC4\x99"},{k:"eopf;",v:"\xF0\x9D\x95\x96"},{k:"epar;",v:"\xE2\x8B\x95"},{k:"eparsl;",v:"\xE2\xA7\xA3"},{k:"eplus;",v:"\xE2\xA9\xB1"},{k:"epsi;",v:"\xCE\xB5"},{k:"epsilon;",v:"\xCE\xB5"},{k:"epsiv;",v:"\xCF\xB5"},{k:"eqcirc;",v:"\xE2\x89\x96"},{k:"eqcolon;",v:"\xE2\x89\x95"},{k:"eqsim;",v:"\xE2\x89\x82"},{k:"eqslantgtr;",v:"\xE2\xAA\x96"},{k:"eqslantless;",v:"\xE2\xAA\x95"},{k:"equals;",v:"="},{k:"equest;",v:"\xE2\x89\x9F"},{k:"equiv;",v:"\xE2\x89\xA1"},{k:"equivDD;",v:"\xE2\xA9\xB8"},{k:"eqvparsl;",v:"\xE2\xA7\xA5"},{k:"erDot;",v:"\xE2\x89\x93"},{k:"erarr;",v:"\xE2\xA5\xB1"},{k:"escr;",v:"\xE2\x84\xAF"},{k:"esdot;",v:"\xE2\x89\x90"},{k:"esim;",v:"\xE2\x89\x82"},{k:"eta;",v:"\xCE\xB7"},{k:"eth;",v:"\xC3\xB0"},{k:"euml;",v:"\xC3\xAB"},{k:"euro;",v:"\xE2\x82\xAC"},{k:"excl;",v:"!"},{k:"exist;",v:"\xE2\x88\x83"},{k:"expectation;",v:"\xE2\x84\xB0"},{k:"exponentiale;",v:"\xE2\x85\x87"},{k:"fallingdotseq;",v:"\xE2\x89\x92"},{k:"fcy;",v:"\xD1\x84"},{k:"female;",v:"\xE2\x99\x80"},{k:"ffilig;",v:"\xEF\xAC\x83"},{k:"fflig;",v:"\xEF\xAC\x80"},{k:"ffllig;",v:"\xEF\xAC\x84"},{k:"ffr;",v:"\xF0\x9D\x94\xA3"},{k:"filig;",v:"\xEF\xAC\x81"},{k:"fjlig;",v:"fj fj"},{k:"flat;",v:"\xE2\x99\xAD"},{k:"fllig;",v:"\xEF\xAC\x82"},{k:"fltns;",v:"\xE2\x96\xB1"},{k:"fnof;",v:"\xC6\x92"},{k:"fopf;",v:"\xF0\x9D\x95\x97"},{k:"forall;",v:"\xE2\x88\x80"},{k:"fork;",v:"\xE2\x8B\x94"},{k:"forkv;",v:"\xE2\xAB\x99"},{k:"fpartint;",v:"\xE2\xA8\x8D"},{k:"frac12;",v:"\xC2\xBD"},{k:"frac13;",v:"\xE2\x85\x93"},{k:"frac14;",v:"\xC2\xBC"},{k:"frac15;",v:"\xE2\x85\x95"},{k:"frac16;",v:"\xE2\x85\x99"},{k:"frac18;",v:"\xE2\x85\x9B"},{k:"frac23;",v:"\xE2\x85\x94"},{k:"frac25;",v:"\xE2\x85\x96"},{k:"frac34;",v:"\xC2\xBE"},{k:"frac35;",v:"\xE2\x85\x97"},{k:"frac38;",v:"\xE2\x85\x9C"},{k:"frac45;",v:"\xE2\x85\x98"},{k:"frac56;",v:"\xE2\x85\x9A"},{k:"frac58;",v:"\xE2\x85\x9D"},{k:"frac78;",v:"\xE2\x85\x9E"},{k:"frasl;",v:"\xE2\x81\x84"},{k:"frown;",v:"\xE2\x8C\xA2"},{k:"fscr;",v:"\xF0\x9D\x92\xBB"},{k:"gE;",v:"\xE2\x89\xA7"},{k:"gEl;",v:"\xE2\xAA\x8C"},{k:"gacute;",v:"\xC7\xB5"},{k:"gamma;",v:"\xCE\xB3"},{k:"gammad;",v:"\xCF\x9D"},{k:"gap;",v:"\xE2\xAA\x86"},{k:"gbreve;",v:"\xC4\x9F"},{k:"gcirc;",v:"\xC4\x9D"},{k:"gcy;",v:"\xD0\xB3"},{k:"gdot;",v:"\xC4\xA1"},{k:"ge;",v:"\xE2\x89\xA5"},{k:"gel;",v:"\xE2\x8B\x9B"},{k:"geq;",v:"\xE2\x89\xA5"},{k:"geqq;",v:"\xE2\x89\xA7"},{k:"geqslant;",v:"\xE2\xA9\xBE"},{k:"ges;",v:"\xE2\xA9\xBE"},{k:"gescc;",v:"\xE2\xAA\xA9"},{k:"gesdot;",v:"\xE2\xAA\x80"},{k:"gesdoto;",v:"\xE2\xAA\x82"},{k:"gesdotol;",v:"\xE2\xAA\x84"},{k:"gesl;",v:"\xE2\x8B\x9B\xEF\xB8\x80"},{k:"gesles;",v:"\xE2\xAA\x94"},{k:"gfr;",v:"\xF0\x9D\x94\xA4"},{k:"gg;",v:"\xE2\x89\xAB"},{k:"ggg;",v:"\xE2\x8B\x99"},{k:"gimel;",v:"\xE2\x84\xB7"},{k:"gjcy;",v:"\xD1\x93"},{k:"gl;",v:"\xE2\x89\xB7"},{k:"glE;",v:"\xE2\xAA\x92"},{k:"gla;",v:"\xE2\xAA\xA5"},{k:"glj;",v:"\xE2\xAA\xA4"},{k:"gnE;",v:"\xE2\x89\xA9"},{k:"gnap;",v:"\xE2\xAA\x8A"},{k:"gnapprox;",v:"\xE2\xAA\x8A"},{k:"gne;",v:"\xE2\xAA\x88"},{k:"gneq;",v:"\xE2\xAA\x88"},{k:"gneqq;",v:"\xE2\x89\xA9"},{k:"gnsim;",v:"\xE2\x8B\xA7"},{k:"gopf;",v:"\xF0\x9D\x95\x98"},{k:"grave;",v:"`"},{k:"gscr;",v:"\xE2\x84\x8A"},{k:"gsim;",v:"\xE2\x89\xB3"},{k:"gsime;",v:"\xE2\xAA\x8E"},{k:"gsiml;",v:"\xE2\xAA\x90"},{k:"gt;",v:">"},{k:"gtcc;",v:"\xE2\xAA\xA7"},{k:"gtcir;",v:"\xE2\xA9\xBA"},{k:"gtdot;",v:"\xE2\x8B\x97"},{k:"gtlPar;",v:"\xE2\xA6\x95"},{k:"gtquest;",v:"\xE2\xA9\xBC"},{k:"gtrapprox;",v:"\xE2\xAA\x86"},{k:"gtrarr;",v:"\xE2\xA5\xB8"},{k:"gtrdot;",v:"\xE2\x8B\x97"},{k:"gtreqless;",v:"\xE2\x8B\x9B"},{k:"gtreqqless;",v:"\xE2\xAA\x8C"},{k:"gtrless;",v:"\xE2\x89\xB7"},{k:"gtrsim;",v:"\xE2\x89\xB3"},{k:"gvertneqq;",v:"\xE2\x89\xA9\xEF\xB8\x80"},{k:"gvnE;",v:"\xE2\x89\xA9\xEF\xB8\x80"},{k:"hArr;",v:"\xE2\x87\x94"},{k:"hairsp;",v:"\xE2\x80\x8A"},{k:"half;",v:"\xC2\xBD"},{k:"hamilt;",v:"\xE2\x84\x8B"},{k:"hardcy;",v:"\xD1\x8A"},{k:"harr;",v:"\xE2\x86\x94"},{k:"harrcir;",v:"\xE2\xA5\x88"},{k:"harrw;",v:"\xE2\x86\xAD"},{k:"hbar;",v:"\xE2\x84\x8F"},{k:"hcirc;",v:"\xC4\xA5"},{k:"hearts;",v:"\xE2\x99\xA5"},{k:"heartsuit;",v:"\xE2\x99\xA5"},{k:"hellip;",v:"\xE2\x80\xA6"},{k:"hercon;",v:"\xE2\x8A\xB9"},{k:"hfr;",v:"\xF0\x9D\x94\xA5"},{k:"hksearow;",v:"\xE2\xA4\xA5"},{k:"hkswarow;",v:"\xE2\xA4\xA6"},{k:"hoarr;",v:"\xE2\x87\xBF"},{k:"homtht;",v:"\xE2\x88\xBB"},{k:"hookleftarrow;",v:"\xE2\x86\xA9"},{k:"hookrightarrow;",v:"\xE2\x86\xAA"},{k:"hopf;",v:"\xF0\x9D\x95\x99"},{k:"horbar;",v:"\xE2\x80\x95"},{k:"hscr;",v:"\xF0\x9D\x92\xBD"},{k:"hslash;",v:"\xE2\x84\x8F"},{k:"hstrok;",v:"\xC4\xA7"},{k:"hybull;",v:"\xE2\x81\x83"},{k:"hyphen;",v:"\xE2\x80\x90"},{k:"iacute;",v:"\xC3\xAD"},{k:"ic;",v:"\xE2\x81\xA3"},{k:"icirc;",v:"\xC3\xAE"},{k:"icy;",v:"\xD0\xB8"},{k:"iecy;",v:"\xD0\xB5"},{k:"iexcl;",v:"\xC2\xA1"},{k:"iff;",v:"\xE2\x87\x94"},{k:"ifr;",v:"\xF0\x9D\x94\xA6"},{k:"igrave;",v:"\xC3\xAC"},{k:"ii;",v:"\xE2\x85\x88"},{k:"iiiint;",v:"\xE2\xA8\x8C"},{k:"iiint;",v:"\xE2\x88\xAD"},{k:"iinfin;",v:"\xE2\xA7\x9C"},{k:"iiota;",v:"\xE2\x84\xA9"},{k:"ijlig;",v:"\xC4\xB3"},{k:"imacr;",v:"\xC4\xAB"},{k:"image;",v:"\xE2\x84\x91"},{k:"imagline;",v:"\xE2\x84\x90"},{k:"imagpart;",v:"\xE2\x84\x91"},{k:"imath;",v:"\xC4\xB1"},{k:"imof;",v:"\xE2\x8A\xB7"},{k:"imped;",v:"\xC6\xB5"},{k:"in;",v:"\xE2\x88\x88"},{k:"incare;",v:"\xE2\x84\x85"},{k:"infin;",v:"\xE2\x88\x9E"},{k:"infintie;",v:"\xE2\xA7\x9D"},{k:"inodot;",v:"\xC4\xB1"},{k:"int;",v:"\xE2\x88\xAB"},{k:"intcal;",v:"\xE2\x8A\xBA"},{k:"integers;",v:"\xE2\x84\xA4"},{k:"intercal;",v:"\xE2\x8A\xBA"},{k:"intlarhk;",v:"\xE2\xA8\x97"},{k:"intprod;",v:"\xE2\xA8\xBC"},{k:"iocy;",v:"\xD1\x91"},{k:"iogon;",v:"\xC4\xAF"},{k:"iopf;",v:"\xF0\x9D\x95\x9A"},{k:"iota;",v:"\xCE\xB9"},{k:"iprod;",v:"\xE2\xA8\xBC"},{k:"iquest;",v:"\xC2\xBF"},{k:"iscr;",v:"\xF0\x9D\x92\xBE"},{k:"isin;",v:"\xE2\x88\x88"},{k:"isinE;",v:"\xE2\x8B\xB9"},{k:"isindot;",v:"\xE2\x8B\xB5"},{k:"isins;",v:"\xE2\x8B\xB4"},{k:"isinsv;",v:"\xE2\x8B\xB3"},{k:"isinv;",v:"\xE2\x88\x88"},{k:"it;",v:"\xE2\x81\xA2"},{k:"itilde;",v:"\xC4\xA9"},{k:"iukcy;",v:"\xD1\x96"},{k:"iuml;",v:"\xC3\xAF"},{k:"jcirc;",v:"\xC4\xB5"},{k:"jcy;",v:"\xD0\xB9"},{k:"jfr;",v:"\xF0\x9D\x94\xA7"},{k:"jmath;",v:"\xC8\xB7"},{k:"jopf;",v:"\xF0\x9D\x95\x9B"},{k:"jscr;",v:"\xF0\x9D\x92\xBF"},{k:"jsercy;",v:"\xD1\x98"},{k:"jukcy;",v:"\xD1\x94"},{k:"kappa;",v:"\xCE\xBA"},{k:"kappav;",v:"\xCF\xB0"},{k:"kcedil;",v:"\xC4\xB7"},{k:"kcy;",v:"\xD0\xBA"},{k:"kfr;",v:"\xF0\x9D\x94\xA8"},{k:"kgreen;",v:"\xC4\xB8"},{k:"khcy;",v:"\xD1\x85"},{k:"kjcy;",v:"\xD1\x9C"},{k:"kopf;",v:"\xF0\x9D\x95\x9C"},{k:"kscr;",v:"\xF0\x9D\x93\x80"},{k:"lAarr;",v:"\xE2\x87\x9A"},{k:"lArr;",v:"\xE2\x87\x90"},{k:"lAtail;",v:"\xE2\xA4\x9B"},{k:"lBarr;",v:"\xE2\xA4\x8E"},{k:"lE;",v:"\xE2\x89\xA6"},{k:"lEg;",v:"\xE2\xAA\x8B"},{k:"lHar;",v:"\xE2\xA5\xA2"},{k:"lacute;",v:"\xC4\xBA"},{k:"laemptyv;",v:"\xE2\xA6\xB4"},{k:"lagran;",v:"\xE2\x84\x92"},{k:"lambda;",v:"\xCE\xBB"},{k:"lang;",v:"\xE2\x9F\xA8"},{k:"langd;",v:"\xE2\xA6\x91"},{k:"langle;",v:"\xE2\x9F\xA8"},{k:"lap;",v:"\xE2\xAA\x85"},{k:"laquo;",v:"\xC2\xAB"},{k:"larr;",v:"\xE2\x86\x90"},{k:"larrb;",v:"\xE2\x87\xA4"},{k:"larrbfs;",v:"\xE2\xA4\x9F"},{k:"larrfs;",v:"\xE2\xA4\x9D"},{k:"larrhk;",v:"\xE2\x86\xA9"},{k:"larrlp;",v:"\xE2\x86\xAB"},{k:"larrpl;",v:"\xE2\xA4\xB9"},{k:"larrsim;",v:"\xE2\xA5\xB3"},{k:"larrtl;",v:"\xE2\x86\xA2"},{k:"lat;",v:"\xE2\xAA\xAB"},{k:"latail;",v:"\xE2\xA4\x99"},{k:"late;",v:"\xE2\xAA\xAD"},{k:"lates;",v:"\xE2\xAA\xAD\xEF\xB8\x80"},{k:"lbarr;",v:"\xE2\xA4\x8C"},{k:"lbbrk;",v:"\xE2\x9D\xB2"},{k:"lbrace;",v:"{"},{k:"lbrack;",v:"["},{k:"lbrke;",v:"\xE2\xA6\x8B"},{k:"lbrksld;",v:"\xE2\xA6\x8F"},{k:"lbrkslu;",v:"\xE2\xA6\x8D"},{k:"lcaron;",v:"\xC4\xBE"},{k:"lcedil;",v:"\xC4\xBC"},{k:"lceil;",v:"\xE2\x8C\x88"},{k:"lcub;",v:"{"},{k:"lcy;",v:"\xD0\xBB"},{k:"ldca;",v:"\xE2\xA4\xB6"},{k:"ldquo;",v:"\xE2\x80\x9C"},{k:"ldquor;",v:"\xE2\x80\x9E"},{k:"ldrdhar;",v:"\xE2\xA5\xA7"},{k:"ldrushar;",v:"\xE2\xA5\x8B"},{k:"ldsh;",v:"\xE2\x86\xB2"},{k:"le;",v:"\xE2\x89\xA4"},{k:"leftarrow;",v:"\xE2\x86\x90"},{k:"leftarrowtail;",v:"\xE2\x86\xA2"},{k:"leftharpoondown;",v:"\xE2\x86\xBD"},{k:"leftharpoonup;",v:"\xE2\x86\xBC"},{k:"leftleftarrows;",v:"\xE2\x87\x87"},{k:"leftrightarrow;",v:"\xE2\x86\x94"},{k:"leftrightarrows;",v:"\xE2\x87\x86"},{k:"leftrightharpoons;",v:"\xE2\x87\x8B"},{k:"leftrightsquigarrow;",v:"\xE2\x86\xAD"},{k:"leftthreetimes;",v:"\xE2\x8B\x8B"},{k:"leg;",v:"\xE2\x8B\x9A"},{k:"leq;",v:"\xE2\x89\xA4"},{k:"leqq;",v:"\xE2\x89\xA6"},{k:"leqslant;",v:"\xE2\xA9\xBD"},{k:"les;",v:"\xE2\xA9\xBD"},{k:"lescc;",v:"\xE2\xAA\xA8"},{k:"lesdot;",v:"\xE2\xA9\xBF"},{k:"lesdoto;",v:"\xE2\xAA\x81"},{k:"lesdotor;",v:"\xE2\xAA\x83"},{k:"lesg;",v:"\xE2\x8B\x9A\xEF\xB8\x80"},{k:"lesges;",v:"\xE2\xAA\x93"},{k:"lessapprox;",v:"\xE2\xAA\x85"},{k:"lessdot;",v:"\xE2\x8B\x96"},{k:"lesseqgtr;",v:"\xE2\x8B\x9A"},{k:"lesseqqgtr;",v:"\xE2\xAA\x8B"},{k:"lessgtr;",v:"\xE2\x89\xB6"},{k:"lesssim;",v:"\xE2\x89\xB2"},{k:"lfisht;",v:"\xE2\xA5\xBC"},{k:"lfloor;",v:"\xE2\x8C\x8A"},{k:"lfr;",v:"\xF0\x9D\x94\xA9"},{k:"lg;",v:"\xE2\x89\xB6"},{k:"lgE;",v:"\xE2\xAA\x91"},{k:"lhard;",v:"\xE2\x86\xBD"},{k:"lharu;",v:"\xE2\x86\xBC"},{k:"lharul;",v:"\xE2\xA5\xAA"},{k:"lhblk;",v:"\xE2\x96\x84"},{k:"ljcy;",v:"\xD1\x99"},{k:"ll;",v:"\xE2\x89\xAA"},{k:"llarr;",v:"\xE2\x87\x87"},{k:"llcorner;",v:"\xE2\x8C\x9E"},{k:"llhard;",v:"\xE2\xA5\xAB"},{k:"lltri;",v:"\xE2\x97\xBA"},{k:"lmidot;",v:"\xC5\x80"},{k:"lmoust;",v:"\xE2\x8E\xB0"},{k:"lmoustache;",v:"\xE2\x8E\xB0"},{k:"lnE;",v:"\xE2\x89\xA8"},{k:"lnap;",v:"\xE2\xAA\x89"},{k:"lnapprox;",v:"\xE2\xAA\x89"},{k:"lne;",v:"\xE2\xAA\x87"},{k:"lneq;",v:"\xE2\xAA\x87"},{k:"lneqq;",v:"\xE2\x89\xA8"},{k:"lnsim;",v:"\xE2\x8B\xA6"},{k:"loang;",v:"\xE2\x9F\xAC"},{k:"loarr;",v:"\xE2\x87\xBD"},{k:"lobrk;",v:"\xE2\x9F\xA6"},{k:"longleftarrow;",v:"\xE2\x9F\xB5"},{k:"longleftrightarrow;",v:"\xE2\x9F\xB7"},{k:"longmapsto;",v:"\xE2\x9F\xBC"},{k:"longrightarrow;",v:"\xE2\x9F\xB6"},{k:"looparrowleft;",v:"\xE2\x86\xAB"},{k:"looparrowright;",v:"\xE2\x86\xAC"},{k:"lopar;",v:"\xE2\xA6\x85"},{k:"lopf;",v:"\xF0\x9D\x95\x9D"},{k:"loplus;",v:"\xE2\xA8\xAD"},{k:"lotimes;",v:"\xE2\xA8\xB4"},{k:"lowast;",v:"\xE2\x88\x97"},{k:"lowbar;",v:"_"},{k:"loz;",v:"\xE2\x97\x8A"},{k:"lozenge;",v:"\xE2\x97\x8A"},{k:"lozf;",v:"\xE2\xA7\xAB"},{k:"lpar;",v:"("},{k:"lparlt;",v:"\xE2\xA6\x93"},{k:"lrarr;",v:"\xE2\x87\x86"},{k:"lrcorner;",v:"\xE2\x8C\x9F"},{k:"lrhar;",v:"\xE2\x87\x8B"},{k:"lrhard;",v:"\xE2\xA5\xAD"},{k:"lrm;",v:"\xE2\x80\x8E"},{k:"lrtri;",v:"\xE2\x8A\xBF"},{k:"lsaquo;",v:"\xE2\x80\xB9"},{k:"lscr;",v:"\xF0\x9D\x93\x81"},{k:"lsh;",v:"\xE2\x86\xB0"},{k:"lsim;",v:"\xE2\x89\xB2"},{k:"lsime;",v:"\xE2\xAA\x8D"},{k:"lsimg;",v:"\xE2\xAA\x8F"},{k:"lsqb;",v:"["},{k:"lsquo;",v:"\xE2\x80\x98"},{k:"lsquor;",v:"\xE2\x80\x9A"},{k:"lstrok;",v:"\xC5\x82"},{k:"lt;",v:"<"},{k:"ltcc;",v:"\xE2\xAA\xA6"},{k:"ltcir;",v:"\xE2\xA9\xB9"},{k:"ltdot;",v:"\xE2\x8B\x96"},{k:"lthree;",v:"\xE2\x8B\x8B"},{k:"ltimes;",v:"\xE2\x8B\x89"},{k:"ltlarr;",v:"\xE2\xA5\xB6"},{k:"ltquest;",v:"\xE2\xA9\xBB"},{k:"ltrPar;",v:"\xE2\xA6\x96"},{k:"ltri;",v:"\xE2\x97\x83"},{k:"ltrie;",v:"\xE2\x8A\xB4"},{k:"ltrif;",v:"\xE2\x97\x82"},{k:"lurdshar;",v:"\xE2\xA5\x8A"},{k:"luruhar;",v:"\xE2\xA5\xA6"},{k:"lvertneqq;",v:"\xE2\x89\xA8\xEF\xB8\x80"},{k:"lvnE;",v:"\xE2\x89\xA8\xEF\xB8\x80"},{k:"mDDot;",v:"\xE2\x88\xBA"},{k:"macr;",v:"\xC2\xAF"},{k:"male;",v:"\xE2\x99\x82"},{k:"malt;",v:"\xE2\x9C\xA0"},{k:"maltese;",v:"\xE2\x9C\xA0"},{k:"map;",v:"\xE2\x86\xA6"},{k:"mapsto;",v:"\xE2\x86\xA6"},{k:"mapstodown;",v:"\xE2\x86\xA7"},{k:"mapstoleft;",v:"\xE2\x86\xA4"},{k:"mapstoup;",v:"\xE2\x86\xA5"},{k:"marker;",v:"\xE2\x96\xAE"},{k:"mcomma;",v:"\xE2\xA8\xA9"},{k:"mcy;",v:"\xD0\xBC"},{k:"mdash;",v:"\xE2\x80\x94"},{k:"measuredangle;",v:"\xE2\x88\xA1"},{k:"mfr;",v:"\xF0\x9D\x94\xAA"},{k:"mho;",v:"\xE2\x84\xA7"},{k:"micro;",v:"\xC2\xB5"},{k:"mid;",v:"\xE2\x88\xA3"},{k:"midast;",v:"*"},{k:"midcir;",v:"\xE2\xAB\xB0"},{k:"middot;",v:"\xC2\xB7"},{k:"minus;",v:"\xE2\x88\x92"},{k:"minusb;",v:"\xE2\x8A\x9F"},{k:"minusd;",v:"\xE2\x88\xB8"},{k:"minusdu;",v:"\xE2\xA8\xAA"},{k:"mlcp;",v:"\xE2\xAB\x9B"},{k:"mldr;",v:"\xE2\x80\xA6"},{k:"mnplus;",v:"\xE2\x88\x93"},{k:"models;",v:"\xE2\x8A\xA7"},{k:"mopf;",v:"\xF0\x9D\x95\x9E"},{k:"mp;",v:"\xE2\x88\x93"},{k:"mscr;",v:"\xF0\x9D\x93\x82"},{k:"mstpos;",v:"\xE2\x88\xBE"},{k:"mu;",v:"\xCE\xBC"},{k:"multimap;",v:"\xE2\x8A\xB8"},{k:"mumap;",v:"\xE2\x8A\xB8"},{k:"nGg;",v:"\xE2\x8B\x99\xCC\xB8"},{k:"nGt;",v:"\xE2\x89\xAB\xE2\x83\x92"},{k:"nGtv;",v:"\xE2\x89\xAB\xCC\xB8"},{k:"nLeftarrow;",v:"\xE2\x87\x8D"},{k:"nLeftrightarrow;",v:"\xE2\x87\x8E"},{k:"nLl;",v:"\xE2\x8B\x98\xCC\xB8"},{k:"nLt;",v:"\xE2\x89\xAA\xE2\x83\x92"},{k:"nLtv;",v:"\xE2\x89\xAA\xCC\xB8"},{k:"nRightarrow;",v:"\xE2\x87\x8F"},{k:"nVDash;",v:"\xE2\x8A\xAF"},{k:"nVdash;",v:"\xE2\x8A\xAE"},{k:"nabla;",v:"\xE2\x88\x87"},{k:"nacute;",v:"\xC5\x84"},{k:"nang;",v:"\xE2\x88\xA0\xE2\x83\x92"},{k:"nap;",v:"\xE2\x89\x89"},{k:"napE;",v:"\xE2\xA9\xB0\xCC\xB8"},{k:"napid;",v:"\xE2\x89\x8B\xCC\xB8"},{k:"napos;",v:"\xC5\x89"},{k:"napprox;",v:"\xE2\x89\x89"},{k:"natur;",v:"\xE2\x99\xAE"},{k:"natural;",v:"\xE2\x99\xAE"},{k:"naturals;",v:"\xE2\x84\x95"},{k:"nbsp;",v:"\xC2\xA0"},{k:"nbump;",v:"\xE2\x89\x8E\xCC\xB8"},{k:"nbumpe;",v:"\xE2\x89\x8F\xCC\xB8"},{k:"ncap;",v:"\xE2\xA9\x83"},{k:"ncaron;",v:"\xC5\x88"},{k:"ncedil;",v:"\xC5\x86"},{k:"ncong;",v:"\xE2\x89\x87"},{k:"ncongdot;",v:"\xE2\xA9\xAD\xCC\xB8"},{k:"ncup;",v:"\xE2\xA9\x82"},{k:"ncy;",v:"\xD0\xBD"},{k:"ndash;",v:"\xE2\x80\x93"},{k:"ne;",v:"\xE2\x89\xA0"},{k:"neArr;",v:"\xE2\x87\x97"},{k:"nearhk;",v:"\xE2\xA4\xA4"},{k:"nearr;",v:"\xE2\x86\x97"},{k:"nearrow;",v:"\xE2\x86\x97"},{k:"nedot;",v:"\xE2\x89\x90\xCC\xB8"},{k:"nequiv;",v:"\xE2\x89\xA2"},{k:"nesear;",v:"\xE2\xA4\xA8"},{k:"nesim;",v:"\xE2\x89\x82\xCC\xB8"},{k:"nexist;",v:"\xE2\x88\x84"},{k:"nexists;",v:"\xE2\x88\x84"},{k:"nfr;",v:"\xF0\x9D\x94\xAB"},{k:"ngE;",v:"\xE2\x89\xA7\xCC\xB8"},{k:"nge;",v:"\xE2\x89\xB1"},{k:"ngeq;",v:"\xE2\x89\xB1"},{k:"ngeqq;",v:"\xE2\x89\xA7\xCC\xB8"},{k:"ngeqslant;",v:"\xE2\xA9\xBE\xCC\xB8"},{k:"nges;",v:"\xE2\xA9\xBE\xCC\xB8"},{k:"ngsim;",v:"\xE2\x89\xB5"},{k:"ngt;",v:"\xE2\x89\xAF"},{k:"ngtr;",v:"\xE2\x89\xAF"},{k:"nhArr;",v:"\xE2\x87\x8E"},{k:"nharr;",v:"\xE2\x86\xAE"},{k:"nhpar;",v:"\xE2\xAB\xB2"},{k:"ni;",v:"\xE2\x88\x8B"},{k:"nis;",v:"\xE2\x8B\xBC"},{k:"nisd;",v:"\xE2\x8B\xBA"},{k:"niv;",v:"\xE2\x88\x8B"},{k:"njcy;",v:"\xD1\x9A"},{k:"nlArr;",v:"\xE2\x87\x8D"},{k:"nlE;",v:"\xE2\x89\xA6\xCC\xB8"},{k:"nlarr;",v:"\xE2\x86\x9A"},{k:"nldr;",v:"\xE2\x80\xA5"},{k:"nle;",v:"\xE2\x89\xB0"},{k:"nleftarrow;",v:"\xE2\x86\x9A"},{k:"nleftrightarrow;",v:"\xE2\x86\xAE"},{k:"nleq;",v:"\xE2\x89\xB0"},{k:"nleqq;",v:"\xE2\x89\xA6\xCC\xB8"},{k:"nleqslant;",v:"\xE2\xA9\xBD\xCC\xB8"},{k:"nles;",v:"\xE2\xA9\xBD\xCC\xB8"},{k:"nless;",v:"\xE2\x89\xAE"},{k:"nlsim;",v:"\xE2\x89\xB4"},{k:"nlt;",v:"\xE2\x89\xAE"},{k:"nltri;",v:"\xE2\x8B\xAA"},{k:"nltrie;",v:"\xE2\x8B\xAC"},{k:"nmid;",v:"\xE2\x88\xA4"},{k:"nopf;",v:"\xF0\x9D\x95\x9F"},{k:"not;",v:"\xC2\xAC"},{k:"notin;",v:"\xE2\x88\x89"},{k:"notinE;",v:"\xE2\x8B\xB9\xCC\xB8"},{k:"notindot;",v:"\xE2\x8B\xB5\xCC\xB8"},{k:"notinva;",v:"\xE2\x88\x89"},{k:"notinvb;",v:"\xE2\x8B\xB7"},{k:"notinvc;",v:"\xE2\x8B\xB6"},{k:"notni;",v:"\xE2\x88\x8C"},{k:"notniva;",v:"\xE2\x88\x8C"},{k:"notnivb;",v:"\xE2\x8B\xBE"},{k:"notnivc;",v:"\xE2\x8B\xBD"},{k:"npar;",v:"\xE2\x88\xA6"},{k:"nparallel;",v:"\xE2\x88\xA6"},{k:"nparsl;",v:"\xE2\xAB\xBD\xE2\x83\xA5"},{k:"npart;",v:"\xE2\x88\x82\xCC\xB8"},{k:"npolint;",v:"\xE2\xA8\x94"},{k:"npr;",v:"\xE2\x8A\x80"},{k:"nprcue;",v:"\xE2\x8B\xA0"},{k:"npre;",v:"\xE2\xAA\xAF\xCC\xB8"},{k:"nprec;",v:"\xE2\x8A\x80"},{k:"npreceq;",v:"\xE2\xAA\xAF\xCC\xB8"},{k:"nrArr;",v:"\xE2\x87\x8F"},{k:"nrarr;",v:"\xE2\x86\x9B"},{k:"nrarrc;",v:"\xE2\xA4\xB3\xCC\xB8"},{k:"nrarrw;",v:"\xE2\x86\x9D\xCC\xB8"},{k:"nrightarrow;",v:"\xE2\x86\x9B"},{k:"nrtri;",v:"\xE2\x8B\xAB"},{k:"nrtrie;",v:"\xE2\x8B\xAD"},{k:"nsc;",v:"\xE2\x8A\x81"},{k:"nsccue;",v:"\xE2\x8B\xA1"},{k:"nsce;",v:"\xE2\xAA\xB0\xCC\xB8"},{k:"nscr;",v:"\xF0\x9D\x93\x83"},{k:"nshortmid;",v:"\xE2\x88\xA4"},{k:"nshortparallel;",v:"\xE2\x88\xA6"},{k:"nsim;",v:"\xE2\x89\x81"},{k:"nsime;",v:"\xE2\x89\x84"},{k:"nsimeq;",v:"\xE2\x89\x84"},{k:"nsmid;",v:"\xE2\x88\xA4"},{k:"nspar;",v:"\xE2\x88\xA6"},{k:"nsqsube;",v:"\xE2\x8B\xA2"},{k:"nsqsupe;",v:"\xE2\x8B\xA3"},{k:"nsub;",v:"\xE2\x8A\x84"},{k:"nsubE;",v:"\xE2\xAB\x85\xCC\xB8"},{k:"nsube;",v:"\xE2\x8A\x88"},{k:"nsubset;",v:"\xE2\x8A\x82\xE2\x83\x92"},{k:"nsubseteq;",v:"\xE2\x8A\x88"},{k:"nsubseteqq;",v:"\xE2\xAB\x85\xCC\xB8"},{k:"nsucc;",v:"\xE2\x8A\x81"},{k:"nsucceq;",v:"\xE2\xAA\xB0\xCC\xB8"},{k:"nsup;",v:"\xE2\x8A\x85"},{k:"nsupE;",v:"\xE2\xAB\x86\xCC\xB8"},{k:"nsupe;",v:"\xE2\x8A\x89"},{k:"nsupset;",v:"\xE2\x8A\x83\xE2\x83\x92"},{k:"nsupseteq;",v:"\xE2\x8A\x89"},{k:"nsupseteqq;",v:"\xE2\xAB\x86\xCC\xB8"},{k:"ntgl;",v:"\xE2\x89\xB9"},{k:"ntilde;",v:"\xC3\xB1"},{k:"ntlg;",v:"\xE2\x89\xB8"},{k:"ntriangleleft;",v:"\xE2\x8B\xAA"},{k:"ntrianglelefteq;",v:"\xE2\x8B\xAC"},{k:"ntriangleright;",v:"\xE2\x8B\xAB"},{k:"ntrianglerighteq;",v:"\xE2\x8B\xAD"},{k:"nu;",v:"\xCE\xBD"},{k:"num;",v:"#"},{k:"numero;",v:"\xE2\x84\x96"},{k:"numsp;",v:"\xE2\x80\x87"},{k:"nvDash;",v:"\xE2\x8A\xAD"},{k:"nvHarr;",v:"\xE2\xA4\x84"},{k:"nvap;",v:"\xE2\x89\x8D\xE2\x83\x92"},{k:"nvdash;",v:"\xE2\x8A\xAC"},{k:"nvge;",v:"\xE2\x89\xA5\xE2\x83\x92"},{k:"nvgt;",v:">\xE2\x83\x92"},{k:"nvinfin;",v:"\xE2\xA7\x9E"},{k:"nvlArr;",v:"\xE2\xA4\x82"},{k:"nvle;",v:"\xE2\x89\xA4\xE2\x83\x92"},{k:"nvlt;",v:"<\xE2\x83\x92"},{k:"nvltrie;",v:"\xE2\x8A\xB4\xE2\x83\x92"},{k:"nvrArr;",v:"\xE2\xA4\x83"},{k:"nvrtrie;",v:"\xE2\x8A\xB5\xE2\x83\x92"},{k:"nvsim;",v:"\xE2\x88\xBC\xE2\x83\x92"},{k:"nwArr;",v:"\xE2\x87\x96"},{k:"nwarhk;",v:"\xE2\xA4\xA3"},{k:"nwarr;",v:"\xE2\x86\x96"},{k:"nwarrow;",v:"\xE2\x86\x96"},{k:"nwnear;",v:"\xE2\xA4\xA7"},{k:"oS;",v:"\xE2\x93\x88"},{k:"oacute;",v:"\xC3\xB3"},{k:"oast;",v:"\xE2\x8A\x9B"},{k:"ocir;",v:"\xE2\x8A\x9A"},{k:"ocirc;",v:"\xC3\xB4"},{k:"ocy;",v:"\xD0\xBE"},{k:"odash;",v:"\xE2\x8A\x9D"},{k:"odblac;",v:"\xC5\x91"},{k:"odiv;",v:"\xE2\xA8\xB8"},{k:"odot;",v:"\xE2\x8A\x99"},{k:"odsold;",v:"\xE2\xA6\xBC"},{k:"oelig;",v:"\xC5\x93"},{k:"ofcir;",v:"\xE2\xA6\xBF"},{k:"ofr;",v:"\xF0\x9D\x94\xAC"},{k:"ogon;",v:"\xCB\x9B"},{k:"ograve;",v:"\xC3\xB2"},{k:"ogt;",v:"\xE2\xA7\x81"},{k:"ohbar;",v:"\xE2\xA6\xB5"},{k:"ohm;",v:"\xCE\xA9"},{k:"oint;",v:"\xE2\x88\xAE"},{k:"olarr;",v:"\xE2\x86\xBA"},{k:"olcir;",v:"\xE2\xA6\xBE"},{k:"olcross;",v:"\xE2\xA6\xBB"},{k:"oline;",v:"\xE2\x80\xBE"},{k:"olt;",v:"\xE2\xA7\x80"},{k:"omacr;",v:"\xC5\x8D"},{k:"omega;",v:"\xCF\x89"},{k:"omicron;",v:"\xCE\xBF"},{k:"omid;",v:"\xE2\xA6\xB6"},{k:"ominus;",v:"\xE2\x8A\x96"},{k:"oopf;",v:"\xF0\x9D\x95\xA0"},{k:"opar;",v:"\xE2\xA6\xB7"},{k:"operp;",v:"\xE2\xA6\xB9"},{k:"oplus;",v:"\xE2\x8A\x95"},{k:"or;",v:"\xE2\x88\xA8"},{k:"orarr;",v:"\xE2\x86\xBB"},{k:"ord;",v:"\xE2\xA9\x9D"},{k:"order;",v:"\xE2\x84\xB4"},{k:"orderof;",v:"\xE2\x84\xB4"},{k:"ordf;",v:"\xC2\xAA"},{k:"ordm;",v:"\xC2\xBA"},{k:"origof;",v:"\xE2\x8A\xB6"},{k:"oror;",v:"\xE2\xA9\x96"},{k:"orslope;",v:"\xE2\xA9\x97"},{k:"orv;",v:"\xE2\xA9\x9B"},{k:"oscr;",v:"\xE2\x84\xB4"},{k:"oslash;",v:"\xC3\xB8"},{k:"osol;",v:"\xE2\x8A\x98"},{k:"otilde;",v:"\xC3\xB5"},{k:"otimes;",v:"\xE2\x8A\x97"},{k:"otimesas;",v:"\xE2\xA8\xB6"},{k:"ouml;",v:"\xC3\xB6"},{k:"ovbar;",v:"\xE2\x8C\xBD"},{k:"par;",v:"\xE2\x88\xA5"},{k:"para;",v:"\xC2\xB6"},{k:"parallel;",v:"\xE2\x88\xA5"},{k:"parsim;",v:"\xE2\xAB\xB3"},{k:"parsl;",v:"\xE2\xAB\xBD"},{k:"part;",v:"\xE2\x88\x82"},{k:"pcy;",v:"\xD0\xBF"},{k:"percnt;",v:"%"},{k:"period;",v:"."},{k:"permil;",v:"\xE2\x80\xB0"},{k:"perp;",v:"\xE2\x8A\xA5"},{k:"pertenk;",v:"\xE2\x80\xB1"},{k:"pfr;",v:"\xF0\x9D\x94\xAD"},{k:"phi;",v:"\xCF\x86"},{k:"phiv;",v:"\xCF\x95"},{k:"phmmat;",v:"\xE2\x84\xB3"},{k:"phone;",v:"\xE2\x98\x8E"},{k:"pi;",v:"\xCF\x80"},{k:"pitchfork;",v:"\xE2\x8B\x94"},{k:"piv;",v:"\xCF\x96"},{k:"planck;",v:"\xE2\x84\x8F"},{k:"planckh;",v:"\xE2\x84\x8E"},{k:"plankv;",v:"\xE2\x84\x8F"},{k:"plus;",v:"+"},{k:"plusacir;",v:"\xE2\xA8\xA3"},{k:"plusb;",v:"\xE2\x8A\x9E"},{k:"pluscir;",v:"\xE2\xA8\xA2"},{k:"plusdo;",v:"\xE2\x88\x94"},{k:"plusdu;",v:"\xE2\xA8\xA5"},{k:"pluse;",v:"\xE2\xA9\xB2"},{k:"plusmn;",v:"\xC2\xB1"},{k:"plussim;",v:"\xE2\xA8\xA6"},{k:"plustwo;",v:"\xE2\xA8\xA7"},{k:"pm;",v:"\xC2\xB1"},{k:"pointint;",v:"\xE2\xA8\x95"},{k:"popf;",v:"\xF0\x9D\x95\xA1"},{k:"pound;",v:"\xC2\xA3"},{k:"pr;",v:"\xE2\x89\xBA"},{k:"prE;",v:"\xE2\xAA\xB3"},{k:"prap;",v:"\xE2\xAA\xB7"},{k:"prcue;",v:"\xE2\x89\xBC"},{k:"pre;",v:"\xE2\xAA\xAF"},{k:"prec;",v:"\xE2\x89\xBA"},{k:"precapprox;",v:"\xE2\xAA\xB7"},{k:"preccurlyeq;",v:"\xE2\x89\xBC"},{k:"preceq;",v:"\xE2\xAA\xAF"},{k:"precnapprox;",v:"\xE2\xAA\xB9"},{k:"precneqq;",v:"\xE2\xAA\xB5"},{k:"precnsim;",v:"\xE2\x8B\xA8"},{k:"precsim;",v:"\xE2\x89\xBE"},{k:"prime;",v:"\xE2\x80\xB2"},{k:"primes;",v:"\xE2\x84\x99"},{k:"prnE;",v:"\xE2\xAA\xB5"},{k:"prnap;",v:"\xE2\xAA\xB9"},{k:"prnsim;",v:"\xE2\x8B\xA8"},{k:"prod;",v:"\xE2\x88\x8F"},{k:"profalar;",v:"\xE2\x8C\xAE"},{k:"profline;",v:"\xE2\x8C\x92"},{k:"profsurf;",v:"\xE2\x8C\x93"},{k:"prop;",v:"\xE2\x88\x9D"},{k:"propto;",v:"\xE2\x88\x9D"},{k:"prsim;",v:"\xE2\x89\xBE"},{k:"prurel;",v:"\xE2\x8A\xB0"},{k:"pscr;",v:"\xF0\x9D\x93\x85"},{k:"psi;",v:"\xCF\x88"},{k:"puncsp;",v:"\xE2\x80\x88"},{k:"qfr;",v:"\xF0\x9D\x94\xAE"},{k:"qint;",v:"\xE2\xA8\x8C"},{k:"qopf;",v:"\xF0\x9D\x95\xA2"},{k:"qprime;",v:"\xE2\x81\x97"},{k:"qscr;",v:"\xF0\x9D\x93\x86"},{k:"quaternions;",v:"\xE2\x84\x8D"},{k:"quatint;",v:"\xE2\xA8\x96"},{k:"quest;",v:"?"},{k:"questeq;",v:"\xE2\x89\x9F"},{k:"quot;",v:"\""},{k:"rAarr;",v:"\xE2\x87\x9B"},{k:"rArr;",v:"\xE2\x87\x92"},{k:"rAtail;",v:"\xE2\xA4\x9C"},{k:"rBarr;",v:"\xE2\xA4\x8F"},{k:"rHar;",v:"\xE2\xA5\xA4"},{k:"race;",v:"\xE2\x88\xBD\xCC\xB1"},{k:"racute;",v:"\xC5\x95"},{k:"radic;",v:"\xE2\x88\x9A"},{k:"raemptyv;",v:"\xE2\xA6\xB3"},{k:"rang;",v:"\xE2\x9F\xA9"},{k:"rangd;",v:"\xE2\xA6\x92"},{k:"range;",v:"\xE2\xA6\xA5"},{k:"rangle;",v:"\xE2\x9F\xA9"},{k:"raquo;",v:"\xC2\xBB"},{k:"rarr;",v:"\xE2\x86\x92"},{k:"rarrap;",v:"\xE2\xA5\xB5"},{k:"rarrb;",v:"\xE2\x87\xA5"},{k:"rarrbfs;",v:"\xE2\xA4\xA0"},{k:"rarrc;",v:"\xE2\xA4\xB3"},{k:"rarrfs;",v:"\xE2\xA4\x9E"},{k:"rarrhk;",v:"\xE2\x86\xAA"},{k:"rarrlp;",v:"\xE2\x86\xAC"},{k:"rarrpl;",v:"\xE2\xA5\x85"},{k:"rarrsim;",v:"\xE2\xA5\xB4"},{k:"rarrtl;",v:"\xE2\x86\xA3"},{k:"rarrw;",v:"\xE2\x86\x9D"},{k:"ratail;",v:"\xE2\xA4\x9A"},{k:"ratio;",v:"\xE2\x88\xB6"},{k:"rationals;",v:"\xE2\x84\x9A"},{k:"rbarr;",v:"\xE2\xA4\x8D"},{k:"rbbrk;",v:"\xE2\x9D\xB3"},{k:"rbrace;",v:"}"},{k:"rbrack;",v:"]"},{k:"rbrke;",v:"\xE2\xA6\x8C"},{k:"rbrksld;",v:"\xE2\xA6\x8E"},{k:"rbrkslu;",v:"\xE2\xA6\x90"},{k:"rcaron;",v:"\xC5\x99"},{k:"rcedil;",v:"\xC5\x97"},{k:"rceil;",v:"\xE2\x8C\x89"},{k:"rcub;",v:"}"},{k:"rcy;",v:"\xD1\x80"},{k:"rdca;",v:"\xE2\xA4\xB7"},{k:"rdldhar;",v:"\xE2\xA5\xA9"},{k:"rdquo;",v:"\xE2\x80\x9D"},{k:"rdquor;",v:"\xE2\x80\x9D"},{k:"rdsh;",v:"\xE2\x86\xB3"},{k:"real;",v:"\xE2\x84\x9C"},{k:"realine;",v:"\xE2\x84\x9B"},{k:"realpart;",v:"\xE2\x84\x9C"},{k:"reals;",v:"\xE2\x84\x9D"},{k:"rect;",v:"\xE2\x96\xAD"},{k:"reg;",v:"\xC2\xAE"},{k:"rfisht;",v:"\xE2\xA5\xBD"},{k:"rfloor;",v:"\xE2\x8C\x8B"},{k:"rfr;",v:"\xF0\x9D\x94\xAF"},{k:"rhard;",v:"\xE2\x87\x81"},{k:"rharu;",v:"\xE2\x87\x80"},{k:"rharul;",v:"\xE2\xA5\xAC"},{k:"rho;",v:"\xCF\x81"},{k:"rhov;",v:"\xCF\xB1"},{k:"rightarrow;",v:"\xE2\x86\x92"},{k:"rightarrowtail;",v:"\xE2\x86\xA3"},{k:"rightharpoondown;",v:"\xE2\x87\x81"},{k:"rightharpoonup;",v:"\xE2\x87\x80"},{k:"rightleftarrows;",v:"\xE2\x87\x84"},{k:"rightleftharpoons;",v:"\xE2\x87\x8C"},{k:"rightrightarrows;",v:"\xE2\x87\x89"},{k:"rightsquigarrow;",v:"\xE2\x86\x9D"},{k:"rightthreetimes;",v:"\xE2\x8B\x8C"},{k:"ring;",v:"\xCB\x9A"},{k:"risingdotseq;",v:"\xE2\x89\x93"},{k:"rlarr;",v:"\xE2\x87\x84"},{k:"rlhar;",v:"\xE2\x87\x8C"},{k:"rlm;",v:"\xE2\x80\x8F"},{k:"rmoust;",v:"\xE2\x8E\xB1"},{k:"rmoustache;",v:"\xE2\x8E\xB1"},{k:"rnmid;",v:"\xE2\xAB\xAE"},{k:"roang;",v:"\xE2\x9F\xAD"},{k:"roarr;",v:"\xE2\x87\xBE"},{k:"robrk;",v:"\xE2\x9F\xA7"},{k:"ropar;",v:"\xE2\xA6\x86"},{k:"ropf;",v:"\xF0\x9D\x95\xA3"},{k:"roplus;",v:"\xE2\xA8\xAE"},{k:"rotimes;",v:"\xE2\xA8\xB5"},{k:"rpar;",v:")"},{k:"rpargt;",v:"\xE2\xA6\x94"},{k:"rppolint;",v:"\xE2\xA8\x92"},{k:"rrarr;",v:"\xE2\x87\x89"},{k:"rsaquo;",v:"\xE2\x80\xBA"},{k:"rscr;",v:"\xF0\x9D\x93\x87"},{k:"rsh;",v:"\xE2\x86\xB1"},{k:"rsqb;",v:"]"},{k:"rsquo;",v:"\xE2\x80\x99"},{k:"rsquor;",v:"\xE2\x80\x99"},{k:"rthree;",v:"\xE2\x8B\x8C"},{k:"rtimes;",v:"\xE2\x8B\x8A"},{k:"rtri;",v:"\xE2\x96\xB9"},{k:"rtrie;",v:"\xE2\x8A\xB5"},{k:"rtrif;",v:"\xE2\x96\xB8"},{k:"rtriltri;",v:"\xE2\xA7\x8E"},{k:"ruluhar;",v:"\xE2\xA5\xA8"},{k:"rx;",v:"\xE2\x84\x9E"},{k:"sacute;",v:"\xC5\x9B"},{k:"sbquo;",v:"\xE2\x80\x9A"},{k:"sc;",v:"\xE2\x89\xBB"},{k:"scE;",v:"\xE2\xAA\xB4"},{k:"scap;",v:"\xE2\xAA\xB8"},{k:"scaron;",v:"\xC5\xA1"},{k:"sccue;",v:"\xE2\x89\xBD"},{k:"sce;",v:"\xE2\xAA\xB0"},{k:"scedil;",v:"\xC5\x9F"},{k:"scirc;",v:"\xC5\x9D"},{k:"scnE;",v:"\xE2\xAA\xB6"},{k:"scnap;",v:"\xE2\xAA\xBA"},{k:"scnsim;",v:"\xE2\x8B\xA9"},{k:"scpolint;",v:"\xE2\xA8\x93"},{k:"scsim;",v:"\xE2\x89\xBF"},{k:"scy;",v:"\xD1\x81"},{k:"sdot;",v:"\xE2\x8B\x85"},{k:"sdotb;",v:"\xE2\x8A\xA1"},{k:"sdote;",v:"\xE2\xA9\xA6"},{k:"seArr;",v:"\xE2\x87\x98"},{k:"searhk;",v:"\xE2\xA4\xA5"},{k:"searr;",v:"\xE2\x86\x98"},{k:"searrow;",v:"\xE2\x86\x98"},{k:"sect;",v:"\xC2\xA7"},{k:"semi;",v:";"},{k:"seswar;",v:"\xE2\xA4\xA9"},{k:"setminus;",v:"\xE2\x88\x96"},{k:"setmn;",v:"\xE2\x88\x96"},{k:"sext;",v:"\xE2\x9C\xB6"},{k:"sfr;",v:"\xF0\x9D\x94\xB0"},{k:"sfrown;",v:"\xE2\x8C\xA2"},{k:"sharp;",v:"\xE2\x99\xAF"},{k:"shchcy;",v:"\xD1\x89"},{k:"shcy;",v:"\xD1\x88"},{k:"shortmid;",v:"\xE2\x88\xA3"},{k:"shortparallel;",v:"\xE2\x88\xA5"},{k:"shy;",v:"\xC2\xAD"},{k:"sigma;",v:"\xCF\x83"},{k:"sigmaf;",v:"\xCF\x82"},{k:"sigmav;",v:"\xCF\x82"},{k:"sim;",v:"\xE2\x88\xBC"},{k:"simdot;",v:"\xE2\xA9\xAA"},{k:"sime;",v:"\xE2\x89\x83"},{k:"simeq;",v:"\xE2\x89\x83"},{k:"simg;",v:"\xE2\xAA\x9E"},{k:"simgE;",v:"\xE2\xAA\xA0"},{k:"siml;",v:"\xE2\xAA\x9D"},{k:"simlE;",v:"\xE2\xAA\x9F"},{k:"simne;",v:"\xE2\x89\x86"},{k:"simplus;",v:"\xE2\xA8\xA4"},{k:"simrarr;",v:"\xE2\xA5\xB2"},{k:"slarr;",v:"\xE2\x86\x90"},{k:"smallsetminus;",v:"\xE2\x88\x96"},{k:"smashp;",v:"\xE2\xA8\xB3"},{k:"smeparsl;",v:"\xE2\xA7\xA4"},{k:"smid;",v:"\xE2\x88\xA3"},{k:"smile;",v:"\xE2\x8C\xA3"},{k:"smt;",v:"\xE2\xAA\xAA"},{k:"smte;",v:"\xE2\xAA\xAC"},{k:"smtes;",v:"\xE2\xAA\xAC\xEF\xB8\x80"},{k:"softcy;",v:"\xD1\x8C"},{k:"sol;",v:"/"},{k:"solb;",v:"\xE2\xA7\x84"},{k:"solbar;",v:"\xE2\x8C\xBF"},{k:"sopf;",v:"\xF0\x9D\x95\xA4"},{k:"spades;",v:"\xE2\x99\xA0"},{k:"spadesuit;",v:"\xE2\x99\xA0"},{k:"spar;",v:"\xE2\x88\xA5"},{k:"sqcap;",v:"\xE2\x8A\x93"},{k:"sqcaps;",v:"\xE2\x8A\x93\xEF\xB8\x80"},{k:"sqcup;",v:"\xE2\x8A\x94"},{k:"sqcups;",v:"\xE2\x8A\x94\xEF\xB8\x80"},{k:"sqsub;",v:"\xE2\x8A\x8F"},{k:"sqsube;",v:"\xE2\x8A\x91"},{k:"sqsubset;",v:"\xE2\x8A\x8F"},{k:"sqsubseteq;",v:"\xE2\x8A\x91"},{k:"sqsup;",v:"\xE2\x8A\x90"},{k:"sqsupe;",v:"\xE2\x8A\x92"},{k:"sqsupset;",v:"\xE2\x8A\x90"},{k:"sqsupseteq;",v:"\xE2\x8A\x92"},{k:"squ;",v:"\xE2\x96\xA1"},{k:"square;",v:"\xE2\x96\xA1"},{k:"squarf;",v:"\xE2\x96\xAA"},{k:"squf;",v:"\xE2\x96\xAA"},{k:"srarr;",v:"\xE2\x86\x92"},{k:"sscr;",v:"\xF0\x9D\x93\x88"},{k:"ssetmn;",v:"\xE2\x88\x96"},{k:"ssmile;",v:"\xE2\x8C\xA3"},{k:"sstarf;",v:"\xE2\x8B\x86"},{k:"star;",v:"\xE2\x98\x86"},{k:"starf;",v:"\xE2\x98\x85"},{k:"straightepsilon;",v:"\xCF\xB5"},{k:"straightphi;",v:"\xCF\x95"},{k:"strns;",v:"\xC2\xAF"},{k:"sub;",v:"\xE2\x8A\x82"},{k:"subE;",v:"\xE2\xAB\x85"},{k:"subdot;",v:"\xE2\xAA\xBD"},{k:"sube;",v:"\xE2\x8A\x86"},{k:"subedot;",v:"\xE2\xAB\x83"},{k:"submult;",v:"\xE2\xAB\x81"},{k:"subnE;",v:"\xE2\xAB\x8B"},{k:"subne;",v:"\xE2\x8A\x8A"},{k:"subplus;",v:"\xE2\xAA\xBF"},{k:"subrarr;",v:"\xE2\xA5\xB9"},{k:"subset;",v:"\xE2\x8A\x82"},{k:"subseteq;",v:"\xE2\x8A\x86"},{k:"subseteqq;",v:"\xE2\xAB\x85"},{k:"subsetneq;",v:"\xE2\x8A\x8A"},{k:"subsetneqq;",v:"\xE2\xAB\x8B"},{k:"subsim;",v:"\xE2\xAB\x87"},{k:"subsub;",v:"\xE2\xAB\x95"},{k:"subsup;",v:"\xE2\xAB\x93"},{k:"succ;",v:"\xE2\x89\xBB"},{k:"succapprox;",v:"\xE2\xAA\xB8"},{k:"succcurlyeq;",v:"\xE2\x89\xBD"},{k:"succeq;",v:"\xE2\xAA\xB0"},{k:"succnapprox;",v:"\xE2\xAA\xBA"},{k:"succneqq;",v:"\xE2\xAA\xB6"},{k:"succnsim;",v:"\xE2\x8B\xA9"},{k:"succsim;",v:"\xE2\x89\xBF"},{k:"sum;",v:"\xE2\x88\x91"},{k:"sung;",v:"\xE2\x99\xAA"},{k:"sup;",v:"\xE2\x8A\x83"},{k:"sup1;",v:"\xC2\xB9"},{k:"sup2;",v:"\xC2\xB2"},{k:"sup3;",v:"\xC2\xB3"},{k:"supE;",v:"\xE2\xAB\x86"},{k:"supdot;",v:"\xE2\xAA\xBE"},{k:"supdsub;",v:"\xE2\xAB\x98"},{k:"supe;",v:"\xE2\x8A\x87"},{k:"supedot;",v:"\xE2\xAB\x84"},{k:"suphsol;",v:"\xE2\x9F\x89"},{k:"suphsub;",v:"\xE2\xAB\x97"},{k:"suplarr;",v:"\xE2\xA5\xBB"},{k:"supmult;",v:"\xE2\xAB\x82"},{k:"supnE;",v:"\xE2\xAB\x8C"},{k:"supne;",v:"\xE2\x8A\x8B"},{k:"supplus;",v:"\xE2\xAB\x80"},{k:"supset;",v:"\xE2\x8A\x83"},{k:"supseteq;",v:"\xE2\x8A\x87"},{k:"supseteqq;",v:"\xE2\xAB\x86"},{k:"supsetneq;",v:"\xE2\x8A\x8B"},{k:"supsetneqq;",v:"\xE2\xAB\x8C"},{k:"supsim;",v:"\xE2\xAB\x88"},{k:"supsub;",v:"\xE2\xAB\x94"},{k:"supsup;",v:"\xE2\xAB\x96"},{k:"swArr;",v:"\xE2\x87\x99"},{k:"swarhk;",v:"\xE2\xA4\xA6"},{k:"swarr;",v:"\xE2\x86\x99"},{k:"swarrow;",v:"\xE2\x86\x99"},{k:"swnwar;",v:"\xE2\xA4\xAA"},{k:"szlig;",v:"\xC3\x9F"},{k:"target;",v:"\xE2\x8C\x96"},{k:"tau;",v:"\xCF\x84"},{k:"tbrk;",v:"\xE2\x8E\xB4"},{k:"tcaron;",v:"\xC5\xA5"},{k:"tcedil;",v:"\xC5\xA3"},{k:"tcy;",v:"\xD1\x82"},{k:"tdot;",v:"\xE2\x83\x9B"},{k:"telrec;",v:"\xE2\x8C\x95"},{k:"tfr;",v:"\xF0\x9D\x94\xB1"},{k:"there4;",v:"\xE2\x88\xB4"},{k:"therefore;",v:"\xE2\x88\xB4"},{k:"theta;",v:"\xCE\xB8"},{k:"thetasym;",v:"\xCF\x91"},{k:"thetav;",v:"\xCF\x91"},{k:"thickapprox;",v:"\xE2\x89\x88"},{k:"thicksim;",v:"\xE2\x88\xBC"},{k:"thinsp;",v:"\xE2\x80\x89"},{k:"thkap;",v:"\xE2\x89\x88"},{k:"thksim;",v:"\xE2\x88\xBC"},{k:"thorn;",v:"\xC3\xBE"},{k:"tilde;",v:"\xCB\x9C"},{k:"times;",v:"\xC3\x97"},{k:"timesb;",v:"\xE2\x8A\xA0"},{k:"timesbar;",v:"\xE2\xA8\xB1"},{k:"timesd;",v:"\xE2\xA8\xB0"},{k:"tint;",v:"\xE2\x88\xAD"},{k:"toea;",v:"\xE2\xA4\xA8"},{k:"top;",v:"\xE2\x8A\xA4"},{k:"topbot;",v:"\xE2\x8C\xB6"},{k:"topcir;",v:"\xE2\xAB\xB1"},{k:"topf;",v:"\xF0\x9D\x95\xA5"},{k:"topfork;",v:"\xE2\xAB\x9A"},{k:"tosa;",v:"\xE2\xA4\xA9"},{k:"tprime;",v:"\xE2\x80\xB4"},{k:"trade;",v:"\xE2\x84\xA2"},{k:"triangle;",v:"\xE2\x96\xB5"},{k:"triangledown;",v:"\xE2\x96\xBF"},{k:"triangleleft;",v:"\xE2\x97\x83"},{k:"trianglelefteq;",v:"\xE2\x8A\xB4"},{k:"triangleq;",v:"\xE2\x89\x9C"},{k:"triangleright;",v:"\xE2\x96\xB9"},{k:"trianglerighteq;",v:"\xE2\x8A\xB5"},{k:"tridot;",v:"\xE2\x97\xAC"},{k:"trie;",v:"\xE2\x89\x9C"},{k:"triminus;",v:"\xE2\xA8\xBA"},{k:"triplus;",v:"\xE2\xA8\xB9"},{k:"trisb;",v:"\xE2\xA7\x8D"},{k:"tritime;",v:"\xE2\xA8\xBB"},{k:"trpezium;",v:"\xE2\x8F\xA2"},{k:"tscr;",v:"\xF0\x9D\x93\x89"},{k:"tscy;",v:"\xD1\x86"},{k:"tshcy;",v:"\xD1\x9B"},{k:"tstrok;",v:"\xC5\xA7"},{k:"twixt;",v:"\xE2\x89\xAC"},{k:"twoheadleftarrow;",v:"\xE2\x86\x9E"},{k:"twoheadrightarrow;",v:"\xE2\x86\xA0"},{k:"uArr;",v:"\xE2\x87\x91"},{k:"uHar;",v:"\xE2\xA5\xA3"},{k:"uacute;",v:"\xC3\xBA"},{k:"uarr;",v:"\xE2\x86\x91"},{k:"ubrcy;",v:"\xD1\x9E"},{k:"ubreve;",v:"\xC5\xAD"},{k:"ucirc;",v:"\xC3\xBB"},{k:"ucy;",v:"\xD1\x83"},{k:"udarr;",v:"\xE2\x87\x85"},{k:"udblac;",v:"\xC5\xB1"},{k:"udhar;",v:"\xE2\xA5\xAE"},{k:"ufisht;",v:"\xE2\xA5\xBE"},{k:"ufr;",v:"\xF0\x9D\x94\xB2"},{k:"ugrave;",v:"\xC3\xB9"},{k:"uharl;",v:"\xE2\x86\xBF"},{k:"uharr;",v:"\xE2\x86\xBE"},{k:"uhblk;",v:"\xE2\x96\x80"},{k:"ulcorn;",v:"\xE2\x8C\x9C"},{k:"ulcorner;",v:"\xE2\x8C\x9C"},{k:"ulcrop;",v:"\xE2\x8C\x8F"},{k:"ultri;",v:"\xE2\x97\xB8"},{k:"umacr;",v:"\xC5\xAB"},{k:"uml;",v:"\xC2\xA8"},{k:"uogon;",v:"\xC5\xB3"},{k:"uopf;",v:"\xF0\x9D\x95\xA6"},{k:"uparrow;",v:"\xE2\x86\x91"},{k:"updownarrow;",v:"\xE2\x86\x95"},{k:"upharpoonleft;",v:"\xE2\x86\xBF"},{k:"upharpoonright;",v:"\xE2\x86\xBE"},{k:"uplus;",v:"\xE2\x8A\x8E"},{k:"upsi;",v:"\xCF\x85"},{k:"upsih;",v:"\xCF\x92"},{k:"upsilon;",v:"\xCF\x85"},{k:"upuparrows;",v:"\xE2\x87\x88"},{k:"urcorn;",v:"\xE2\x8C\x9D"},{k:"urcorner;",v:"\xE2\x8C\x9D"},{k:"urcrop;",v:"\xE2\x8C\x8E"},{k:"uring;",v:"\xC5\xAF"},{k:"urtri;",v:"\xE2\x97\xB9"},{k:"uscr;",v:"\xF0\x9D\x93\x8A"},{k:"utdot;",v:"\xE2\x8B\xB0"},{k:"utilde;",v:"\xC5\xA9"},{k:"utri;",v:"\xE2\x96\xB5"},{k:"utrif;",v:"\xE2\x96\xB4"},{k:"uuarr;",v:"\xE2\x87\x88"},{k:"uuml;",v:"\xC3\xBC"},{k:"uwangle;",v:"\xE2\xA6\xA7"},{k:"vArr;",v:"\xE2\x87\x95"},{k:"vBar;",v:"\xE2\xAB\xA8"},{k:"vBarv;",v:"\xE2\xAB\xA9"},{k:"vDash;",v:"\xE2\x8A\xA8"},{k:"vangrt;",v:"\xE2\xA6\x9C"},{k:"varepsilon;",v:"\xCF\xB5"},{k:"varkappa;",v:"\xCF\xB0"},{k:"varnothing;",v:"\xE2\x88\x85"},{k:"varphi;",v:"\xCF\x95"},{k:"varpi;",v:"\xCF\x96"},{k:"varpropto;",v:"\xE2\x88\x9D"},{k:"varr;",v:"\xE2\x86\x95"},{k:"varrho;",v:"\xCF\xB1"},{k:"varsigma;",v:"\xCF\x82"},{k:"varsubsetneq;",v:"\xE2\x8A\x8A\xEF\xB8\x80"},{k:"varsubsetneqq;",v:"\xE2\xAB\x8B\xEF\xB8\x80"},{k:"varsupsetneq;",v:"\xE2\x8A\x8B\xEF\xB8\x80"},{k:"varsupsetneqq;",v:"\xE2\xAB\x8C\xEF\xB8\x80"},{k:"vartheta;",v:"\xCF\x91"},{k:"vartriangleleft;",v:"\xE2\x8A\xB2"},{k:"vartriangleright;",v:"\xE2\x8A\xB3"},{k:"vcy;",v:"\xD0\xB2"},{k:"vdash;",v:"\xE2\x8A\xA2"},{k:"vee;",v:"\xE2\x88\xA8"},{k:"veebar;",v:"\xE2\x8A\xBB"},{k:"veeeq;",v:"\xE2\x89\x9A"},{k:"vellip;",v:"\xE2\x8B\xAE"},{k:"verbar;",v:"|"},{k:"vert;",v:"|"},{k:"vfr;",v:"\xF0\x9D\x94\xB3"},{k:"vltri;",v:"\xE2\x8A\xB2"},{k:"vnsub;",v:"\xE2\x8A\x82\xE2\x83\x92"},{k:"vnsup;",v:"\xE2\x8A\x83\xE2\x83\x92"},{k:"vopf;",v:"\xF0\x9D\x95\xA7"},{k:"vprop;",v:"\xE2\x88\x9D"},{k:"vrtri;",v:"\xE2\x8A\xB3"},{k:"vscr;",v:"\xF0\x9D\x93\x8B"},{k:"vsubnE;",v:"\xE2\xAB\x8B\xEF\xB8\x80"},{k:"vsubne;",v:"\xE2\x8A\x8A\xEF\xB8\x80"},{k:"vsupnE;",v:"\xE2\xAB\x8C\xEF\xB8\x80"},{k:"vsupne;",v:"\xE2\x8A\x8B\xEF\xB8\x80"},{k:"vzigzag;",v:"\xE2\xA6\x9A"},{k:"wcirc;",v:"\xC5\xB5"},{k:"wedbar;",v:"\xE2\xA9\x9F"},{k:"wedge;",v:"\xE2\x88\xA7"},{k:"wedgeq;",v:"\xE2\x89\x99"},{k:"weierp;",v:"\xE2\x84\x98"},{k:"wfr;",v:"\xF0\x9D\x94\xB4"},{k:"wopf;",v:"\xF0\x9D\x95\xA8"},{k:"wp;",v:"\xE2\x84\x98"},{k:"wr;",v:"\xE2\x89\x80"},{k:"wreath;",v:"\xE2\x89\x80"},{k:"wscr;",v:"\xF0\x9D\x93\x8C"},{k:"xcap;",v:"\xE2\x8B\x82"},{k:"xcirc;",v:"\xE2\x97\xAF"},{k:"xcup;",v:"\xE2\x8B\x83"},{k:"xdtri;",v:"\xE2\x96\xBD"},{k:"xfr;",v:"\xF0\x9D\x94\xB5"},{k:"xhArr;",v:"\xE2\x9F\xBA"},{k:"xharr;",v:"\xE2\x9F\xB7"},{k:"xi;",v:"\xCE\xBE"},{k:"xlArr;",v:"\xE2\x9F\xB8"},{k:"xlarr;",v:"\xE2\x9F\xB5"},{k:"xmap;",v:"\xE2\x9F\xBC"},{k:"xnis;",v:"\xE2\x8B\xBB"},{k:"xodot;",v:"\xE2\xA8\x80"},{k:"xopf;",v:"\xF0\x9D\x95\xA9"},{k:"xoplus;",v:"\xE2\xA8\x81"},{k:"xotime;",v:"\xE2\xA8\x82"},{k:"xrArr;",v:"\xE2\x9F\xB9"},{k:"xrarr;",v:"\xE2\x9F\xB6"},{k:"xscr;",v:"\xF0\x9D\x93\x8D"},{k:"xsqcup;",v:"\xE2\xA8\x86"},{k:"xuplus;",v:"\xE2\xA8\x84"},{k:"xutri;",v:"\xE2\x96\xB3"},{k:"xvee;",v:"\xE2\x8B\x81"},{k:"xwedge;",v:"\xE2\x8B\x80"},{k:"yacute;",v:"\xC3\xBD"},{k:"yacy;",v:"\xD1\x8F"},{k:"ycirc;",v:"\xC5\xB7"},{k:"ycy;",v:"\xD1\x8B"},{k:"yen;",v:"\xC2\xA5"},{k:"yfr;",v:"\xF0\x9D\x94\xB6"},{k:"yicy;",v:"\xD1\x97"},{k:"yopf;",v:"\xF0\x9D\x95\xAA"},{k:"yscr;",v:"\xF0\x9D\x93\x8E"},{k:"yucy;",v:"\xD1\x8E"},{k:"yuml;",v:"\xC3\xBF"},{k:"zacute;",v:"\xC5\xBA"},{k:"zcaron;",v:"\xC5\xBE"},{k:"zcy;",v:"\xD0\xB7"},{k:"zdot;",v:"\xC5\xBC"},{k:"zeetrf;",v:"\xE2\x84\xA8"},{k:"zeta;",v:"\xCE\xB6"},{k:"zfr;",v:"\xF0\x9D\x94\xB7"},{k:"zhcy;",v:"\xD0\xB6"},{k:"zigrarr;",v:"\xE2\x87\x9D"},{k:"zopf;",v:"\xF0\x9D\x95\xAB"},{k:"zscr;",v:"\xF0\x9D\x93\x8F"},{k:"zwj;",v:"\xE2\x80\x8D"},{k:"zwnj;",v:"\xE2\x80\x8C"}]);CY=new DH(["+//silmaril//dtd html pro v0r11 19970101//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//as//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sq//dtd html 2.0 hotmetal + extensions//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"]);CZ=$makeMap($String.keyFor,[{k:"address",v:true},{k:"applet",v:true},{k:"area",v:true},{k:"article",v:true},{k:"aside",v:true},{k:"base",v:true},{k:"basefont",v:true},{k:"bgsound",v:true},{k:"blockquote",v:true},{k:"body",v:true},{k:"br",v:true},{k:"button",v:true},{k:"caption",v:true},{k:"center",v:true},{k:"col",v:true},{k:"colgroup",v:true},{k:"dd",v:true},{k:"details",v:true},{k:"dir",v:true},{k:"div",v:true},{k:"dl",v:true},{k:"dt",v:true},{k:"embed",v:true},{k:"fieldset",v:true},{k:"figcaption",v:true},{k:"figure",v:true},{k:"footer",v:true},{k:"form",v:true},{k:"frame",v:true},{k:"frameset",v:true},{k:"h1",v:true},{k:"h2",v:true},{k:"h3",v:true},{k:"h4",v:true},{k:"h5",v:true},{k:"h6",v:true},{k:"head",v:true},{k:"header",v:true},{k:"hgroup",v:true},{k:"hr",v:true},{k:"html",v:true},{k:"iframe",v:true},{k:"img",v:true},{k:"input",v:true},{k:"isindex",v:true},{k:"keygen",v:true},{k:"li",v:true},{k:"link",v:true},{k:"listing",v:true},{k:"main",v:true},{k:"marquee",v:true},{k:"menu",v:true},{k:"meta",v:true},{k:"nav",v:true},{k:"noembed",v:true},{k:"noframes",v:true},{k:"noscript",v:true},{k:"object",v:true},{k:"ol",v:true},{k:"p",v:true},{k:"param",v:true},{k:"plaintext",v:true},{k:"pre",v:true},{k:"script",v:true},{k:"section",v:true},{k:"select",v:true},{k:"source",v:true},{k:"style",v:true},{k:"summary",v:true},{k:"table",v:true},{k:"tbody",v:true},{k:"td",v:true},{k:"template",v:true},{k:"textarea",v:true},{k:"tfoot",v:true},{k:"th",v:true},{k:"thead",v:true},{k:"title",v:true},{k:"tr",v:true},{k:"track",v:true},{k:"ul",v:true},{k:"wbr",v:true},{k:"xmp",v:true}]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); -$packages["github.com/88250/lute/util"]=(function(){var $pkg={},$init,E,B,F,G,A,C,D,AV,AX,AY,AZ,R,S,T,V,W,X,Y,Z,AA,AB,AC,AD,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AS,AT,AU;E=$packages["bytes"];B=$packages["github.com/88250/lute/editor"];F=$packages["github.com/88250/lute/html"];G=$packages["github.com/88250/lute/html/atom"];A=$packages["strconv"];C=$packages["strings"];D=$packages["unicode/utf8"];AV=$sliceType($Uint8);AX=$sliceType($Int32);AY=$ptrType(F.Node);AZ=$sliceType(AY);R=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:a=C.ReplaceAll(a,"\xE2\x80\x8B","");a=C.ReplaceAll(a,"\xE2\x80\x8D","");b=C.TrimSpace(a);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=0===b.length;$s=2;case 2:return c;}return;}var $f={$blk:R,$c:true,$r,a,b,c,$s};return $f;};$pkg.IsEmptyStr=R;S=function(a){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=0;c=0;d=C.Fields(a);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=e;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);i=T(h);j=i[0];k=i[1];b=b+(j)>>0;c=c+(k)>>0;g++;}$s=-1;return[b,c];}return;}var $f={$blk:S,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};$pkg.WordCount=S;T=function(a){var a,b,c,d,e,f,g,h,i,j;b=0;c=0;d=(new AX($stringToRunes(a)));e=d.$length;if(1>e){return[b,c];}f=1;g=1;b=f;c=g;h=(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])<128;i=1;while(true){if(!(i=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+i]);b=b+(1)>>0;if(j>=128){c=c+(1)>>0;h=false;i=i+(1)>>0;continue;}if(j<128===h){i=i+(1)>>0;continue;}c=c+(1)>>0;h=!h;i=i+(1)>>0;}return[b,c];};V=function(a){var a;return E.Contains(a,(new AV($stringToBytes("type=\"doc\""))));};$pkg.IsDocIAL=V;W=function(a){var a,b,c,d;b=a;c=0;while(true){if(!(c=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c]);if("type"===(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])&&"doc"===(1>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+1])){return true;}c++;}return false;};$pkg.IsDocIAL2=W;X=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b="";c=AM(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;b=C.ReplaceAll(b,"\xE2\x80\x8B","");b=C.TrimPrefix(b,"\n");b=C.TrimSuffix(b,"\n");b=F.EscapeHTMLStr(b);while(true){if(!(C.Contains(b,"\n\n"))){break;}b=C.ReplaceAll(b,"\n\n","\n");}$s=-1;return b;}return;}var $f={$blk:X,$c:true,$r,a,b,c,$s};return $f;};$pkg.GetTextMarkTextDataWithoutEscapeSingleQuote=X;Y=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b="";c=X(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;b=C.ReplaceAll(b,"'","'");while(true){if(!(C.Contains(b,"\n\n"))){break;}b=C.ReplaceAll(b,"\n\n","\n");}$s=-1;return b;}return;}var $f={$blk:Y,$c:true,$r,a,b,c,$s};return $f;};$pkg.GetTextMarkTextData=Y;Z=function(a){var a,b;b="";b=AQ(a,"data-inline-memo-content");b=C.ReplaceAll(b,"\xE2\x80\x8B","");b=C.ReplaceAll(b,"\n","_esc_newline_");b=F.UnescapeHTMLStr(b);return b;};$pkg.GetTextMarkInlineMemoData=Z;AA=function(a){var a,b,c;b="";c="";b=AQ(a,"data-href");b=F.EscapeHTMLStr(b);c=AQ(a,"data-title");c=F.EscapeHTMLStr(c);return[b,c];};$pkg.GetTextMarkAData=AA;AB=function(a){var a,b;b="";b=AQ(a,"data-content");b=C.ReplaceAll(b,"\n","_esc_newline_");b=F.UnescapeHTMLStr(b);b=C.ReplaceAll(b,"\xE2\x80\x8B","");return b;};$pkg.GetTextMarkInlineMathData=AB;AC=function(a){var a,b,c;b="";c="";b=AQ(a,"data-id");c=AQ(a,"data-subtype");if(""===c){c="s";}return[b,c];};$pkg.GetTextMarkBlockRefData=AC;AD=function(a){var a,b;b="";b=AQ(a,"data-id");return b;};$pkg.GetTextMarkFileAnnotationRefData=AD;AE=function(a,b,c){var a,b,c,d,e,f,g,h;if(AY.nil===a){return AY.nil;}if(a.DataAtom===b){d=c;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if(C.Contains(AQ(a,"class"),f)){return a;}e++;}}g=a.FirstChild;while(true){if(!(!(AY.nil===g))){break;}h=AE(g,b,c);if(!(AY.nil===h)){return h;}g=g.NextSibling;}return AY.nil;};$pkg.DomChildByTypeAndClass=AE;AF=function(a,b){var a,b,c,d;c=AZ.nil;d=a.FirstChild;while(true){if(!(!(AY.nil===d))){break;}if(d.DataAtom===b){c=$append(c,d);}c=$appendSlice(c,AF(d,b));d=d.NextSibling;}return c;};$pkg.DomChildrenByType=AF;AG=function(a,b){var a,b,c,d,e,f;if(AY.nil===a){return false;}c=b;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(!(AY.nil===AH(a,e))){return true;}d++;}f=a.FirstChild;while(true){if(!(!(AY.nil===f))){break;}if(AG(f,b)){return true;}f=f.NextSibling;}return false;};$pkg.DomExistChildByType=AG;AH=function(a,b){var a,b,c;c=a.FirstChild;while(true){if(!(!(AY.nil===c))){break;}if(c.DataAtom===b){return c;}c=c.NextSibling;}return AY.nil;};AI=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:if(AY.nil===a){$s=-1;return AV.nil;}b=new E.Buffer.ptr(AV.nil,0,0);c=F.Render(b,a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}c;$s=-1;return E.ReplaceAll(b.Bytes(),(new AV($stringToBytes("\xE2\x80\x8B"))),AV.nil);}return;}var $f={$blk:AI,$c:true,$r,a,b,c,$s};return $f;};$pkg.DomHTML=AI;AJ=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=new E.Buffer.ptr(AV.nil,0,0);if(1===a.Type){$s=1;continue;}$s=2;continue;case 1:c=b.WriteString(a.Data);$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}c;$s=-1;return b.String();case 2:d=a.FirstChild;case 4:if(!(!(AY.nil===d))){$s=5;continue;}$r=AK(d,b);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=d.NextSibling;$s=4;continue;case 5:$s=-1;return b.String();}return;}var $f={$blk:AJ,$c:true,$r,a,b,c,d,$s};return $f;};$pkg.DomTexhtml=AJ;AK=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:if(AY.nil===a){$s=-1;return;}c=a.DataAtom;if(c===(0)){$s=2;continue;}if(c===(461571)){$s=3;continue;}if(c===(421123)){$s=4;continue;}$s=5;continue;case 2:d=b.WriteString(AL(a.Data));$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}d;$s=5;continue;case 3:e=b.WriteString("^{");$s=7;case 7:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;$s=5;continue;case 4:f=b.WriteString("_{");$s=8;case 8:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;case 5:case 1:g=a.FirstChild;case 9:if(!(!(AY.nil===g))){$s=10;continue;}$r=AK(g,b);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=g.NextSibling;$s=9;continue;case 10:h=a.DataAtom;if(h===(461571)){$s=13;continue;}if(h===(421123)){$s=14;continue;}$s=15;continue;case 13:i=b.WriteString("}");$s=16;case 16:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;$s=15;continue;case 14:j=b.WriteString("}");$s=17;case 17:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 15:case 12:$s=-1;return;}return;}var $f={$blk:AK,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};AL=function(a){var a;a=C.ReplaceAll(a,"_","\\_");a=C.ReplaceAll(a,"^","\\^");a=C.ReplaceAll(a,"{","\\{");a=C.ReplaceAll(a,"}","\\}");return a;};AM=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=new E.Buffer.ptr(AV.nil,0,0);if(1===a.Type){$s=1;continue;}$s=2;continue;case 1:c=b.WriteString(a.Data);$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}c;$s=-1;return b.String();case 2:d=a.FirstChild;case 4:if(!(!(AY.nil===d))){$s=5;continue;}$r=AN(d,b);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=d.NextSibling;$s=4;continue;case 5:$s=-1;return b.String();}return;}var $f={$blk:AM,$c:true,$r,a,b,c,d,$s};return $f;};$pkg.DomText=AM;AN=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:if(AY.nil===a){$s=-1;return;}c=AQ(a,"data-render");if("1"===c||"2"===c){$s=-1;return;}if("svg"===a.Namespace){$s=-1;return;}d=false;if((0===a.DataAtom)&&(3===a.Type)){e=a.Parent;if(AY.nil===e){$s=-1;return;}if(!((40708===e.DataAtom))){$s=-1;return;}if(!AO(e)){$s=-1;return;}d=true;}f=a.DataAtom;if(f===(0)){$s=2;continue;}if(f===(514)){$s=3;continue;}if(f===(3073)){$s=4;continue;}$s=5;continue;case 2:if(d){$s=6;continue;}$s=7;continue;case 6:g=b.WriteString("<"+a.Data+">");$s=9;case 9:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=8;continue;case 7:h=b.WriteString(a.Data);$s=10;case 10:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;case 8:$s=5;continue;case 3:i=b.WriteString("\n");$s=11;case 11:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;$s=5;continue;case 4:j=b.WriteString("\n\n");$s=12;case 12:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 5:case 1:k=a.FirstChild;case 13:if(!(!(AY.nil===k))){$s=14;continue;}$r=AN(k,b);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=k.NextSibling;$s=13;continue;case 14:$s=-1;return;}return;}var $f={$blk:AN,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};AO=function(a){var a,b;b=AQ(a,"data-type");return"search-mark"===b||"virtual-block-ref"===b;};$pkg.IsTempMarkSpan=AO;AP=function(a,b,c){var a,b,c,d,e,f;if(AY.nil===a){return;}d=a.Attr;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if(f.Key===b){f.Val=c;return;}e++;}a.Attr=$append(a.Attr,new F.Attribute.ptr("",b,c));};$pkg.SetDomAttrValue=AP;AQ=function(a,b){var a,b,c,d,e;if(AY.nil===a){return"";}c=a.Attr;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(e.Key===b){return e.Val;}d++;}return"";};$pkg.DomAttrValue=AQ;AS=function(a){var a,b,c,d,e,f;b=false;b=$makeMap($String.keyFor,[]);c=a.Attr;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(C.HasPrefix(e.Key,"custom-")){f=e.Key;(b||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(f),{k:f,v:e.Val});}d++;}if(1>(b?b.size:0)){b=false;return b;}return b;};$pkg.DomCustomAttrs=AS;AT=function(a){var a,b;b=AV.nil;b=(new AV($stringToBytes(a)));return b;};$pkg.StrToBytes=AT;AU=function(a){var a;return($bytesToString(a));};$pkg.BytesToStr=AU;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=E.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); +$packages["github.com/88250/lute/util"]=(function(){var $pkg={},$init,E,B,F,G,A,C,D,AV,AX,AY,AZ,R,S,T,V,W,X,Y,Z,AA,AB,AC,AD,AE,AF,AG,AH,AI,AJ,AK,AL,AM,AN,AO,AP,AQ,AS,AT,AU;E=$packages["bytes"];B=$packages["github.com/88250/lute/editor"];F=$packages["github.com/88250/lute/html"];G=$packages["github.com/88250/lute/html/atom"];A=$packages["strconv"];C=$packages["strings"];D=$packages["unicode/utf8"];AV=$sliceType($Uint8);AX=$sliceType($Int32);AY=$ptrType(F.Node);AZ=$sliceType(AY);R=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:a=C.ReplaceAll(a,"\xE2\x80\x8B","");a=C.ReplaceAll(a,"\xE2\x80\x8D","");b=C.TrimSpace(a);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=0===b.length;$s=2;case 2:return c;}return;}var $f={$blk:R,$c:true,$r,a,b,c,$s};return $f;};$pkg.IsEmptyStr=R;S=function(a){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=0;c=0;d=C.Fields(a);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=d;f=e;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);i=T(h);j=i[0];k=i[1];b=b+(j)>>0;c=c+(k)>>0;g++;}$s=-1;return[b,c];}return;}var $f={$blk:S,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};$pkg.WordCount=S;T=function(a){var a,b,c,d,e,f,g,h,i,j;b=0;c=0;d=(new AX($stringToRunes(a)));e=d.$length;if(1>e){return[b,c];}f=1;g=1;b=f;c=g;h=(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])<128;i=1;while(true){if(!(i=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+i]);b=b+(1)>>0;if(j>=128){c=c+(1)>>0;h=false;i=i+(1)>>0;continue;}if(j<128===h){i=i+(1)>>0;continue;}c=c+(1)>>0;h=!h;i=i+(1)>>0;}return[b,c];};V=function(a){var a;return E.Contains(a,(new AV($stringToBytes("type=\"doc\""))));};$pkg.IsDocIAL=V;W=function(a){var a,b,c,d;b=a;c=0;while(true){if(!(c=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c]);if("type"===(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])&&"doc"===(1>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+1])){return true;}c++;}return false;};$pkg.IsDocIAL2=W;X=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b="";c=AM(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;b=C.ReplaceAll(b,"\xE2\x80\x8B","");b=C.TrimSuffix(b,"\n");b=F.EscapeHTMLStr(b);while(true){if(!(C.Contains(b,"\n\n"))){break;}b=C.ReplaceAll(b,"\n\n","\n");}$s=-1;return b;}return;}var $f={$blk:X,$c:true,$r,a,b,c,$s};return $f;};$pkg.GetTextMarkTextDataWithoutEscapeSingleQuote=X;Y=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b="";c=X(a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}b=c;b=C.TrimPrefix(b,"\n");b=C.ReplaceAll(b,"'","'");while(true){if(!(C.Contains(b,"\n\n"))){break;}b=C.ReplaceAll(b,"\n\n","\n");}$s=-1;return b;}return;}var $f={$blk:Y,$c:true,$r,a,b,c,$s};return $f;};$pkg.GetTextMarkTextData=Y;Z=function(a){var a,b;b="";b=AQ(a,"data-inline-memo-content");b=C.ReplaceAll(b,"\xE2\x80\x8B","");b=C.ReplaceAll(b,"\n","_esc_newline_");b=F.UnescapeHTMLStr(b);return b;};$pkg.GetTextMarkInlineMemoData=Z;AA=function(a){var a,b,c;b="";c="";b=AQ(a,"data-href");b=F.EscapeHTMLStr(b);c=AQ(a,"data-title");c=F.EscapeHTMLStr(c);return[b,c];};$pkg.GetTextMarkAData=AA;AB=function(a){var a,b;b="";b=AQ(a,"data-content");b=C.ReplaceAll(b,"\n","_esc_newline_");b=F.UnescapeHTMLStr(b);b=C.ReplaceAll(b,"\xE2\x80\x8B","");return b;};$pkg.GetTextMarkInlineMathData=AB;AC=function(a){var a,b,c;b="";c="";b=AQ(a,"data-id");c=AQ(a,"data-subtype");if(""===c){c="s";}return[b,c];};$pkg.GetTextMarkBlockRefData=AC;AD=function(a){var a,b;b="";b=AQ(a,"data-id");return b;};$pkg.GetTextMarkFileAnnotationRefData=AD;AE=function(a,b,c){var a,b,c,d,e,f,g,h;if(AY.nil===a){return AY.nil;}if(a.DataAtom===b){d=c;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if(C.Contains(AQ(a,"class"),f)){return a;}e++;}}g=a.FirstChild;while(true){if(!(!(AY.nil===g))){break;}h=AE(g,b,c);if(!(AY.nil===h)){return h;}g=g.NextSibling;}return AY.nil;};$pkg.DomChildByTypeAndClass=AE;AF=function(a,b){var a,b,c,d;c=AZ.nil;d=a.FirstChild;while(true){if(!(!(AY.nil===d))){break;}if(d.DataAtom===b){c=$append(c,d);}c=$appendSlice(c,AF(d,b));d=d.NextSibling;}return c;};$pkg.DomChildrenByType=AF;AG=function(a,b){var a,b,c,d,e,f;if(AY.nil===a){return false;}c=b;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(!(AY.nil===AH(a,e))){return true;}d++;}f=a.FirstChild;while(true){if(!(!(AY.nil===f))){break;}if(AG(f,b)){return true;}f=f.NextSibling;}return false;};$pkg.DomExistChildByType=AG;AH=function(a,b){var a,b,c;c=a.FirstChild;while(true){if(!(!(AY.nil===c))){break;}if(c.DataAtom===b){return c;}c=c.NextSibling;}return AY.nil;};AI=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:if(AY.nil===a){$s=-1;return AV.nil;}b=new E.Buffer.ptr(AV.nil,0,0);c=F.Render(b,a);$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}c;$s=-1;return E.ReplaceAll(b.Bytes(),(new AV($stringToBytes("\xE2\x80\x8B"))),AV.nil);}return;}var $f={$blk:AI,$c:true,$r,a,b,c,$s};return $f;};$pkg.DomHTML=AI;AJ=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=new E.Buffer.ptr(AV.nil,0,0);if(1===a.Type){$s=1;continue;}$s=2;continue;case 1:c=b.WriteString(a.Data);$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}c;$s=-1;return b.String();case 2:d=a.FirstChild;case 4:if(!(!(AY.nil===d))){$s=5;continue;}$r=AK(d,b);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=d.NextSibling;$s=4;continue;case 5:$s=-1;return b.String();}return;}var $f={$blk:AJ,$c:true,$r,a,b,c,d,$s};return $f;};$pkg.DomTexhtml=AJ;AK=function(a,b){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:if(AY.nil===a){$s=-1;return;}c=a.DataAtom;if(c===(0)){$s=2;continue;}if(c===(461571)){$s=3;continue;}if(c===(421123)){$s=4;continue;}$s=5;continue;case 2:d=b.WriteString(AL(a.Data));$s=6;case 6:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}d;$s=5;continue;case 3:e=b.WriteString("^{");$s=7;case 7:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}e;$s=5;continue;case 4:f=b.WriteString("_{");$s=8;case 8:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}f;case 5:case 1:g=a.FirstChild;case 9:if(!(!(AY.nil===g))){$s=10;continue;}$r=AK(g,b);$s=11;case 11:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=g.NextSibling;$s=9;continue;case 10:h=a.DataAtom;if(h===(461571)){$s=13;continue;}if(h===(421123)){$s=14;continue;}$s=15;continue;case 13:i=b.WriteString("}");$s=16;case 16:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;$s=15;continue;case 14:j=b.WriteString("}");$s=17;case 17:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 15:case 12:$s=-1;return;}return;}var $f={$blk:AK,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};AL=function(a){var a;a=C.ReplaceAll(a,"_","\\_");a=C.ReplaceAll(a,"^","\\^");a=C.ReplaceAll(a,"{","\\{");a=C.ReplaceAll(a,"}","\\}");return a;};AM=function(a){var{a,b,c,d,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=new E.Buffer.ptr(AV.nil,0,0);if(1===a.Type){$s=1;continue;}$s=2;continue;case 1:c=b.WriteString(a.Data);$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}c;$s=-1;return b.String();case 2:d=a.FirstChild;case 4:if(!(!(AY.nil===d))){$s=5;continue;}$r=AN(d,b);$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=d.NextSibling;$s=4;continue;case 5:$s=-1;return b.String();}return;}var $f={$blk:AM,$c:true,$r,a,b,c,d,$s};return $f;};$pkg.DomText=AM;AN=function(a,b){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:if(AY.nil===a){$s=-1;return;}c=AQ(a,"data-render");if("1"===c||"2"===c){$s=-1;return;}if("svg"===a.Namespace){$s=-1;return;}d=false;if((0===a.DataAtom)&&(3===a.Type)){e=a.Parent;if(AY.nil===e){$s=-1;return;}if(!((40708===e.DataAtom))){$s=-1;return;}if(!AO(e)){$s=-1;return;}d=true;}f=a.DataAtom;if(f===(0)){$s=2;continue;}if(f===(514)){$s=3;continue;}if(f===(3073)){$s=4;continue;}$s=5;continue;case 2:if(d){$s=6;continue;}$s=7;continue;case 6:g=b.WriteString("<"+a.Data+">");$s=9;case 9:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=8;continue;case 7:h=b.WriteString(a.Data);$s=10;case 10:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;case 8:$s=5;continue;case 3:i=b.WriteString("\n");$s=11;case 11:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;$s=5;continue;case 4:j=b.WriteString("\n\n");$s=12;case 12:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;case 5:case 1:k=a.FirstChild;case 13:if(!(!(AY.nil===k))){$s=14;continue;}$r=AN(k,b);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}k=k.NextSibling;$s=13;continue;case 14:$s=-1;return;}return;}var $f={$blk:AN,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};AO=function(a){var a,b;b=AQ(a,"data-type");return"search-mark"===b||"virtual-block-ref"===b;};$pkg.IsTempMarkSpan=AO;AP=function(a,b,c){var a,b,c,d,e,f;if(AY.nil===a){return;}d=a.Attr;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if(f.Key===b){f.Val=c;return;}e++;}a.Attr=$append(a.Attr,new F.Attribute.ptr("",b,c));};$pkg.SetDomAttrValue=AP;AQ=function(a,b){var a,b,c,d,e;if(AY.nil===a){return"";}c=a.Attr;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(e.Key===b){return e.Val;}d++;}return"";};$pkg.DomAttrValue=AQ;AS=function(a){var a,b,c,d,e,f;b=false;b=$makeMap($String.keyFor,[]);c=a.Attr;d=0;while(true){if(!(d=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]);if(C.HasPrefix(e.Key,"custom-")){f=e.Key;(b||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(f),{k:f,v:e.Val});}d++;}if(1>(b?b.size:0)){b=false;return b;}return b;};$pkg.DomCustomAttrs=AS;AT=function(a){var a,b;b=AV.nil;b=(new AV($stringToBytes(a)));return b;};$pkg.StrToBytes=AT;AU=function(a){var a;return($bytesToString(a));};$pkg.BytesToStr=AU;$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=E.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=B.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=F.$init();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=G.$init();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=C.$init();$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.$init();$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["math/rand"]=(function(){var $pkg={},$init,B,A,F,H,I,K,AE,AM,AN,AO,AQ,AR,AS,AT,AU,AV,E,N,AG,AH,AI,AJ,AK,AL,G,J,L,M,O,W,AF;B=$packages["github.com/gopherjs/gopherjs/nosync"];A=$packages["math"];F=$pkg.rngSource=$newType(0,$kindStruct,"rand.rngSource",true,"math/rand",false,function(tap_,feed_,vec_){this.$val=this;if(arguments.length===0){this.tap=0;this.feed=0;this.vec=AQ.zero();return;}this.tap=tap_;this.feed=feed_;this.vec=vec_;});H=$pkg.Source=$newType(8,$kindInterface,"rand.Source",true,"math/rand",true,null);I=$pkg.Source64=$newType(8,$kindInterface,"rand.Source64",true,"math/rand",true,null);K=$pkg.Rand=$newType(0,$kindStruct,"rand.Rand",true,"math/rand",true,function(src_,s64_,readVal_,readPos_){this.$val=this;if(arguments.length===0){this.src=$ifaceNil;this.s64=$ifaceNil;this.readVal=new $Int64(0,0);this.readPos=0;return;}this.src=src_;this.s64=s64_;this.readVal=readVal_;this.readPos=readPos_;});AE=$pkg.lockedSource=$newType(0,$kindStruct,"rand.lockedSource",true,"math/rand",false,function(lk_,src_){this.$val=this;if(arguments.length===0){this.lk=new B.Mutex.ptr(false);this.src=AM.nil;return;}this.lk=lk_;this.src=src_;});AM=$ptrType(F);AN=$ptrType(AE);AO=$ptrType(K);AQ=$arrayType($Int64,607);AR=$ptrType($Int8);AS=$sliceType($Int);AT=$ptrType($Int64);AU=$funcType([$Int,$Int],[],false);AV=$sliceType($Uint8);G=function(a){var a,b,c,d,e;c=(b=a/44488,(b===b&&b!==1/0&&b!==-1/0)?b>>0:$throwRuntimeError("integer divide by zero"));e=(d=a%44488,d===d?d:$throwRuntimeError("integer divide by zero"));a=($imul(48271,e))-($imul(3399,c))>>0;if(a<0){a=a+(2147483647)>>0;}return a;};F.ptr.prototype.Seed=function(a){var a,b,c,d,e,f,g,h,i,j;b=this;b.tap=0;b.feed=334;a=$div64(a,new $Int64(0,2147483647),true);if((a.$high<0||(a.$high===0&&a.$low<0))){a=(c=new $Int64(0,2147483647),new $Int64(a.$high+c.$high,a.$low+c.$low));}if((a.$high===0&&a.$low===0)){a=new $Int64(0,89482311);}d=(((a.$low+((a.$high>>31)*4294967296))>>0));e=-20;while(true){if(!(e<607)){break;}d=G(d);if(e>=0){f=new $Int64(0,0);f=$shiftLeft64((new $Int64(0,d)),40);d=G(d);f=(g=$shiftLeft64((new $Int64(0,d)),20),new $Int64(f.$high^g.$high,(f.$low^g.$low)>>>0));d=G(d);f=(h=(new $Int64(0,d)),new $Int64(f.$high^h.$high,(f.$low^h.$low)>>>0));f=(i=((e<0||e>=E.length)?($throwRuntimeError("index out of range"),undefined):E[e]),new $Int64(f.$high^i.$high,(f.$low^i.$low)>>>0));(j=b.vec,((e<0||e>=j.length)?($throwRuntimeError("index out of range"),undefined):j[e]=f));}e=e+(1)>>0;}};F.prototype.Seed=function(a){return this.$val.Seed(a);};F.ptr.prototype.Int63=function(){var a,b,c;a=this;return((b=(c=a.Uint64(),new $Uint64(c.$high&2147483647,(c.$low&4294967295)>>>0)),new $Int64(b.$high,b.$low)));};F.prototype.Int63=function(){return this.$val.Int63();};F.ptr.prototype.Uint64=function(){var a,b,c,d,e,f,g,h,i,j;a=this;a.tap=a.tap-(1)>>0;if(a.tap<0){a.tap=a.tap+(607)>>0;}a.feed=a.feed-(1)>>0;if(a.feed<0){a.feed=a.feed+(607)>>0;}h=(b=(c=a.vec,d=a.feed,((d<0||d>=c.length)?($throwRuntimeError("index out of range"),undefined):c[d])),e=(f=a.vec,g=a.tap,((g<0||g>=f.length)?($throwRuntimeError("index out of range"),undefined):f[g])),new $Int64(b.$high+e.$high,b.$low+e.$low));(i=a.vec,j=a.feed,((j<0||j>=i.length)?($throwRuntimeError("index out of range"),undefined):i[j]=h));return(new $Uint64(h.$high,h.$low));};F.prototype.Uint64=function(){return this.$val.Uint64();};J=function(a){var a,b;b=new F.ptr(0,0,AQ.zero());b.Seed(a);return b;};$pkg.NewSource=J;L=function(a){var a,b,c;b=$assertType(a,I,true);c=b[0];return new K.ptr(a,c,new $Int64(0,0),0);};$pkg.New=L;K.ptr.prototype.Seed=function(a){var{a,b,c,d,e,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=$assertType(b.src,AN,true);d=c[0];e=c[1];if(e){d.seedPos(a,(b.$ptr_readPos||(b.$ptr_readPos=new AR(function(){return this.$target.readPos;},function($v){this.$target.readPos=$v;},b))));$s=-1;return;}$r=b.src.Seed(a);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b.readPos=0;$s=-1;return;}return;}var $f={$blk:K.ptr.prototype.Seed,$c:true,$r,a,b,c,d,e,$s};return $f;};K.prototype.Seed=function(a){return this.$val.Seed(a);};K.ptr.prototype.Int63=function(){var{a,b,c,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;b=a.src.Int63();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$s=2;case 2:return c;}return;}var $f={$blk:K.ptr.prototype.Int63,$c:true,$r,a,b,c,$s};return $f;};K.prototype.Int63=function(){return this.$val.Int63();};K.ptr.prototype.Uint32=function(){var{a,b,c,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;b=a.Int63();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=(($shiftRightInt64(b,31).$low>>>0));$s=2;case 2:return c;}return;}var $f={$blk:K.ptr.prototype.Uint32,$c:true,$r,a,b,c,$s};return $f;};K.prototype.Uint32=function(){return this.$val.Uint32();};K.ptr.prototype.Uint64=function(){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;if(!($interfaceIsEqual(a.s64,$ifaceNil))){$s=1;continue;}$s=2;continue;case 1:b=a.s64.Uint64();$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$s=4;case 4:return c;case 2:f=a.Int63();$s=5;case 5:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}i=a.Int63();$s=6;case 6:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=(d=$shiftRightUint64(((e=f,new $Uint64(e.$high,e.$low))),31),g=$shiftLeft64(((h=i,new $Uint64(h.$high,h.$low))),32),new $Uint64(d.$high|g.$high,(d.$low|g.$low)>>>0));$s=7;case 7:return j;}return;}var $f={$blk:K.ptr.prototype.Uint64,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};K.prototype.Uint64=function(){return this.$val.Uint64();};K.ptr.prototype.Int31=function(){var{a,b,c,d,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;c=a.Int63();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=(((b=$shiftRightInt64(c,32),b.$low+((b.$high>>31)*4294967296))>>0));$s=2;case 2:return d;}return;}var $f={$blk:K.ptr.prototype.Int31,$c:true,$r,a,b,c,d,$s};return $f;};K.prototype.Int31=function(){return this.$val.Int31();};K.ptr.prototype.Int=function(){var{a,b,c,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;b=a.Int63();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=((b.$low>>>0));$s=-1;return((((c<<1>>>0)>>>1>>>0)>>0));}return;}var $f={$blk:K.ptr.prototype.Int,$c:true,$r,a,b,c,$s};return $f;};K.prototype.Int=function(){return this.$val.Int();};K.ptr.prototype.Int63n=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if((a.$high<0||(a.$high===0&&a.$low<=0))){$panic(new $String("invalid argument to Int63n"));}if((c=(d=new $Int64(a.$high-0,a.$low-1),new $Int64(a.$high&d.$high,(a.$low&d.$low)>>>0)),(c.$high===0&&c.$low===0))){$s=1;continue;}$s=2;continue;case 1:f=b.Int63();$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}h=(e=f,g=new $Int64(a.$high-0,a.$low-1),new $Int64(e.$high&g.$high,(e.$low&g.$low)>>>0));$s=4;case 4:return h;case 2:k=((i=(j=$div64(new $Uint64(2147483648,0),(new $Uint64(a.$high,a.$low)),true),new $Uint64(2147483647-j.$high,4294967295-j.$low)),new $Int64(i.$high,i.$low)));l=b.Int63();$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}m=l;case 6:if(!((m.$high>k.$high||(m.$high===k.$high&&m.$low>k.$low)))){$s=7;continue;}n=b.Int63();$s=8;case 8:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}m=n;$s=6;continue;case 7:$s=-1;return $div64(m,a,true);}return;}var $f={$blk:K.ptr.prototype.Int63n,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};K.prototype.Int63n=function(a){return this.$val.Int63n(a);};K.ptr.prototype.Int31n=function(a){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(a<=0){$panic(new $String("invalid argument to Int31n"));}if((a&((a-1>>0)))===0){$s=1;continue;}$s=2;continue;case 1:c=b.Int31();$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c&((a-1>>0));$s=4;case 4:return d;case 2:f=(((2147483647-(e=2147483648%((a>>>0)),e===e?e:$throwRuntimeError("integer divide by zero"))>>>0)>>0));g=b.Int31();$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;case 6:if(!(h>f)){$s=7;continue;}i=b.Int31();$s=8;case 8:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;$s=6;continue;case 7:$s=-1;return(j=h%a,j===j?j:$throwRuntimeError("integer divide by zero"));}return;}var $f={$blk:K.ptr.prototype.Int31n,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};K.prototype.Int31n=function(a){return this.$val.Int31n(a);};K.ptr.prototype.int31n=function(a){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=b.Uint32();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;e=$mul64((new $Uint64(0,d)),(new $Uint64(0,a)));f=((e.$low>>>0));if(f<((a>>>0))){$s=2;continue;}$s=3;continue;case 2:h=(g=((-a>>>0))%((a>>>0)),g===g?g:$throwRuntimeError("integer divide by zero"));case 4:if(!(f>>0));$s=4;continue;case 5:case 3:$s=-1;return(($shiftRightUint64(e,32).$low>>0));}return;}var $f={$blk:K.ptr.prototype.int31n,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};K.prototype.int31n=function(a){return this.$val.int31n(a);};K.ptr.prototype.Intn=function(a){var{a,b,c,d,e,f,g,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(a<=0){$panic(new $String("invalid argument to Intn"));}if(a<=2147483647){$s=1;continue;}$s=2;continue;case 1:c=b.Int31n(((a>>0)));$s=3;case 3:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=((c>>0));$s=4;case 4:return d;case 2:f=b.Int63n((new $Int64(0,a)));$s=5;case 5:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=(((e=f,e.$low+((e.$high>>31)*4294967296))>>0));$s=6;case 6:return g;}return;}var $f={$blk:K.ptr.prototype.Intn,$c:true,$r,a,b,c,d,e,f,g,$s};return $f;};K.prototype.Intn=function(a){return this.$val.Intn(a);};K.ptr.prototype.Float64=function(){var{a,b,c,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;case 1:b=a.Int63();$s=2;case 2:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=($flatten64(b))/9.223372036854776e+18;if(c===1){$s=3;continue;}$s=4;continue;case 3:$s=1;continue;case 4:$s=-1;return c;}return;}var $f={$blk:K.ptr.prototype.Float64,$c:true,$r,a,b,c,$s};return $f;};K.prototype.Float64=function(){return this.$val.Float64();};K.ptr.prototype.Float32=function(){var{a,b,c,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;case 1:b=a.Float64();$s=2;case 2:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=($fround(b));if(c===1){$s=3;continue;}$s=4;continue;case 3:$s=1;continue;case 4:$s=-1;return c;}return;}var $f={$blk:K.ptr.prototype.Float32,$c:true,$r,a,b,c,$s};return $f;};K.prototype.Float32=function(){return this.$val.Float32();};K.ptr.prototype.Perm=function(a){var{a,b,c,d,e,f,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=$makeSlice(AS,a);d=0;case 1:if(!(d>0);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;((d<0||d>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+d]=((f<0||f>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+f]));((f<0||f>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+f]=d);d=d+(1)>>0;$s=1;continue;case 2:$s=-1;return c;}return;}var $f={$blk:K.ptr.prototype.Perm,$c:true,$r,a,b,c,d,e,f,$s};return $f;};K.prototype.Perm=function(a){return this.$val.Perm(a);};K.ptr.prototype.Shuffle=function(a,b){var{a,b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{a,b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(a<0){$panic(new $String("invalid argument to Shuffle"));}d=a-1>>0;case 1:if(!(d>2147483646)){$s=2;continue;}f=c.Int63n((new $Int64(0,(d+1>>0))));$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=(((e=f,e.$low+((e.$high>>31)*4294967296))>>0));$r=b(d,g);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=d-(1)>>0;$s=1;continue;case 2:case 5:if(!(d>0)){$s=6;continue;}h=c.int31n((((d+1>>0)>>0)));$s=7;case 7:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=((h>>0));$r=b(d,i);$s=8;case 8:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=d-(1)>>0;$s=5;continue;case 6:$s=-1;return;}return;}var $f={$blk:K.ptr.prototype.Shuffle,$c:true,$r,a,b,c,d,e,f,g,h,i,$s};return $f;};K.prototype.Shuffle=function(a,b){return this.$val.Shuffle(a,b);};K.ptr.prototype.Read=function(a){var{a,b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=0;c=$ifaceNil;d=this;e=$assertType(d.src,AN,true);f=e[0];g=e[1];if(g){$s=1;continue;}$s=2;continue;case 1:i=f.read(a,(d.$ptr_readVal||(d.$ptr_readVal=new AT(function(){return this.$target.readVal;},function($v){this.$target.readVal=$v;},d))),(d.$ptr_readPos||(d.$ptr_readPos=new AR(function(){return this.$target.readPos;},function($v){this.$target.readPos=$v;},d))));$s=3;case 3:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}h=i;b=h[0];c=h[1];j=[b,c];$s=4;case 4:return j;case 2:l=M(a,d.src,(d.$ptr_readVal||(d.$ptr_readVal=new AT(function(){return this.$target.readVal;},function($v){this.$target.readVal=$v;},d))),(d.$ptr_readPos||(d.$ptr_readPos=new AR(function(){return this.$target.readPos;},function($v){this.$target.readPos=$v;},d))));$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k=l;b=k[0];c=k[1];m=[b,c];$s=6;case 6:return m;}return;}var $f={$blk:K.ptr.prototype.Read,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};K.prototype.Read=function(a){return this.$val.Read(a);};M=function(a,b,c,d){var{a,b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{a,b,c,d});$s=$s||0;s:while(true){switch($s){case 0:e=0;f=$ifaceNil;g=d.$get();h=c.$get();i=$assertType(b,AM,true);j=i[0];e=0;case 1:if(!(e=a.$length)?($throwRuntimeError("index out of range"),undefined):a.$array[a.$offset+e]=((h.$low<<24>>>24)));h=$shiftRightInt64(h,(8));g=g-(1)<<24>>24;e=e+(1)>>0;$s=1;continue;case 2:d.$set(g);c.$set(h);$s=-1;return[e,f];}return;}var $f={$blk:M,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,$s};return $f;};O=function(a){var{a,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:$r=N.Seed(a);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:O,$c:true,$r,a,$s};return $f;};$pkg.Seed=O;W=function(a){var{a,b,c,$s,$r,$c}=$restore(this,{a});$s=$s||0;s:while(true){switch($s){case 0:b=N.Intn(a);$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;$s=2;case 2:return c;}return;}var $f={$blk:W,$c:true,$r,a,b,c,$s};return $f;};$pkg.Intn=W;AE.ptr.prototype.Int63=function(){var a,b;a=new $Int64(0,0);b=this;b.lk.Lock();a=b.src.Int63();b.lk.Unlock();return a;};AE.prototype.Int63=function(){return this.$val.Int63();};AE.ptr.prototype.Uint64=function(){var a,b;a=new $Uint64(0,0);b=this;b.lk.Lock();a=b.src.Uint64();b.lk.Unlock();return a;};AE.prototype.Uint64=function(){return this.$val.Uint64();};AE.ptr.prototype.Seed=function(a){var a,b;b=this;b.lk.Lock();b.src.Seed(a);b.lk.Unlock();};AE.prototype.Seed=function(a){return this.$val.Seed(a);};AE.ptr.prototype.seedPos=function(a,b){var a,b,c;c=this;c.lk.Lock();c.src.Seed(a);b.$set(0);c.lk.Unlock();};AE.prototype.seedPos=function(a,b){return this.$val.seedPos(a,b);};AE.ptr.prototype.read=function(a,b,c){var{a,b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{a,b,c});$s=$s||0;s:while(true){switch($s){case 0:d=0;e=$ifaceNil;f=this;f.lk.Lock();h=M(a,f.src,b,c);$s=1;case 1:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}g=h;d=g[0];e=g[1];f.lk.Unlock();$s=-1;return[d,e];}return;}var $f={$blk:AE.ptr.prototype.read,$c:true,$r,a,b,c,d,e,f,g,h,$s};return $f;};AE.prototype.read=function(a,b,c){return this.$val.read(a,b,c);};AF=function(a){var a;if(a<0){return((-a>>>0));}return((a>>>0));};K.ptr.prototype.NormFloat64=function(){var{a,b,c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;case 1:b=a.Uint32();$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=((b>>0));d=c&127;e=(c)*(((d<0||d>=AH.length)?($throwRuntimeError("index out of range"),undefined):AH[d]));if(AF(c)<((d<0||d>=AG.length)?($throwRuntimeError("index out of range"),undefined):AG[d])){$s=-1;return e;}if(d===0){$s=4;continue;}$s=5;continue;case 4:case 6:f=a.Float64();$s=8;case 8:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=A.Log(f);$s=9;case 9:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}e=-g*0.29047645161474317;h=a.Float64();$s=10;case 10:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=A.Log(h);$s=11;case 11:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}j=-i;if(j+j>=e*e){$s=7;continue;}$s=6;continue;case 7:if(c>0){$s=-1;return 3.442619855899+e;}$s=-1;return-3.442619855899-e;case 5:k=a.Float64();$s=14;case 14:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}if($fround(((d<0||d>=AI.length)?($throwRuntimeError("index out of range"),undefined):AI[d])+$fround(($fround(k))*($fround((l=d-1>>0,((l<0||l>=AI.length)?($throwRuntimeError("index out of range"),undefined):AI[l]))-((d<0||d>=AI.length)?($throwRuntimeError("index out of range"),undefined):AI[d])))))<($fround(A.Exp(-0.5*e*e)))){$s=12;continue;}$s=13;continue;case 12:$s=-1;return e;case 13:$s=1;continue;case 2:$s=-1;return 0;}return;}var $f={$blk:K.ptr.prototype.NormFloat64,$c:true,$r,a,b,c,d,e,f,g,h,i,j,k,l,$s};return $f;};K.prototype.NormFloat64=function(){return this.$val.NormFloat64();};K.ptr.prototype.ExpFloat64=function(){var{a,b,c,d,e,f,g,h,i,j,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:a=this;case 1:b=a.Uint32();$s=3;case 3:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=b;d=(c&255)>>>0;e=(c)*(((d<0||d>=AK.length)?($throwRuntimeError("index out of range"),undefined):AK[d]));if(c<((d<0||d>=AJ.length)?($throwRuntimeError("index out of range"),undefined):AJ[d])){$s=-1;return e;}if(d===0){$s=4;continue;}$s=5;continue;case 4:f=a.Float64();$s=6;case 6:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=A.Log(f);$s=7;case 7:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=7.69711747013105-g;$s=8;case 8:return h;case 5:i=a.Float64();$s=11;case 11:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}if($fround(((d<0||d>=AL.length)?($throwRuntimeError("index out of range"),undefined):AL[d])+$fround(($fround(i))*($fround((j=d-1>>>0,((j<0||j>=AL.length)?($throwRuntimeError("index out of range"),undefined):AL[j]))-((d<0||d>=AL.length)?($throwRuntimeError("index out of range"),undefined):AL[d])))))<($fround(A.Exp(-e)))){$s=9;continue;}$s=10;continue;case 9:$s=-1;return e;case 10:$s=1;continue;case 2:$s=-1;return 0;}return;}var $f={$blk:K.ptr.prototype.ExpFloat64,$c:true,$r,a,b,c,d,e,f,g,h,i,j,$s};return $f;};K.prototype.ExpFloat64=function(){return this.$val.ExpFloat64();};AM.methods=[{prop:"Seed",name:"Seed",pkg:"",typ:$funcType([$Int64],[],false)},{prop:"Int63",name:"Int63",pkg:"",typ:$funcType([],[$Int64],false)},{prop:"Uint64",name:"Uint64",pkg:"",typ:$funcType([],[$Uint64],false)}];AO.methods=[{prop:"Seed",name:"Seed",pkg:"",typ:$funcType([$Int64],[],false)},{prop:"Int63",name:"Int63",pkg:"",typ:$funcType([],[$Int64],false)},{prop:"Uint32",name:"Uint32",pkg:"",typ:$funcType([],[$Uint32],false)},{prop:"Uint64",name:"Uint64",pkg:"",typ:$funcType([],[$Uint64],false)},{prop:"Int31",name:"Int31",pkg:"",typ:$funcType([],[$Int32],false)},{prop:"Int",name:"Int",pkg:"",typ:$funcType([],[$Int],false)},{prop:"Int63n",name:"Int63n",pkg:"",typ:$funcType([$Int64],[$Int64],false)},{prop:"Int31n",name:"Int31n",pkg:"",typ:$funcType([$Int32],[$Int32],false)},{prop:"int31n",name:"int31n",pkg:"math/rand",typ:$funcType([$Int32],[$Int32],false)},{prop:"Intn",name:"Intn",pkg:"",typ:$funcType([$Int],[$Int],false)},{prop:"Float64",name:"Float64",pkg:"",typ:$funcType([],[$Float64],false)},{prop:"Float32",name:"Float32",pkg:"",typ:$funcType([],[$Float32],false)},{prop:"Perm",name:"Perm",pkg:"",typ:$funcType([$Int],[AS],false)},{prop:"Shuffle",name:"Shuffle",pkg:"",typ:$funcType([$Int,AU],[],false)},{prop:"Read",name:"Read",pkg:"",typ:$funcType([AV],[$Int,$error],false)},{prop:"NormFloat64",name:"NormFloat64",pkg:"",typ:$funcType([],[$Float64],false)},{prop:"ExpFloat64",name:"ExpFloat64",pkg:"",typ:$funcType([],[$Float64],false)}];AN.methods=[{prop:"Int63",name:"Int63",pkg:"",typ:$funcType([],[$Int64],false)},{prop:"Uint64",name:"Uint64",pkg:"",typ:$funcType([],[$Uint64],false)},{prop:"Seed",name:"Seed",pkg:"",typ:$funcType([$Int64],[],false)},{prop:"seedPos",name:"seedPos",pkg:"math/rand",typ:$funcType([$Int64,AR],[],false)},{prop:"read",name:"read",pkg:"math/rand",typ:$funcType([AV,AT,AR],[$Int,$error],false)}];F.init("math/rand",[{prop:"tap",name:"tap",embedded:false,exported:false,typ:$Int,tag:""},{prop:"feed",name:"feed",embedded:false,exported:false,typ:$Int,tag:""},{prop:"vec",name:"vec",embedded:false,exported:false,typ:AQ,tag:""}]);H.init([{prop:"Int63",name:"Int63",pkg:"",typ:$funcType([],[$Int64],false)},{prop:"Seed",name:"Seed",pkg:"",typ:$funcType([$Int64],[],false)}]);I.init([{prop:"Int63",name:"Int63",pkg:"",typ:$funcType([],[$Int64],false)},{prop:"Seed",name:"Seed",pkg:"",typ:$funcType([$Int64],[],false)},{prop:"Uint64",name:"Uint64",pkg:"",typ:$funcType([],[$Uint64],false)}]);K.init("math/rand",[{prop:"src",name:"src",embedded:false,exported:false,typ:H,tag:""},{prop:"s64",name:"s64",embedded:false,exported:false,typ:I,tag:""},{prop:"readVal",name:"readVal",embedded:false,exported:false,typ:$Int64,tag:""},{prop:"readPos",name:"readPos",embedded:false,exported:false,typ:$Int8,tag:""}]);AE.init("math/rand",[{prop:"lk",name:"lk",embedded:false,exported:false,typ:B.Mutex,tag:""},{prop:"src",name:"src",embedded:false,exported:false,typ:AM,tag:""}]);$init=function(){$pkg.$init=function(){};var $f,$c=false,$s=0,$r;if(this!==undefined&&this.$blk!==undefined){$f=this;$c=true;$s=$f.$s;$r=$f.$r;}s:while(true){switch($s){case 0:$r=B.$init();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=A.$init();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}E=$toNativeArray($kindInt64,[new $Int64(-973649357,3952672746),new $Int64(-1065661887,3130416987),new $Int64(324977939,3414273807),new $Int64(1241840476,2806224363),new $Int64(-1477934308,1997590414),new $Int64(2103305448,2402795971),new $Int64(1663160183,1140819369),new $Int64(1120601685,1788868961),new $Int64(1848035537,1089001426),new $Int64(1235702047,873593504),new $Int64(1911387977,581324885),new $Int64(-1654874170,1609182556),new $Int64(1069394745,1241596776),new $Int64(1895445337,1771189259),new $Int64(-1374618802,3467012610),new $Int64(-140526423,2344407434),new $Int64(-1745367887,782467244),new $Int64(26335124,3404933915),new $Int64(1063924276,618867887),new $Int64(-968700782,520164395),new $Int64(-1591572833,1341358184),new $Int64(-1515085039,665794848),new $Int64(1527227641,3183648150),new $Int64(1781176124,696329606),new $Int64(1789146075,4151988961),new $Int64(-2087444114,998951326),new $Int64(-612324923,1364957564),new $Int64(63173359,4090230633),new $Int64(-1498029007,4009697548),new $Int64(248009524,2569622517),new $Int64(778703922,3742421481),new $Int64(-1109106023,1506914633),new $Int64(1738099768,1983412561),new $Int64(236311649,1436266083),new $Int64(-1111517500,3922894967),new $Int64(-1336974714,1792680179),new $Int64(563141142,1188796351),new $Int64(1349617468,405968250),new $Int64(1044074554,433754187),new $Int64(870549669,4073162024),new $Int64(-1094251604,433121399),new $Int64(2451824,4162580594),new $Int64(-137262572,4132415622),new $Int64(-1536231048,3033822028),new $Int64(2016407895,824682382),new $Int64(2366218,3583765414),new $Int64(-624604839,535386927),new $Int64(1637219058,2286693689),new $Int64(1453075389,2968466525),new $Int64(193683513,1351410206),new $Int64(-283806096,1412813499),new $Int64(492736522,4126267639),new $Int64(512765208,2105529399),new $Int64(2132966268,2413882233),new $Int64(947457634,32226200),new $Int64(1149341356,2032329073),new $Int64(106485445,1356518208),new $Int64(-2067810156,3430061722),new $Int64(-1484435135,3820169661),new $Int64(-1665985194,2981816134),new $Int64(1017155588,4184371017),new $Int64(206574701,2119206761),new $Int64(-852109057,2472200560),new $Int64(-560457548,2853524696),new $Int64(1307803389,1681119904),new $Int64(-174986835,95608918),new $Int64(392686347,3690479145),new $Int64(-1205570926,1397922290),new $Int64(-1159314025,1516129515),new $Int64(-320178155,1547420459),new $Int64(1311333971,1470949486),new $Int64(-1953469798,1336785672),new $Int64(-45086614,4131677129),new $Int64(-1392278100,4246329084),new $Int64(-1142500187,3788585631),new $Int64(-66478285,3080389532),new $Int64(-646438364,2215402037),new $Int64(391002300,1171593935),new $Int64(1408774047,1423855166),new $Int64(-519177718,2276716302),new $Int64(-368453140,2068027241),new $Int64(1369359303,3427553297),new $Int64(189241615,3289637845),new $Int64(1057480830,3486407650),new $Int64(-1512910664,3071877822),new $Int64(1159653919,3363620705),new $Int64(-934256930,4159821533),new $Int64(-76621938,1894661),new $Int64(-674493898,1156868282),new $Int64(348271067,776219088),new $Int64(-501428838,2425634259),new $Int64(1716021749,680510161),new $Int64(-574263456,1310101429),new $Int64(1095885995,2964454134),new $Int64(-325695512,3467098407),new $Int64(1990672920,2109628894),new $Int64(-2139648704,1232604732),new $Int64(-1838070714,3261916179),new $Int64(1699175360,434597899),new $Int64(235436061,1624796439),new $Int64(-1626402839,3589632480),new $Int64(1198416575,864579159),new $Int64(-1938748161,1380889830),new $Int64(619206309,2654509477),new $Int64(1419738251,1468209306),new $Int64(-1744284772,100794388),new $Int64(-1191421458,2991674471),new $Int64(-208666741,2224662036),new $Int64(-173659161,977097250),new $Int64(1351320195,726419512),new $Int64(-183459897,1747974366),new $Int64(-753095183,1556430604),new $Int64(-1049492215,1080776742),new $Int64(-385846958,280794874),new $Int64(117767733,919835643),new $Int64(-967009426,3434019658),new $Int64(-1951414480,2461941785),new $Int64(133215641,3615001066),new $Int64(417204809,3103414427),new $Int64(790056561,3380809712),new $Int64(-1267681408,2724693469),new $Int64(547796833,598827710),new $Int64(-1846559452,3452273442),new $Int64(-75778224,649274915),new $Int64(-801301329,2585724112),new $Int64(-1510934263,3165579553),new $Int64(1185578221,2635894283),new $Int64(-52910178,2053289721),new $Int64(985976581,3169337108),new $Int64(1170569632,144717764),new $Int64(1079216270,1383666384),new $Int64(-124804942,681540375),new $Int64(1375448925,537050586),new $Int64(-1964768344,315246468),new $Int64(226402871,849323088),new $Int64(-885062465,45543944),new $Int64(-946445250,2319052083),new $Int64(-40708194,3613090841),new $Int64(560472520,2992171180),new $Int64(-381863169,2068244785),new $Int64(917538188,4239862634),new $Int64(-1369555809,3892253031),new $Int64(720683925,958186149),new $Int64(-423297785,1877702262),new $Int64(1357886971,837674867),new $Int64(1837048883,1507589294),new $Int64(1905518400,873336795),new $Int64(-1879761037,2764496274),new $Int64(-1806480530,4196182374),new $Int64(-1066765755,550964545),new $Int64(818747069,420611474),new $Int64(-1924830376,204265180),new $Int64(1549974541,1787046383),new $Int64(1215581865,3102292318),new $Int64(418321538,1552199393),new $Int64(1243493047,980542004),new $Int64(267284263,3293718720),new $Int64(1179528763,3771917473),new $Int64(599484404,2195808264),new $Int64(252818753,3894702887),new $Int64(-1367475956,2099949527),new $Int64(1424094358,338442522),new $Int64(490737398,637158004),new $Int64(-1727621530,281976339),new $Int64(574970164,3619802330),new $Int64(-431930823,3084554784),new $Int64(-1264611183,4129772886),new $Int64(-2104399043,1680378557),new $Int64(-1621962591,3339087776),new $Int64(1680500332,4220317857),new $Int64(-1935828963,2959322499),new $Int64(1675600481,1488354890),new $Int64(-834863562,3958162143),new $Int64(-1226511573,2773705983),new $Int64(1876039582,225908689),new $Int64(-1183735113,908216283),new $Int64(-605696219,3574646075),new $Int64(-1827723091,1936937569),new $Int64(1519770881,75492235),new $Int64(816689472,1935193178),new $Int64(2142521206,2018250883),new $Int64(455141620,3943126022),new $Int64(-601399488,3066544345),new $Int64(1932392669,2793082663),new $Int64(-1239009361,3297036421),new $Int64(1640597065,2206987825),new $Int64(-553246738,807894872),new $Int64(-1781325307,766252117),new $Int64(2060649606,3833114345),new $Int64(845619743,1255067973),new $Int64(1201145605,741697208),new $Int64(-1476242608,2810093753),new $Int64(1109032642,4229340371),new $Int64(1462188720,1361684224),new $Int64(-1159399429,1906263026),new $Int64(475781207,3904421704),new $Int64(-623537128,1769075545),new $Int64(1062308525,2621599764),new $Int64(1279509432,3431891480),new $Int64(-1742751146,1871896503),new $Int64(128756421,1412808876),new $Int64(1605404688,952876175),new $Int64(-230443691,1824438899),new $Int64(1662295856,1005035476),new $Int64(-156574141,527508597),new $Int64(1288873303,3066806859),new $Int64(565995893,3244940914),new $Int64(-889746188,209092916),new $Int64(-247669406,1242699167),new $Int64(-713830396,456723774),new $Int64(1776978905,1001252870),new $Int64(1468772157,2026725874),new $Int64(857254202,2137562569),new $Int64(765939740,3183366709),new $Int64(1533887628,2612072960),new $Int64(56977098,1727148468),new $Int64(-1197583895,3803658212),new $Int64(1883670356,479946959),new $Int64(685713571,1562982345),new $Int64(-1946242443,1766109365),new $Int64(700596547,3257093788),new $Int64(-184714929,2365720207),new $Int64(93384808,3742754173),new $Int64(-458385235,2878193673),new $Int64(1096135042,2174002182),new $Int64(-834260953,3573511231),new $Int64(-754572527,1760299077),new $Int64(-1375627191,2260779833),new $Int64(-866019274,1452805722),new $Int64(-1229671918,2940011802),new $Int64(1890251082,1886183802),new $Int64(893897673,2514369088),new $Int64(1644345561,3924317791),new $Int64(-1974867432,500935732),new $Int64(1403501753,676580929),new $Int64(-1565912283,1184984890),new $Int64(-691968413,1271474274),new $Int64(-1828754738,3163791473),new $Int64(2051027584,2842487377),new $Int64(1511537551,2170968612),new $Int64(573262976,3535856740),new $Int64(-2053227187,1488599718),new $Int64(-1180531831,3408913763),new $Int64(-2086531912,2501050084),new $Int64(-875130448,1639124157),new $Int64(-2009482504,4088176393),new $Int64(1574896563,3989947576),new $Int64(-165243708,3414355209),new $Int64(-792329287,2275136352),new $Int64(-2057774345,2151835223),new $Int64(-931144933,1654534827),new $Int64(-679921451,377892833),new $Int64(-482716010,660204544),new $Int64(85706799,390828249),new $Int64(-1422172693,3402783878),new $Int64(-1468634160,3717936603),new $Int64(1113532086,2211058823),new $Int64(1564224320,2692150867),new $Int64(1952770442,1928910388),new $Int64(788716862,3931011137),new $Int64(1083670504,1112701047),new $Int64(-68150572,2452299106),new $Int64(-896164822,2337204777),new $Int64(1774877857,273889282),new $Int64(1798719843,1462008793),new $Int64(2138834788,1554494002),new $Int64(-1194967131,182675323),new $Int64(-1598554764,1882802136),new $Int64(589279648,3700220025),new $Int64(381039426,3083431543),new $Int64(-851859191,3622207527),new $Int64(338126939,432729309),new $Int64(-1667470126,2391914317),new $Int64(-1849558151,235747924),new $Int64(2120733629,3088823825),new $Int64(-745079795,2314658321),new $Int64(1165929723,2957634338),new $Int64(501323675,4117056981),new $Int64(1564699815,1482500298),new $Int64(-740826490,840489337),new $Int64(799522364,3483178565),new $Int64(532129761,2074004656),new $Int64(724246478,3643392642),new $Int64(-665153481,1583624461),new $Int64(-885822954,287473085),new $Int64(1667835381,3136843981),new $Int64(1138806821,1266970974),new $Int64(135185781,1998688839),new $Int64(392094735,1492900209),new $Int64(1031326774,1538112737),new $Int64(-2070568842,2207265429),new $Int64(-1886797613,963263315),new $Int64(1671145500,2295892134),new $Int64(1068469660,2002560897),new $Int64(-356250305,1369254035),new $Int64(33436120,3353312708),new $Int64(57507843,947771099),new $Int64(-1945755145,1747061399),new $Int64(1507240140,2047354631),new $Int64(720000810,4165367136),new $Int64(479265078,3388864963),new $Int64(-952181250,286492130),new $Int64(2045622690,2795735007),new $Int64(-715730566,3703961339),new $Int64(-148436487,1797825479),new $Int64(1429039600,1116589674),new $Int64(-1665420098,2593309206),new $Int64(1329049334,3404995677),new $Int64(-750579440,3453462936),new $Int64(1014767077,3016498634),new $Int64(75698599,1650371545),new $Int64(1592007860,212344364),new $Int64(1127766888,3843932156),new $Int64(-748019856,3573129983),new $Int64(-890581831,665897820),new $Int64(1071492673,1675628772),new $Int64(243225682,2831752928),new $Int64(2120298836,1486294219),new $Int64(-1954407413,268782709),new $Int64(-1002123503,4186179080),new $Int64(624342951,1613720397),new $Int64(857179861,2703686015),new $Int64(-911618704,2205342611),new $Int64(-672703993,1411666394),new $Int64(-1528454899,677744900),new $Int64(-1876628533,4172867247),new $Int64(135494707,2163418403),new $Int64(849547544,2841526879),new $Int64(-1117516959,1082141470),new $Int64(-1770111792,4046134367),new $Int64(51415528,2142943655),new $Int64(-249824333,3124627521),new $Int64(998228909,219992939),new $Int64(-1078790951,1756846531),new $Int64(1283749206,1225118210),new $Int64(-525858006,1647770243),new $Int64(-2035959705,444807907),new $Int64(2036369448,3952076173),new $Int64(53201823,1461839639),new $Int64(315761893,3699250910),new $Int64(702974850,1373688981),new $Int64(734022261,147523747),new $Int64(-2047330906,1211276581),new $Int64(1294440951,2548832680),new $Int64(1144696256,1995631888),new $Int64(-1992983070,2011457303),new $Int64(-1351022674,3057425772),new $Int64(667839456,81484597),new $Int64(-1681980888,3646681560),new $Int64(-1372462725,635548515),new $Int64(602489502,2508044581),new $Int64(-1794220117,1014917157),new $Int64(719992433,3214891315),new $Int64(-1294799037,959582252),new $Int64(226415134,3347040449),new $Int64(-362868096,4102971975),new $Int64(397887437,4078022210),new $Int64(-536803826,2851767182),new $Int64(-1398321012,1540160644),new $Int64(-1549098876,1057290595),new $Int64(-112592988,3907769253),new $Int64(579300318,4248952684),new $Int64(-1054576049,132554364),new $Int64(-1085862414,1029351092),new $Int64(697840928,2583007416),new $Int64(298619124,1486185789),new $Int64(55905697,2871589073),new $Int64(2017643612,723203291),new $Int64(146250550,2494333952),new $Int64(-1082993397,2230939180),new $Int64(-1804568072,3943232912),new $Int64(1768732449,2181367922),new $Int64(-729261111,2889274791),new $Int64(1824032949,2046728161),new $Int64(1653899792,1376052477),new $Int64(1022327048,381236993),new $Int64(-1113097690,3188942166),new $Int64(-74480109,350070824),new $Int64(144881592,61758415),new $Int64(-741824226,3492950336),new $Int64(-2030042720,3093818430),new $Int64(-453590535,2962480613),new $Int64(-1912050708,3154871160),new $Int64(-1636478569,3228564679),new $Int64(610731502,888276216),new $Int64(-946702974,3574998604),new $Int64(-1277068380,1967526716),new $Int64(-1556147941,1554691298),new $Int64(-1573024234,339944798),new $Int64(1223764147,1154515356),new $Int64(1825645307,967516237),new $Int64(1546195135,596588202),new $Int64(-1867600880,3764362170),new $Int64(-1655392592,266611402),new $Int64(-393255880,2047856075),new $Int64(-1000726433,21444105),new $Int64(-949424754,3065563181),new $Int64(-232418803,1140663212),new $Int64(633187674,2323741028),new $Int64(2126290159,3103873707),new $Int64(1008658319,2766828349),new $Int64(-485587503,1970872996),new $Int64(1628585413,3766615585),new $Int64(-595148528,2036813414),new $Int64(-1994877121,3105536507),new $Int64(13954645,3396176938),new $Int64(-721402003,1377154485),new $Int64(-61839181,3807014186),new $Int64(543009040,3710110597),new $Int64(-1751425519,916420443),new $Int64(734556788,2103831255),new $Int64(-1766161494,717331943),new $Int64(-1574598896,3550505941),new $Int64(45939673,378749927),new $Int64(-1997615719,611017331),new $Int64(592130075,758907650),new $Int64(1012992349,154266815),new $Int64(-1040454942,1407468696),new $Int64(-1678191250,970098704),new $Int64(-285057486,1971660656),new $Int64(998365243,3332747885),new $Int64(1947089649,1935189867),new $Int64(1510248801,203520055),new $Int64(-1305165746,3916463034),new $Int64(-388598655,3474113316),new $Int64(1036101639,316544223),new $Int64(-1773744891,1650844677),new $Int64(-907191419,4267565603),new $Int64(-1070275024,2501167616),new $Int64(-1520651863,3929401789),new $Int64(-2091360852,337170252),new $Int64(-960502090,2061966842),new $Int64(-304190848,2508461464),new $Int64(-1941471116,2791377107),new $Int64(1240791848,1227227588),new $Int64(1813978778,1709681848),new $Int64(1153692192,3768820575),new $Int64(-1002297449,2887126398),new $Int64(-1447111334,296561685),new $Int64(700300844,3729960077),new $Int64(-1572311344,372833036),new $Int64(2078875613,2409779288),new $Int64(1829161290,555274064),new $Int64(-1105595719,4239804901),new $Int64(1839403216,3723486978),new $Int64(-1649093095,2145871984),new $Int64(-1582765715,3565480803),new $Int64(-1568653827,2197313814),new $Int64(974785092,3613674566),new $Int64(438638731,3042093666),new $Int64(-96556264,3324034321),new $Int64(869420878,3708873369),new $Int64(946682149,1698090092),new $Int64(1618900382,4213940712),new $Int64(-1843479747,2087477361),new $Int64(-1766167800,2407950639),new $Int64(-1296225558,3942568569),new $Int64(-1223900450,4088074412),new $Int64(723260036,2964773675),new $Int64(-673921829,1539178386),new $Int64(1062961552,2694849566),new $Int64(460977733,2120273838),new $Int64(-1604570740,2484608657),new $Int64(880846449,2956190677),new $Int64(1970902366,4223313749),new $Int64(662161910,3502682327),new $Int64(705634754,4133891139),new $Int64(-1031359300,1166449596),new $Int64(1038247601,3362705993),new $Int64(93734798,3892921029),new $Int64(1876124043,786869787),new $Int64(1057490746,1046342263),new $Int64(242763728,493777327),new $Int64(-853573201,3304827646),new $Int64(616460742,125356352),new $Int64(499300063,74094113),new $Int64(-795586925,2500816079),new $Int64(-490248444,514015239),new $Int64(1377565129,543520454),new $Int64(-2039776725,3614531153),new $Int64(2056746300,2356753985),new $Int64(1390062617,2018141668),new $Int64(131272971,2087974891),new $Int64(-1502927041,3166972343),new $Int64(372256200,1517638666),new $Int64(-935275664,173466846),new $Int64(-695774461,4241513471),new $Int64(-1413550842,2783126920),new $Int64(1972004134,4167264826),new $Int64(29260506,3907395640),new $Int64(-910901561,1539634186),new $Int64(-595957298,178241987),new $Int64(-113277636,182168164),new $Int64(-1102530459,2386154934),new $Int64(1379126408,4077374341),new $Int64(-2114679722,1732699140),new $Int64(-421057745,1041306002),new $Int64(1860414813,2068001749),new $Int64(1005320202,3208962910),new $Int64(844054010,697710380),new $Int64(-1509359403,2228431183),new $Int64(-810313977,3554678728),new $Int64(-750989047,173470263),new $Int64(-85886265,3848297795),new $Int64(-926936977,246236185),new $Int64(-1984190461,2066374846),new $Int64(1771673660,312890749),new $Int64(703378057,3573310289),new $Int64(-598851901,143166754),new $Int64(613554316,2081511079),new $Int64(1197802104,486038032),new $Int64(-1906483789,2982218564),new $Int64(364901986,1000939191),new $Int64(1902782651,2750454885),new $Int64(-671844857,3375313137),new $Int64(-1643868040,881302957),new $Int64(-1508784745,2514186393),new $Int64(-1703622845,360024739),new $Int64(1399671872,292500025),new $Int64(1381210821,2276300752),new $Int64(521803381,4069087683),new $Int64(-1938982667,1637778212),new $Int64(720490469,1676670893),new $Int64(1067262482,3855174429),new $Int64(2114075974,2067248671),new $Int64(-89426259,2884561259),new $Int64(-805741095,2456511185),new $Int64(983726246,561175414),new $Int64(-1719489563,432588903),new $Int64(885133709,4059399550),new $Int64(-93096266,1075014784),new $Int64(-1733832628,2728058415),new $Int64(1839142064,1299703678),new $Int64(1262333188,2347583393),new $Int64(1285481956,2468164145),new $Int64(-1158354011,1140014346),new $Int64(2033889184,1936972070),new $Int64(-1737578993,3870530098),new $Int64(-484494257,1717789158),new $Int64(-232997156,1153452491),new $Int64(-990424416,3948827651),new $Int64(-1357145630,2101413152),new $Int64(1495744672,3854091229),new $Int64(83644069,4215565463),new $Int64(-1385277313,1202710438),new $Int64(-564909037,2072216740),new $Int64(705690639,2066751068),new $Int64(-2113583312,173902580),new $Int64(-741983806,142459001),new $Int64(172391592,1889151926),new $Int64(-498943125,3034199774),new $Int64(1618587731,516490102),new $Int64(93114264,3692577783),new $Int64(-2078821353,2953948865),new $Int64(-320938673,4041040923),new $Int64(-1942517976,592046130),new $Int64(-705643640,384297211),new $Int64(-2051649464,265863924),new $Int64(2101717619,1333136237),new $Int64(1499611781,1406273556),new $Int64(1074670496,426305476),new $Int64(125704633,2750898176),new $Int64(488068495,1633944332),new $Int64(2037723464,3236349343),new $Int64(-1703423246,4013676611),new $Int64(1718532237,2265047407),new $Int64(1433593806,875071080),new $Int64(-343047503,1418843655),new $Int64(2009228711,451657300),new $Int64(1229446621,1866374663),new $Int64(1653472867,1551455622),new $Int64(577191481,3560962459),new $Int64(1669204077,3347903778),new $Int64(-298327194,2675874918),new $Int64(-1831355577,2762991672),new $Int64(530492383,3689068477),new $Int64(844089962,4071997905),new $Int64(1508155730,1381702441),new $Int64(2089931018,2373284878),new $Int64(-864267462,2143983064),new $Int64(308739063,1938207195),new $Int64(1754949306,1188152253),new $Int64(1272345009,615870490),new $Int64(742653194,2662252621),new $Int64(1477718295,3839976789),new $Int64(-2091334213,306752547),new $Int64(-1426688067,2162363077),new $Int64(-57052633,2767224719),new $Int64(-1471624099,2628837712),new $Int64(1678405918,2967771969),new $Int64(1694285728,499792248),new $Int64(-1744131281,4285253508),new $Int64(962357072,2856511070),new $Int64(679471692,2526409716),new $Int64(-1793706473,1240875658),new $Int64(-914893422,2577342868),new $Int64(-1001298215,4136853496),new $Int64(-1477114974,2403540137),new $Int64(1372824515,1371410668),new $Int64(-176562048,371758825),new $Int64(-441063112,1528834084),new $Int64(-71688630,1504757260),new $Int64(-1461820072,699052551),new $Int64(-505543539,3347789870),new $Int64(1951619734,3430604759),new $Int64(2119672219,1935601723),new $Int64(966789690,834676166)]);N=L(new AE.ptr(new B.Mutex.ptr(false),$assertType(J(new $Int64(0,1)),AM)));AG=$toNativeArray($kindUint32,[1991057938,0,1611602771,1826899878,1918584482,1969227037,2001281515,2023368125,2039498179,2051788381,2061460127,2069267110,2075699398,2081089314,2085670119,2089610331,2093034710,2096037586,2098691595,2101053571,2103168620,2105072996,2106796166,2108362327,2109791536,2111100552,2112303493,2113412330,2114437283,2115387130,2116269447,2117090813,2117856962,2118572919,2119243101,2119871411,2120461303,2121015852,2121537798,2122029592,2122493434,2122931299,2123344971,2123736059,2124106020,2124456175,2124787725,2125101763,2125399283,2125681194,2125948325,2126201433,2126441213,2126668298,2126883268,2127086657,2127278949,2127460589,2127631985,2127793506,2127945490,2128088244,2128222044,2128347141,2128463758,2128572095,2128672327,2128764606,2128849065,2128925811,2128994934,2129056501,2129110560,2129157136,2129196237,2129227847,2129251929,2129268426,2129277255,2129278312,2129271467,2129256561,2129233410,2129201800,2129161480,2129112170,2129053545,2128985244,2128906855,2128817916,2128717911,2128606255,2128482298,2128345305,2128194452,2128028813,2127847342,2127648860,2127432031,2127195339,2126937058,2126655214,2126347546,2126011445,2125643893,2125241376,2124799783,2124314271,2123779094,2123187386,2122530867,2121799464,2120980787,2120059418,2119015917,2117825402,2116455471,2114863093,2112989789,2110753906,2108037662,2104664315,2100355223,2094642347,2086670106,2074676188,2054300022,2010539237]);AH=$toNativeArray($kindFloat32,[1.7290404663583558e-09,1.2680928529462676e-10,1.689751810696194e-10,1.9862687883343e-10,2.223243117382978e-10,2.4244936613904144e-10,2.601613091623989e-10,2.761198769629658e-10,2.9073962681813725e-10,3.042996965518796e-10,3.169979556627567e-10,3.289802041894774e-10,3.4035738116777736e-10,3.5121602848242617e-10,3.61625090983253e-10,3.7164057942185025e-10,3.813085680537398e-10,3.906675816178762e-10,3.997501218933053e-10,4.0858399996679395e-10,4.1719308563337165e-10,4.255982233303257e-10,4.3381759295968436e-10,4.4186720948857783e-10,4.497613115272969e-10,4.57512583373898e-10,4.6513240481438345e-10,4.726310454117311e-10,4.800177477726209e-10,4.873009773476156e-10,4.944885056978876e-10,5.015873272284921e-10,5.086040477664255e-10,5.155446070048697e-10,5.224146670812502e-10,5.292193350214802e-10,5.359634958068682e-10,5.426517013518151e-10,5.492881705038144e-10,5.558769555769061e-10,5.624218868405251e-10,5.689264614971989e-10,5.75394121238304e-10,5.818281967329142e-10,5.882316855831959e-10,5.946076964136182e-10,6.009590047817426e-10,6.072883862451306e-10,6.135985053390414e-10,6.19892026598734e-10,6.261713370037114e-10,6.324390455780815e-10,6.386973727678935e-10,6.449488165749528e-10,6.511955974453087e-10,6.574400468473129e-10,6.636843297158634e-10,6.699307220081607e-10,6.761814441702541e-10,6.824387166481927e-10,6.887046488657234e-10,6.949815167800466e-10,7.012714853260604e-10,7.075767749498141e-10,7.13899661608508e-10,7.202424212593428e-10,7.266072743483676e-10,7.329966078550854e-10,7.394128087589991e-10,7.458582640396116e-10,7.523354716987285e-10,7.588469852493063e-10,7.653954137154528e-10,7.719834771435785e-10,7.786139510912449e-10,7.852897221383159e-10,7.920137878869582e-10,7.987892014504894e-10,8.056192379868321e-10,8.125072836762115e-10,8.194568912323064e-10,8.264716688799467e-10,8.3355555791087e-10,8.407127216614185e-10,8.479473234679347e-10,8.552640262671218e-10,8.626675485068347e-10,8.701631637464402e-10,8.777562010564566e-10,8.854524335966119e-10,8.932581896381464e-10,9.011799639857543e-10,9.092249730890956e-10,9.174008219758889e-10,9.25715837318819e-10,9.341788453909317e-10,9.42799727177146e-10,9.515889187738935e-10,9.605578554783278e-10,9.697193048552322e-10,9.790869226478094e-10,9.886760299337993e-10,9.985036131254788e-10,1.008588212947359e-09,1.0189509236369076e-09,1.0296150598776421e-09,1.040606933955246e-09,1.0519566329136865e-09,1.0636980185552147e-09,1.0758701707302976e-09,1.0885182755160372e-09,1.101694735439196e-09,1.115461056855338e-09,1.1298901814171813e-09,1.1450695946990663e-09,1.1611052119775422e-09,1.178127595480305e-09,1.1962995039027646e-09,1.2158286599728285e-09,1.2369856250415978e-09,1.2601323318151003e-09,1.2857697129220469e-09,1.3146201904845611e-09,1.3477839955200466e-09,1.3870635751089821e-09,1.43574030442295e-09,1.5008658760251592e-09,1.6030947680434338e-09]);AI=$toNativeArray($kindFloat32,[1,0.963599681854248,0.9362826943397522,0.9130436182022095,0.8922816514968872,0.8732430338859558,0.8555005788803101,0.8387836217880249,0.8229072093963623,0.8077383041381836,0.7931770086288452,0.7791460752487183,0.7655841708183289,0.7524415850639343,0.7396772503852844,0.7272568941116333,0.7151514887809753,0.7033361196517944,0.6917891502380371,0.6804918646812439,0.6694276928901672,0.6585819721221924,0.6479418277740479,0.6374954581260681,0.6272324919700623,0.6171433925628662,0.6072195172309875,0.5974531769752502,0.5878370404243469,0.5783646702766418,0.5690299868583679,0.5598273873329163,0.550751805305481,0.5417983531951904,0.5329626798629761,0.5242405533790588,0.5156282186508179,0.5071220397949219,0.49871864914894104,0.4904148280620575,0.48220765590667725,0.47409430146217346,0.466072142124176,0.45813870429992676,0.45029163360595703,0.44252872467041016,0.4348478317260742,0.42724698781967163,0.41972434520721436,0.41227802634239197,0.40490642189979553,0.39760786294937134,0.3903807997703552,0.3832238018512726,0.3761354684829712,0.3691144585609436,0.36215949058532715,0.3552693724632263,0.3484429717063904,0.3416791558265686,0.33497685194015503,0.32833510637283325,0.3217529058456421,0.3152293860912323,0.30876362323760986,0.3023548424243927,0.2960021495819092,0.2897048592567444,0.28346219658851624,0.2772735059261322,0.271138072013855,0.2650552988052368,0.25902456045150757,0.25304529070854187,0.24711695313453674,0.24123899638652802,0.23541094362735748,0.22963231801986694,0.22390270233154297,0.21822164952754974,0.21258877217769623,0.20700371265411377,0.20146611332893372,0.1959756463766098,0.19053204357624054,0.18513499200344086,0.17978426814079285,0.1744796335697174,0.16922089457511902,0.16400785744190216,0.1588403731584549,0.15371830761432648,0.14864157140254974,0.14361007511615753,0.13862377405166626,0.13368265330791473,0.12878671288490295,0.12393598258495331,0.11913054436445236,0.11437050998210907,0.10965602099895477,0.1049872562289238,0.10036443918943405,0.09578784555196762,0.09125780314207077,0.08677466958761215,0.08233889937400818,0.07795098423957825,0.07361150532960892,0.06932111829519272,0.06508058309555054,0.06089077144861221,0.05675266310572624,0.05266740173101425,0.048636294901371,0.044660862535238266,0.040742866694927216,0.03688438981771469,0.03308788686990738,0.029356317594647408,0.025693291798233986,0.02210330404341221,0.018592102453112602,0.015167297795414925,0.011839478276669979,0.0086244847625494,0.005548994988203049,0.0026696291752159595]);AJ=$toNativeArray($kindUint32,[3801129273,0,2615860924,3279400049,3571300752,3733536696,3836274812,3906990442,3958562475,3997804264,4028649213,4053523342,4074002619,4091154507,4105727352,4118261130,4129155133,4138710916,4147160435,4154685009,4161428406,4167506077,4173011791,4178022498,4182601930,4186803325,4190671498,4194244443,4197554582,4200629752,4203493986,4206168142,4208670408,4211016720,4213221098,4215295924,4217252177,4219099625,4220846988,4222502074,4224071896,4225562770,4226980400,4228329951,4229616109,4230843138,4232014925,4233135020,4234206673,4235232866,4236216336,4237159604,4238064994,4238934652,4239770563,4240574564,4241348362,4242093539,4242811568,4243503822,4244171579,4244816032,4245438297,4246039419,4246620374,4247182079,4247725394,4248251127,4248760037,4249252839,4249730206,4250192773,4250641138,4251075867,4251497493,4251906522,4252303431,4252688672,4253062674,4253425844,4253778565,4254121205,4254454110,4254777611,4255092022,4255397640,4255694750,4255983622,4256264513,4256537670,4256803325,4257061702,4257313014,4257557464,4257795244,4258026541,4258251531,4258470383,4258683258,4258890309,4259091685,4259287526,4259477966,4259663135,4259843154,4260018142,4260188212,4260353470,4260514019,4260669958,4260821380,4260968374,4261111028,4261249421,4261383632,4261513736,4261639802,4261761900,4261880092,4261994441,4262105003,4262211835,4262314988,4262414513,4262510454,4262602857,4262691764,4262777212,4262859239,4262937878,4263013162,4263085118,4263153776,4263219158,4263281289,4263340187,4263395872,4263448358,4263497660,4263543789,4263586755,4263626565,4263663224,4263696735,4263727099,4263754314,4263778377,4263799282,4263817020,4263831582,4263842955,4263851124,4263856071,4263857776,4263856218,4263851370,4263843206,4263831695,4263816804,4263798497,4263776735,4263751476,4263722676,4263690284,4263654251,4263614520,4263571032,4263523724,4263472530,4263417377,4263358192,4263294892,4263227394,4263155608,4263079437,4262998781,4262913534,4262823581,4262728804,4262629075,4262524261,4262414220,4262298801,4262177846,4262051187,4261918645,4261780032,4261635148,4261483780,4261325704,4261160681,4260988457,4260808763,4260621313,4260425802,4260221905,4260009277,4259787550,4259556329,4259315195,4259063697,4258801357,4258527656,4258242044,4257943926,4257632664,4257307571,4256967906,4256612870,4256241598,4255853155,4255446525,4255020608,4254574202,4254106002,4253614578,4253098370,4252555662,4251984571,4251383021,4250748722,4250079132,4249371435,4248622490,4247828790,4246986404,4246090910,4245137315,4244119963,4243032411,4241867296,4240616155,4239269214,4237815118,4236240596,4234530035,4232664930,4230623176,4228378137,4225897409,4223141146,4220059768,4216590757,4212654085,4208145538,4202926710,4196809522,4189531420,4180713890,4169789475,4155865042,4137444620,4111806704,4073393724,4008685917,3873074895]);AK=$toNativeArray($kindFloat32,[2.0249555365836613e-09,1.4866739783681027e-11,2.4409616689036184e-11,3.1968806074589295e-11,3.844677007314168e-11,4.42282044321729e-11,4.951644302919611e-11,5.443358958023836e-11,5.905943789574764e-11,6.34494193296753e-11,6.764381416113352e-11,7.167294535648239e-11,7.556032188826833e-11,7.932458162551725e-11,8.298078890689453e-11,8.654132271912474e-11,9.001651507523079e-11,9.341507428706208e-11,9.674443190998971e-11,1.0001099254308699e-10,1.0322031424037093e-10,1.0637725422757427e-10,1.0948611461891744e-10,1.1255067711157807e-10,1.1557434870246297e-10,1.1856014781042035e-10,1.2151082917633005e-10,1.2442885610752796e-10,1.2731647680563896e-10,1.3017574518325858e-10,1.330085347417409e-10,1.3581656632677408e-10,1.386014220061682e-10,1.413645728254309e-10,1.4410737880776736e-10,1.4683107507629245e-10,1.4953686899854546e-10,1.522258291641876e-10,1.5489899640730442e-10,1.575573282952547e-10,1.6020171300645814e-10,1.628330109637588e-10,1.6545202707884954e-10,1.68059510752272e-10,1.7065616975120435e-10,1.73242697965037e-10,1.758197337720091e-10,1.783878739169964e-10,1.8094774290045024e-10,1.834998542005195e-10,1.8604476292871652e-10,1.8858298256319017e-10,1.9111498494872592e-10,1.9364125580789704e-10,1.9616222535212557e-10,1.9867835154840918e-10,2.011900368525943e-10,2.0369768372052732e-10,2.062016807302669e-10,2.0870240258208383e-10,2.1120022397624894e-10,2.136955057352452e-10,2.1618855317040442e-10,2.1867974098199738e-10,2.2116936060356807e-10,2.2365774510202385e-10,2.2614519978869652e-10,2.2863201609713002e-10,2.3111849933865614e-10,2.3360494094681883e-10,2.3609159072179864e-10,2.3857874009713953e-10,2.4106666662859766e-10,2.4355562011635357e-10,2.460458781161634e-10,2.485376904282077e-10,2.5103127909709144e-10,2.5352694943414633e-10,2.560248957284017e-10,2.585253955356137e-10,2.610286709003873e-10,2.6353494386732734e-10,2.6604446423661443e-10,2.6855745405285347e-10,2.71074163116225e-10,2.7359478571575835e-10,2.7611959940720965e-10,2.786487707240326e-10,2.8118254946640775e-10,2.8372118543451563e-10,2.8626484516180994e-10,2.8881380620404684e-10,2.9136826285025563e-10,2.9392840938946563e-10,2.96494523377433e-10,2.990667713476114e-10,3.016454031001814e-10,3.042306406797479e-10,3.068226783753403e-10,3.09421765987139e-10,3.12028125559749e-10,3.1464195138219964e-10,3.17263521010247e-10,3.1989300097734485e-10,3.225306410836737e-10,3.2517669112941405e-10,3.2783134540359526e-10,3.3049485370639786e-10,3.3316743808242677e-10,3.3584937608743815e-10,3.385408342548857e-10,3.4124211789610115e-10,3.4395342130011386e-10,3.4667499426710435e-10,3.494071143528288e-10,3.521500313574677e-10,3.54903967325626e-10,3.576691720574843e-10,3.6044595086437425e-10,3.632345535464765e-10,3.660352021483959e-10,3.688482297370399e-10,3.716738583570134e-10,3.7451239331964814e-10,3.773641121807003e-10,3.802292924959261e-10,3.831082673322328e-10,3.8600128648980103e-10,3.8890865527996255e-10,3.9183070676962473e-10,3.9476774627011935e-10,3.977200790927782e-10,4.006880383045086e-10,4.0367195697221803e-10,4.066721681628138e-10,4.0968900494320337e-10,4.127228558914453e-10,4.15774054074447e-10,4.188429603146915e-10,4.2192993543466173e-10,4.25035395767992e-10,4.2815970213716525e-10,4.313032986313914e-10,4.3446651831757777e-10,4.376498607960855e-10,4.408536868893975e-10,4.4407846844229937e-10,4.4732464954400086e-10,4.5059267428371186e-10,4.538830145062178e-10,4.5719619756745544e-10,4.605326675566346e-10,4.638929240741163e-10,4.672775499869886e-10,4.706869893844612e-10,4.74121908400349e-10,4.775827511238617e-10,4.810701836888143e-10,4.845848167178701e-10,4.881271498113904e-10,4.916979601254923e-10,4.952977472605369e-10,4.989272883726414e-10,5.025872495956207e-10,5.062783525744408e-10,5.100013189540675e-10,5.13756870379467e-10,5.175458395179078e-10,5.21369003525507e-10,5.252272505806843e-10,5.29121357839557e-10,5.330522134805449e-10,5.3702081670437e-10,5.41028055689452e-10,5.450749851476644e-10,5.491624932574268e-10,5.532918012640664e-10,5.574638528571541e-10,5.616799247931681e-10,5.659410717839819e-10,5.702485705860738e-10,5.746036979559221e-10,5.790077306500052e-10,5.83462111958255e-10,5.879682296594524e-10,5.925275825546805e-10,5.971417249561739e-10,6.01812211176167e-10,6.065408175714992e-10,6.113292094767075e-10,6.16179329782085e-10,6.21092954844471e-10,6.260721940876124e-10,6.311191569352559e-10,6.362359528111483e-10,6.414249686947926e-10,6.466885360545405e-10,6.520292639144998e-10,6.574497612987784e-10,6.629528592760892e-10,6.685415554485985e-10,6.742187919073217e-10,6.799880103436351e-10,6.858525969377638e-10,6.918161599145378e-10,6.978825850545434e-10,7.040559801829716e-10,7.103406751696184e-10,7.167412219288849e-10,7.232625609532306e-10,7.2990985477972e-10,7.366885990123251e-10,7.436047333442275e-10,7.506645305355164e-10,7.57874762946642e-10,7.652426470272644e-10,7.727759543385559e-10,7.804830115532013e-10,7.883728114777e-10,7.964550685635174e-10,8.047402189070851e-10,8.132396422944055e-10,8.219657177122031e-10,8.309318788590758e-10,8.401527806789488e-10,8.496445214056791e-10,8.594246980742071e-10,8.695127395874636e-10,8.799300732498239e-10,8.90700457834015e-10,9.01850316648023e-10,9.134091816243028e-10,9.254100818978372e-10,9.37890431984556e-10,9.508922538259412e-10,9.64463842123564e-10,9.78660263939446e-10,9.935448019859905e-10,1.0091912860943353e-09,1.0256859805934937e-09,1.0431305819125214e-09,1.0616465484503124e-09,1.0813799855569073e-09,1.1025096391392708e-09,1.1252564435793033e-09,1.149898620766976e-09,1.176793218427008e-09,1.2064089727203964e-09,1.2393785997488749e-09,1.2765849488616254e-09,1.319313880365769e-09,1.36954347862428e-09,1.4305497897382224e-09,1.5083649884672923e-09,1.6160853766322703e-09,1.7921247819074893e-09]);AL=$toNativeArray($kindFloat32,[1,0.9381436705589294,0.900469958782196,0.8717043399810791,0.847785472869873,0.8269932866096497,0.8084216713905334,0.7915276288986206,0.7759568691253662,0.7614634037017822,0.7478685975074768,0.7350381016731262,0.7228676676750183,0.7112747430801392,0.7001926302909851,0.6895664930343628,0.6793505549430847,0.669506311416626,0.6600008606910706,0.6508058309555054,0.6418967247009277,0.633251965045929,0.62485271692276,0.6166821718215942,0.608725368976593,0.6009689569473267,0.5934008955955505,0.5860103368759155,0.5787873864173889,0.5717230439186096,0.5648092031478882,0.5580382943153381,0.5514034032821655,0.5448982119560242,0.5385168790817261,0.5322538614273071,0.526104211807251,0.5200631618499756,0.5141264200210571,0.5082897543907166,0.5025495290756226,0.4969019889831543,0.4913438558578491,0.4858720004558563,0.48048335313796997,0.4751752018928528,0.4699448347091675,0.4647897481918335,0.4597076177597046,0.4546961486339569,0.4497532546520233,0.44487687945365906,0.4400651156902313,0.4353161156177521,0.4306281507015228,0.42599955201148987,0.42142874002456665,0.4169141948223114,0.4124544560909271,0.40804818272590637,0.4036940038204193,0.39939069747924805,0.3951369822025299,0.39093172550201416,0.38677382469177246,0.38266217708587646,0.378595769405365,0.37457355856895447,0.37059465050697327,0.366658091545105,0.362762987613678,0.358908474445343,0.35509374737739563,0.35131800174713135,0.3475804924964905,0.34388044476509094,0.34021714329719543,0.33658990263938904,0.3329980671405792,0.3294409513473511,0.32591795921325684,0.32242849469184875,0.3189719021320343,0.3155476748943329,0.31215524673461914,0.3087940812110901,0.30546361207962036,0.30216339230537415,0.29889291524887085,0.29565170407295227,0.2924392819404602,0.2892552316188812,0.28609907627105713,0.2829704284667969,0.27986884117126465,0.2767939269542694,0.2737452983856201,0.2707225978374481,0.26772540807724,0.26475343108177185,0.2618062496185303,0.258883535861969,0.2559850215911865,0.25311028957366943,0.25025907158851624,0.24743106961250305,0.2446259707212448,0.24184346199035645,0.23908329010009766,0.23634515702724457,0.2336287796497345,0.23093391954898834,0.22826029360294342,0.22560766339302063,0.22297576069831848,0.22036437690258026,0.21777324378490448,0.21520215272903442,0.212650865316391,0.21011915802955627,0.20760682225227356,0.20511364936828613,0.20263944566249847,0.20018397271633148,0.19774706661701202,0.1953285187482834,0.19292815029621124,0.19054576754570007,0.18818120658397675,0.18583425879478455,0.18350479006767273,0.18119260668754578,0.17889754474163055,0.17661945521831512,0.17435817420482635,0.1721135377883911,0.16988539695739746,0.16767361760139465,0.16547803580760956,0.16329853236675262,0.16113494336605072,0.1589871346950531,0.15685498714447021,0.15473836660385132,0.15263713896274567,0.1505511850118637,0.1484803706407547,0.14642459154129028,0.1443837285041809,0.14235764741897583,0.1403462439775467,0.13834942877292633,0.136367067694664,0.13439907133579254,0.1324453204870224,0.1305057406425476,0.12858019769191742,0.12666863203048706,0.12477091699838638,0.12288697808980942,0.1210167184472084,0.11916005611419678,0.11731690168380737,0.11548716574907303,0.11367076635360718,0.11186762899160385,0.11007767915725708,0.1083008274435997,0.10653700679540634,0.10478614270687103,0.1030481606721878,0.10132300108671188,0.0996105819940567,0.09791085124015808,0.09622374176979065,0.09454918652772903,0.09288713335990906,0.09123751521110535,0.08960027992725372,0.08797537535429001,0.08636274188756943,0.0847623273730278,0.08317409455776215,0.08159798383712769,0.08003395050764084,0.07848194986581802,0.07694194465875626,0.07541389018297195,0.07389774918556213,0.07239348441362381,0.070901058614254,0.06942043453454971,0.06795158982276917,0.06649449467658997,0.06504911929368973,0.06361543387174606,0.06219341605901718,0.06078304722905159,0.0593843050301075,0.05799717456102371,0.05662164092063904,0.05525768920779228,0.05390531197190285,0.05256449431180954,0.05123523622751236,0.04991753399372101,0.04861138388514519,0.047316793352365494,0.04603376239538193,0.044762298464775085,0.04350241273641586,0.04225412383675575,0.04101744294166565,0.039792392402887344,0.03857899457216263,0.03737728297710419,0.03618728369474411,0.03500903770327568,0.03384258225560188,0.0326879620552063,0.031545232981443405,0.030414443463087082,0.0292956605553627,0.028188949450850487,0.027094384655356407,0.02601204626262188,0.024942025542259216,0.023884421214461327,0.022839335724711418,0.021806888282299042,0.020787203684449196,0.019780423492193222,0.018786700442433357,0.017806200310587883,0.016839107498526573,0.015885621309280396,0.014945968054234982,0.01402039173990488,0.013109165243804455,0.012212592177093029,0.011331013403832912,0.010464809834957123,0.009614413604140282,0.008780314587056637,0.007963077165186405,0.007163353264331818,0.0063819061033427715,0.005619642324745655,0.004877655766904354,0.004157294984906912,0.003460264764726162,0.0027887988835573196,0.0021459676790982485,0.001536299823783338,0.0009672692976891994,0.0004541343660093844]);}return;}if($f===undefined){$f={$blk:$init};}$f.$s=$s;$f.$r=$r;return $f;};$pkg.$init=$init;return $pkg;})(); $packages["github.com/88250/lute/ast"]=(function(){var $pkg={},$init,B,I,J,K,L,C,D,A,E,F,G,H,M,R,S,X,AB,AC,AD,AE,AF,AG,AH,AI,AJ,AK,Q,Y,Z,O,P,T,U,V,W,AA;B=$packages["bytes"];I=$packages["github.com/88250/lute/editor"];J=$packages["github.com/88250/lute/html"];K=$packages["github.com/88250/lute/lex"];L=$packages["github.com/88250/lute/util"];C=$packages["math/rand"];D=$packages["sort"];A=$packages["strconv"];E=$packages["strings"];F=$packages["sync"];G=$packages["time"];H=$packages["unicode/utf8"];M=$pkg.WalkStatus=$newType(4,$kindInt,"ast.WalkStatus",true,"github.com/88250/lute/ast",true,null);R=$pkg.Node=$newType(0,$kindStruct,"ast.Node",true,"github.com/88250/lute/ast",true,function(ID_,Box_,Path_,Spec_,Type_,Parent_,Previous_,Next_,FirstChild_,LastChild_,Children_,Tokens_,TypeStr_,Data_,Close_,LastLineBlank_,LastLineChecked_,CodeMarkerLen_,IsFencedCodeBlock_,CodeBlockFenceChar_,CodeBlockFenceLen_,CodeBlockFenceOffset_,CodeBlockOpenFence_,CodeBlockInfo_,CodeBlockCloseFence_,HtmlBlockType_,ListData_,TaskListItemChecked_,TableAligns_,TableCellAlign_,TableCellContentWidth_,TableCellContentMaxWidth_,LinkType_,LinkRefLabel_,HeadingLevel_,HeadingSetext_,HeadingNormalizedID_,MathBlockDollarOffset_,FootnotesRefLabel_,FootnotesRefId_,FootnotesRefs_,HtmlEntityTokens_,KramdownIAL_,Properties_,TextMarkType_,TextMarkAHref_,TextMarkATitle_,TextMarkInlineMathContent_,TextMarkInlineMemoContent_,TextMarkBlockRefID_,TextMarkBlockRefSubtype_,TextMarkFileAnnotationRefID_,TextMarkTextContent_,AttributeViewID_,AttributeViewType_,CustomBlockFenceOffset_,CustomBlockInfo_){this.$val=this;if(arguments.length===0){this.ID="";this.Box="";this.Path="";this.Spec="";this.Type=0;this.Parent=AB.nil;this.Previous=AB.nil;this.Next=AB.nil;this.FirstChild=AB.nil;this.LastChild=AB.nil;this.Children=AE.nil;this.Tokens=AF.nil;this.TypeStr="";this.Data="";this.Close=false;this.LastLineBlank=false;this.LastLineChecked=false;this.CodeMarkerLen=0;this.IsFencedCodeBlock=false;this.CodeBlockFenceChar=0;this.CodeBlockFenceLen=0;this.CodeBlockFenceOffset=0;this.CodeBlockOpenFence=AF.nil;this.CodeBlockInfo=AF.nil;this.CodeBlockCloseFence=AF.nil;this.HtmlBlockType=0;this.ListData=AG.nil;this.TaskListItemChecked=false;this.TableAligns=AH.nil;this.TableCellAlign=0;this.TableCellContentWidth=0;this.TableCellContentMaxWidth=0;this.LinkType=0;this.LinkRefLabel=AF.nil;this.HeadingLevel=0;this.HeadingSetext=false;this.HeadingNormalizedID="";this.MathBlockDollarOffset=0;this.FootnotesRefLabel=AF.nil;this.FootnotesRefId="";this.FootnotesRefs=AE.nil;this.HtmlEntityTokens=AF.nil;this.KramdownIAL=AI.nil;this.Properties=false;this.TextMarkType="";this.TextMarkAHref="";this.TextMarkATitle="";this.TextMarkInlineMathContent="";this.TextMarkInlineMemoContent="";this.TextMarkBlockRefID="";this.TextMarkBlockRefSubtype="";this.TextMarkFileAnnotationRefID="";this.TextMarkTextContent="";this.AttributeViewID="";this.AttributeViewType="";this.CustomBlockFenceOffset=0;this.CustomBlockInfo="";return;}this.ID=ID_;this.Box=Box_;this.Path=Path_;this.Spec=Spec_;this.Type=Type_;this.Parent=Parent_;this.Previous=Previous_;this.Next=Next_;this.FirstChild=FirstChild_;this.LastChild=LastChild_;this.Children=Children_;this.Tokens=Tokens_;this.TypeStr=TypeStr_;this.Data=Data_;this.Close=Close_;this.LastLineBlank=LastLineBlank_;this.LastLineChecked=LastLineChecked_;this.CodeMarkerLen=CodeMarkerLen_;this.IsFencedCodeBlock=IsFencedCodeBlock_;this.CodeBlockFenceChar=CodeBlockFenceChar_;this.CodeBlockFenceLen=CodeBlockFenceLen_;this.CodeBlockFenceOffset=CodeBlockFenceOffset_;this.CodeBlockOpenFence=CodeBlockOpenFence_;this.CodeBlockInfo=CodeBlockInfo_;this.CodeBlockCloseFence=CodeBlockCloseFence_;this.HtmlBlockType=HtmlBlockType_;this.ListData=ListData_;this.TaskListItemChecked=TaskListItemChecked_;this.TableAligns=TableAligns_;this.TableCellAlign=TableCellAlign_;this.TableCellContentWidth=TableCellContentWidth_;this.TableCellContentMaxWidth=TableCellContentMaxWidth_;this.LinkType=LinkType_;this.LinkRefLabel=LinkRefLabel_;this.HeadingLevel=HeadingLevel_;this.HeadingSetext=HeadingSetext_;this.HeadingNormalizedID=HeadingNormalizedID_;this.MathBlockDollarOffset=MathBlockDollarOffset_;this.FootnotesRefLabel=FootnotesRefLabel_;this.FootnotesRefId=FootnotesRefId_;this.FootnotesRefs=FootnotesRefs_;this.HtmlEntityTokens=HtmlEntityTokens_;this.KramdownIAL=KramdownIAL_;this.Properties=Properties_;this.TextMarkType=TextMarkType_;this.TextMarkAHref=TextMarkAHref_;this.TextMarkATitle=TextMarkATitle_;this.TextMarkInlineMathContent=TextMarkInlineMathContent_;this.TextMarkInlineMemoContent=TextMarkInlineMemoContent_;this.TextMarkBlockRefID=TextMarkBlockRefID_;this.TextMarkBlockRefSubtype=TextMarkBlockRefSubtype_;this.TextMarkFileAnnotationRefID=TextMarkFileAnnotationRefID_;this.TextMarkTextContent=TextMarkTextContent_;this.AttributeViewID=AttributeViewID_;this.AttributeViewType=AttributeViewType_;this.CustomBlockFenceOffset=CustomBlockFenceOffset_;this.CustomBlockInfo=CustomBlockInfo_;});S=$pkg.ListData=$newType(0,$kindStruct,"ast.ListData",true,"github.com/88250/lute/ast",true,function(Typ_,Tight_,BulletChar_,Start_,Delimiter_,Padding_,MarkerOffset_,Checked_,Marker_,Num_){this.$val=this;if(arguments.length===0){this.Typ=0;this.Tight=false;this.BulletChar=0;this.Start=0;this.Delimiter=0;this.Padding=0;this.MarkerOffset=0;this.Checked=false;this.Marker=AF.nil;this.Num=0;return;}this.Typ=Typ_;this.Tight=Tight_;this.BulletChar=BulletChar_;this.Start=Start_;this.Delimiter=Delimiter_;this.Padding=Padding_;this.MarkerOffset=MarkerOffset_;this.Checked=Checked_;this.Marker=Marker_;this.Num=Num_;});X=$pkg.NodeType=$newType(4,$kindInt,"ast.NodeType",true,"github.com/88250/lute/ast",true,null);AB=$ptrType(R);AC=$sliceType($Int32);AD=$sliceType($String);AE=$sliceType(AB);AF=$sliceType($Uint8);AG=$ptrType(S);AH=$sliceType($Int);AI=$sliceType(AD);AJ=$sliceType(X);AK=$mapType($String,$String);O=function(b,c){var{b,c,d,$s,$r,$c}=$restore(this,{b,c});$s=$s||0;s:while(true){switch($s){case 0:d=P(b,c);$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}d;$s=-1;return;}return;}var $f={$blk:O,$c:true,$r,b,c,d,$s};return $f;};$pkg.Walk=O;P=function(b,c){var{b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{b,c});$s=$s||0;s:while(true){switch($s){case 0:d=0;e=c(b,true);$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}d=e;if(d===0){$s=-1;return d;}if(!((d===1))){$s=2;continue;}$s=3;continue;case 2:f=b.FirstChild;case 4:if(!(!(AB.nil===f))){$s=5;continue;}g=P(f,c);$s=6;case 6:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}d=g;if(0===d){d=0;$s=-1;return d;}f=f.Next;$s=4;continue;case 5:case 3:h=c(b,false);$s=7;case 7:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}d=h;$s=-1;return d;}return;}var $f={$blk:P,$c:true,$r,b,c,d,e,f,g,h,$s};return $f;};X.prototype.String=function(){var b,c,d,e,f;b=this.$val;c=(d=$mapIndex(Q,X.keyFor(b)),d!==undefined?[d.v,true]:["",false]);e=c[0];f=c[1];if(f){return e;}return"NodeType("+A.FormatInt((new $Int64(0,b)),10)+")";};$ptrType(X).prototype.String=function(){return new X(this.$get()).String();};T=function(){var{b,c,d,e,f,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:if($pkg.Testing){$s=-1;return"20060102150405-1a2b3c4";}b=G.Now();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=$clone(b,G.Time);d=$clone(c,G.Time).Format("20060102150405");$s=2;case 2:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}e=W(7);$s=3;case 3:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=d+"-"+e;$s=4;case 4:return f;}return;}var $f={$blk:T,$c:true,$r,b,c,d,e,f,$s};return $f;};$pkg.NewNodeID=T;U=function(b){var b,c,d,e,f,g,h,i,j,k,l,m;if(!((22===b.length))){return false;}if(!((1===E.Count(b,"-")))){return false;}c=E.Split(b,"-");d=(0>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+0]);if(!((14===d.length))){return false;}e=d;f=0;while(true){if(!(f=h)){return false;}f+=g[1];}i=(1>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+1]);if(!((7===i.length))){return false;}j=i;k=0;while(true){if(!(k=m)&&!(48<=m&&57>=m)){return false;}k+=l[1];}return true;};$pkg.IsNodeIDPattern=U;V=function(){var{b,c,d,e,f,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:b=G.Now();$s=1;case 1:if($c){$c=false;b=b.$blk();}if(b&&b.$blk!==undefined){break s;}c=$clone(b,G.Time).UTC();$s=2;case 2:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=$clone(c,G.Time).UnixNano();$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}$r=C.Seed(d);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e=0;while(true){if(!(e<1024)){break;}f=new X(e).String();(Y||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(f),{k:f,v:e});e=e+(1)>>0;}$s=-1;return;}return;}var $f={$blk:V,$c:true,$r,b,c,d,e,f,$s};return $f;};W=function(b){var{b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{b});$s=$s||0;s:while(true){switch($s){case 0:c=(new AC($stringToRunes("abcdefghijklmnopqrstuvwxyz0123456789")));d=$makeSlice(AC,b);e=d;f=0;case 1:if(!(f=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+g]=(h=i,((h<0||h>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+h])));f++;$s=1;continue;case 2:$s=-1;return($runesToString(d));}return;}var $f={$blk:W,$c:true,$r,b,c,d,e,f,g,h,i,$s};return $f;};R.ptr.prototype.Marker=function(b){var b,c,d,e;c="";d=this;e=d.Type;if((e===(461))||(e===(462))){if(b){c="#";return c;}}else if((e===(18))||(e===(19))){if(b){c="*";return c;}}else if((e===(20))||(e===(21))){if(b){c="_";return c;}}else if((e===(23))||(e===(24))){if(b){c="**";return c;}}else if((e===(25))||(e===(26))){if(b){c="__";return c;}}else if((e===(104))||(e===(105))){if(b){c="~~";return c;}}else if((e===(486))||(e===(487))){if(b){c="^";return c;}}else if((e===(491))||(e===(492))){if(b){c="~";return c;}}else if(e===(516)){if(b){c="";return c;}}else if(e===(517)){if(b){c="";return c;}}else if(e===(521)){if(b){c="";return c;}}else if(e===(522)){if(b){c="";return c;}}else if((e===(453))||(e===(454))){if(b){c="==";return c;}}else if(e===(35)){if(b){c="!";return c;}}else if(e===(36)){if(b){c="[";return c;}}else if(e===(37)){if(b){c="]";return c;}}else if(e===(38)){if(b){c="(";return c;}}else if(e===(39)){if(b){c=")";return c;}}c="";return c;};R.prototype.Marker=function(b){return this.$val.Marker(b);};R.ptr.prototype.ContainTextMarkTypes=function(b){var b,c,d,e,f,g,h,i,j;c=this;d=E.Split(c.TextMarkType," ");e=b;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);h=d;i=0;while(true){if(!(i=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+i]);if(g===j){return true;}i++;}f++;}return false;};R.prototype.ContainTextMarkTypes=function(b){return this.$val.ContainTextMarkTypes(b);};R.ptr.prototype.IsTextMarkType=function(b){var b,c,d,e,f,g;c=this;d=E.Split(c.TextMarkType," ");e=d;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if(b===g){return true;}f++;}return false;};R.prototype.IsTextMarkType=function(b){return this.$val.IsTextMarkType(b);};R.ptr.prototype.IsNextSameInlineMemo=function(){var b,c,d;b=this;if(AB.nil===b){return false;}c=AB.nil;d=b.Next;while(true){if(!(!(AB.nil===d))){break;}if(AB.nil===b.Next||(456===d.Type)||AB.nil===d.Next||(456===d.Next.Type)){d=d.Next;continue;}if((530===d.Type)&&d.IsTextMarkType("inline-memo")){c=d;break;}d=d.Next;}if(!(AB.nil===c)&&b.TextMarkInlineMemoContent===c.TextMarkInlineMemoContent){return true;}return false;};R.prototype.IsNextSameInlineMemo=function(){return this.$val.IsNextSameInlineMemo();};R.ptr.prototype.IsSameTextMarkType=function(b){var{b,c,d,e,f,g,h,i,$s,$r,$c}=$restore(this,{b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(""===c.TextMarkType||""===b.TextMarkType){$s=-1;return false;}d=E.Split(c.TextMarkType," ");e=E.Split(b.TextMarkType," ");if(!((d.$length===e.$length))){$s=-1;return false;}$r=D.Strings(d);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=D.Strings(e);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}f=d;g=0;while(true){if(!(g=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+h])===((h<0||h>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+h]))){$s=-1;return false;}i=((h<0||h>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+h]);if(i===("block-ref")){if(!(c.TextMarkBlockRefID===b.TextMarkBlockRefID)){$s=-1;return false;}}else if(i===("a")){if(!(c.TextMarkAHref===b.TextMarkAHref)||!(b.TextMarkATitle===b.TextMarkATitle)){$s=-1;return false;}}g++;}$s=-1;return true;}return;}var $f={$blk:R.ptr.prototype.IsSameTextMarkType,$c:true,$r,b,c,d,e,f,g,h,i,$s};return $f;};R.prototype.IsSameTextMarkType=function(b){return this.$val.IsSameTextMarkType(b);};R.ptr.prototype.SortTextMarkDataTypes=function(){var{b,c,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(""===b.TextMarkTextContent){$s=-1;return;}c=E.Split(b.TextMarkType," ");$r=D.Strings(c);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b.TextMarkType=E.Join(c," ");$s=-1;return;}return;}var $f={$blk:R.ptr.prototype.SortTextMarkDataTypes,$c:true,$r,b,c,$s};return $f;};R.prototype.SortTextMarkDataTypes=function(){return this.$val.SortTextMarkDataTypes();};R.ptr.prototype.ClearIALAttrs=function(){var b,c,d,e,f;b=this;c=$subslice(b.KramdownIAL,0,0);d=b.KramdownIAL;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if(!("name"===(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0]))&&!("alias"===(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0]))&&!("memo"===(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0]))&&!("bookmark"===(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0]))&&!E.HasPrefix((0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0]),"custom-")){c=$append(c,f);}e++;}b.KramdownIAL=c;};R.prototype.ClearIALAttrs=function(){return this.$val.ClearIALAttrs();};R.ptr.prototype.RemoveIALAttr=function(b){var b,c,d,e,f,g;c=this;d=$subslice(c.KramdownIAL,0,0);e=c.KramdownIAL;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if(!(b===(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0]))){d=$append(d,g);}f++;}c.KramdownIAL=d;};R.prototype.RemoveIALAttr=function(b){return this.$val.RemoveIALAttr(b);};R.ptr.prototype.SetIALAttr=function(b,c){var b,c,d,e,f,g;d=this;c=J.EscapeAttrVal(c);e=d.KramdownIAL;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);if(b===(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0])){(1>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+1]=c);return;}f++;}d.KramdownIAL=$append(d.KramdownIAL,new AD([b,c]));};R.prototype.SetIALAttr=function(b,c){return this.$val.SetIALAttr(b,c);};R.ptr.prototype.IALAttr=function(b){var b,c,d,e,f;c=this;d=c.KramdownIAL;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);if(b===(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0])){return J.UnescapeAttrVal((1>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+1]));}e++;}return"";};R.prototype.IALAttr=function(b){return this.$val.IALAttr(b);};R.ptr.prototype.IsEmptyBlockIAL=function(){var b;b=this;if(!((455===b.Type))){return false;}if(L.IsDocIAL(b.Tokens)){return false;}if(!(AB.nil===b.Previous)){if(455===b.Previous.Type){return true;}return false;}return true;};R.prototype.IsEmptyBlockIAL=function(){return this.$val.IsEmptyBlockIAL();};R.ptr.prototype.TokensStr=function(){var b;b=this;return L.BytesToStr(b.Tokens);};R.prototype.TokensStr=function(){return this.$val.TokensStr();};R.ptr.prototype.LastDeepestChild=function(){var b,c;b=AB.nil;c=this;if(AB.nil===c.LastChild){b=c;return b;}b=c.LastChild.LastDeepestChild();return b;};R.prototype.LastDeepestChild=function(){return this.$val.LastDeepestChild();};R.ptr.prototype.FirstDeepestChild=function(){var b,c;b=AB.nil;c=this;if(AB.nil===c.FirstChild){b=c;return b;}b=c.FirstChild.FirstDeepestChild();return b;};R.prototype.FirstDeepestChild=function(){return this.$val.FirstDeepestChild();};R.ptr.prototype.ChildByType=function(b){var b,c,d;c=this;d=c.FirstChild;while(true){if(!(!(AB.nil===d))){break;}if(d.Type===b){return d;}d=d.Next;}return AB.nil;};R.prototype.ChildByType=function(b){return this.$val.ChildByType(b);};R.ptr.prototype.ChildrenByType=function(b){var{b,c,d,$s,$r,$c}=$restore(this,{b});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c=[c];c[0]=AE.nil;d=this;c[0]=new AE([]);$r=O(d,(function(b,c){return function(e,f){var e,f;if(((b[0]===e.Type))&&f){c[0]=$append(c[0],e);}return 2;};})(b,c));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return c[0];}return;}var $f={$blk:R.ptr.prototype.ChildrenByType,$c:true,$r,b,c,d,$s};return $f;};R.prototype.ChildrenByType=function(b){return this.$val.ChildrenByType(b);};R.ptr.prototype.Text=function(){var{b,c,d,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c="";d=this;b[0]=new B.Buffer.ptr(AF.nil,0,0);$r=O(d,(function(b){return function $b(e,f){var{e,f,g,h,i,$s,$r,$c}=$restore(this,{e,f});$s=$s||0;s:while(true){switch($s){case 0:if(!f){$s=-1;return 2;}g=e.Type;if((g===(16))||(g===(40))||(g===(433))||(g===(434))||(g===(543))||(g===(412))){$s=2;continue;}if(g===(530)){$s=3;continue;}$s=4;continue;case 2:h=b[0].Write(e.Tokens);$s=5;case 5:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;$s=4;continue;case 3:i=b[0].WriteString(e.TextMarkTextContent);$s=6;case 6:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;case 4:case 1:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,e,f,g,h,i,$s};return $f;};})(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;}var $f={$blk:R.ptr.prototype.Text,$c:true,$r,b,c,d,$s};return $f;};R.prototype.Text=function(){return this.$val.Text();};R.ptr.prototype.TextLen=function(){var{b,c,d,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c=0;d=this;b[0]=$makeSlice(AF,0,4096);$r=O(d,(function(b){return function(e,f){var e,f,g;if(!f){return 2;}g=e.Type;if((g===(16))||(g===(40))||(g===(433))||(g===(434))||(g===(543))||(g===(412))){b[0]=$appendSlice(b[0],e.Tokens);}else if(g===(530)){b[0]=$appendSlice(b[0],e.TextMarkTextContent);}return 2;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=H.RuneCount(b[0]);$s=-1;return c;}return;}var $f={$blk:R.ptr.prototype.TextLen,$c:true,$r,b,c,d,$s};return $f;};R.prototype.TextLen=function(){return this.$val.TextLen();};R.ptr.prototype.Content=function(){var{b,c,d,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c="";d=this;b[0]=new B.Buffer.ptr(AF.nil,0,0);$r=O(d,(function(b){return function $b(e,f){var{e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r,$c}=$restore(this,{e,f});$s=$s||0;s:while(true){switch($s){case 0:if(!f){$s=1;continue;}$s=2;continue;case 1:if(!(AB.nil===e.Next)&&!(AB.nil===e.Next.Next)&&1>0,((h<0||h>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]))===10))){$s=3;continue;}$s=4;continue;case 3:i=b[0].WriteByte(10);$s=5;case 5:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;case 4:$s=-1;return 2;case 2:j=e.Type;if((j===(16))||(j===(40))||(j===(433))||(j===(434))||(j===(543))||(j===(412))||(j===(29))||(j===(15))||(j===(306))||(j===(302))||(j===(44))||(j===(203))||(j===(201))||(j===(401))||(j===(427))||(j===(497))){$s=7;continue;}if(j===(530)){$s=8;continue;}$s=9;continue;case 7:k=b[0].Write(e.Tokens);$s=10;case 10:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;$s=9;continue;case 8:if(!(""===e.TextMarkTextContent)){$s=11;continue;}if(!(""===e.TextMarkInlineMathContent)){$s=12;continue;}$s=13;continue;case 11:if(e.IsTextMarkType("code")){$s=14;continue;}$s=15;continue;case 14:l=b[0].WriteString(J.UnescapeString(e.TextMarkTextContent));$s=17;case 17:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;$s=16;continue;case 15:m=b[0].WriteString(e.TextMarkTextContent);$s=18;case 18:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;case 16:$s=13;continue;case 12:n=e.TextMarkInlineMathContent;n=E.ReplaceAll(n,"_esc_newline_"," ");o=b[0].WriteString(n);$s=19;case 19:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}o;case 13:if(!(""===e.TextMarkInlineMemoContent)){$s=20;continue;}$s=21;continue;case 20:p=e.TextMarkInlineMemoContent;p=E.ReplaceAll(p,"_esc_newline_"," ");q=b[0].WriteString(p);$s=22;case 22:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}q;case 21:case 9:case 6:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,e,f,g,h,i,j,k,l,m,n,o,p,q,$s};return $f;};})(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;}var $f={$blk:R.ptr.prototype.Content,$c:true,$r,b,c,d,$s};return $f;};R.prototype.Content=function(){return this.$val.Content();};R.ptr.prototype.EscapeMarkerContent=function(){var{b,c,d,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:b="";c=this;d=c.Content();$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}b=d;b=($bytesToString(K.EscapeProtyleMarkers((new AF($stringToBytes(b))))));$s=-1;return b;}return;}var $f={$blk:R.ptr.prototype.EscapeMarkerContent,$c:true,$r,b,c,d,$s};return $f;};R.prototype.EscapeMarkerContent=function(){return this.$val.EscapeMarkerContent();};R.ptr.prototype.Stat=function(){var{b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c=[c];d=[d];e=[e];f=0;g=0;d[0]=0;c[0]=0;e[0]=0;h=this;b[0]=$makeSlice(AF,0,8192);$r=O(h,(function(b,c,d,e){return function(i,j){var i,j,k,l,m;if(!j){return 2;}k=i.Type;if((k===(16))||(k===(40))||(k===(433))||(k===(434))||(k===(543))||(k===(412))||(k===(29))||(k===(15))||(k===(306))||(k===(302))||(k===(44))||(k===(203))||(k===(201))||(k===(401))||(k===(427))||(k===(497))){b[0]=$appendSlice(b[0],i.Tokens);}else if(k===(530)){if(0>0;}if(i.IsTextMarkType("block-ref")||i.IsTextMarkType("file-annotation-ref")){e[0]=e[0]+(1)>>0;}}else if(k===(33)){d[0]=d[0]+(1)>>0;}else if(k===(34)){c[0]=c[0]+(1)>>0;}else if(k===(430)){e[0]=e[0]+(1)>>0;}if(i.IsBlock()){b[0]=$append(b[0],32);}return 2;};})(b,c,d,e));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}i=B.TrimSpace(b[0]);$s=2;case 2:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}b[0]=i;k=L.WordCount(L.BytesToStr(b[0]));$s=3;case 3:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}j=k;f=j[0];g=j[1];$s=-1;return[f,g,d[0],c[0],e[0]];}return;}var $f={$blk:R.ptr.prototype.Stat,$c:true,$r,b,c,d,e,f,g,h,i,j,k,$s};return $f;};R.prototype.Stat=function(){return this.$val.Stat();};R.ptr.prototype.TokenLen=function(){var{b,c,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:b=[b];b[0]=0;c=this;$r=O(c,(function(b){return function(d,e){var d,e;if(!e){return 2;}b[0]=b[0]+(K.BytesShowLength(d.Tokens))>>0;return 2;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b[0];}return;}var $f={$blk:R.ptr.prototype.TokenLen,$c:true,$r,b,c,$s};return $f;};R.prototype.TokenLen=function(){return this.$val.TokenLen();};R.ptr.prototype.DocChild=function(){var b,c,d;b=AB.nil;c=this;b=c;d=c;while(true){if(!(!(AB.nil===d))){break;}if(0===d.Type){return b;}b=d;d=d.Parent;}return b;};R.prototype.DocChild=function(){return this.$val.DocChild();};R.ptr.prototype.IsChildBlockOf=function(b,c){var b,c,d,e,f,g;d=this;if(""===d.ID||!d.IsBlock()){return false;}if(c===0){e=d.Parent;while(true){if(!(!(AB.nil===e))){break;}if(e===b){return true;}e=e.Parent;}return false;}f=d.Parent;g=1;while(true){if(!(g>0;}if(!(b===f)){return false;}return true;};R.prototype.IsChildBlockOf=function(b,c){return this.$val.IsChildBlockOf(b,c);};R.ptr.prototype.NextNodeText=function(){var{b,c,d,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(AB.nil===b.Next){$s=-1;return"";}c=b.Next.Text();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$s=2;case 2:return d;}return;}var $f={$blk:R.ptr.prototype.NextNodeText,$c:true,$r,b,c,d,$s};return $f;};R.prototype.NextNodeText=function(){return this.$val.NextNodeText();};R.ptr.prototype.PreviousNodeText=function(){var{b,c,d,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(AB.nil===b.Previous){$s=-1;return"";}c=b.Previous.Text();$s=1;case 1:if($c){$c=false;c=c.$blk();}if(c&&c.$blk!==undefined){break s;}d=c;$s=2;case 2:return d;}return;}var $f={$blk:R.ptr.prototype.PreviousNodeText,$c:true,$r,b,c,d,$s};return $f;};R.prototype.PreviousNodeText=function(){return this.$val.PreviousNodeText();};R.ptr.prototype.Unlink=function(){var b;b=this;if(!(AB.nil===b.Previous)){b.Previous.Next=b.Next;}else if(!(AB.nil===b.Parent)){b.Parent.FirstChild=b.Next;}if(!(AB.nil===b.Next)){b.Next.Previous=b.Previous;}else if(!(AB.nil===b.Parent)){b.Parent.LastChild=b.Previous;}b.Parent=AB.nil;b.Next=AB.nil;b.Previous=AB.nil;};R.prototype.Unlink=function(){return this.$val.Unlink();};R.ptr.prototype.AppendTokens=function(b){var b,c;c=this;c.Tokens=$appendSlice(c.Tokens,($bytesToString(b)));};R.prototype.AppendTokens=function(b){return this.$val.AppendTokens(b);};R.ptr.prototype.PrependTokens=function(b){var b,c;c=this;c.Tokens=$appendSlice(b,c.Tokens);};R.prototype.PrependTokens=function(b){return this.$val.PrependTokens(b);};R.ptr.prototype.InsertAfter=function(b){var b,c;c=this;b.Unlink();b.Next=c.Next;if(!(AB.nil===b.Next)){b.Next.Previous=b;}b.Previous=c;c.Next=b;b.Parent=c.Parent;if(!(AB.nil===b.Parent)&&AB.nil===b.Next&&!(AB.nil===b.Parent.LastChild)){b.Parent.LastChild=b;}};R.prototype.InsertAfter=function(b){return this.$val.InsertAfter(b);};R.ptr.prototype.InsertBefore=function(b){var b,c;c=this;b.Unlink();b.Previous=c.Previous;if(!(AB.nil===b.Previous)){b.Previous.Next=b;}b.Next=c;c.Previous=b;b.Parent=c.Parent;if(!(AB.nil===b.Parent)&&AB.nil===b.Previous){b.Parent.FirstChild=b;}};R.prototype.InsertBefore=function(b){return this.$val.InsertBefore(b);};R.ptr.prototype.AppendChild=function(b){var b,c;c=this;b.Unlink();b.Parent=c;if(!(AB.nil===c.LastChild)){c.LastChild.Next=b;b.Previous=c.LastChild;c.LastChild=b;}else{c.FirstChild=b;c.LastChild=b;}};R.prototype.AppendChild=function(b){return this.$val.AppendChild(b);};R.ptr.prototype.PrependChild=function(b){var b,c;c=this;b.Unlink();b.Parent=c;if(!(AB.nil===c.FirstChild)){c.FirstChild.Previous=b;b.Next=c.FirstChild;c.FirstChild=b;}else{c.FirstChild=b;c.LastChild=b;}};R.prototype.PrependChild=function(b){return this.$val.PrependChild(b);};R.ptr.prototype.List=function(){var{b,c,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:b=[b];b[0]=AE.nil;c=this;b[0]=$makeSlice(AE,0,512);$r=O(c,(function(b){return function(d,e){var d,e;if(e){b[0]=$append(b[0],d);}return 2;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return b[0];}return;}var $f={$blk:R.ptr.prototype.List,$c:true,$r,b,c,$s};return $f;};R.prototype.List=function(){return this.$val.List();};R.ptr.prototype.ParentIs=function(b,c){var b,c,d,e,f,g,h,i,j;d=this;e=$append(c,b);f=0;g=d.Parent;while(true){if(!(!(AB.nil===g))){break;}h=e;i=0;while(true){if(!(i=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+i]);if(j===g.Type){return true;}i++;}f=f+(1)>>0;if(128>0));}b.Tokens=d;b.AppendChild(new B.Node.ptr("","","","",426,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));b.AppendChild(new B.Node.ptr("","","","",427,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,d,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));b.AppendChild(new B.Node.ptr("","","","",428,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));};AA.prototype.yamlFrontMatterFinalize=function(b){return this.$val.yamlFrontMatterFinalize(b);};AC.ptr.prototype.parseYamlFrontMatter=function(){var b,c,d,e,f;b=this;if(!((45===(c=b.Context.currentLine,(0>=c.$length?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+0]))))){return false;}d=0;e=0;while(true){if(!(e=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+e]))))){break;}d=d+(1)>>0;e=e+(1)>>0;}return 3===d;};AC.prototype.parseYamlFrontMatter=function(){return this.$val.parseYamlFrontMatter();};O=function(b){var b,c,d,e,f,g,h;if(b.ParseOption.KramdownBlockIAL&&BG(b.currentLine)){c=b.parseKramdownBlockIAL(b.currentLine);if(0=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]))))){return false;}f=0;g=0;while(true){if(!(g=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+g]))))){break;}f=f+(1)>>0;g=g+(1)>>0;}return 3===f;};P=function(b,c){var{b,c,d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{b,c});$s=$s||0;s:while(true){switch($s){case 0:c=[c];d=[d];e=[e];f=[f];f[0]=CZ.nil;$r=B.Walk(b.Root,(function(c,d,e,f){return function $b(g,h){var{g,h,i,j,k,l,m,n,o,p,q,r,$s,$r,$c}=$restore(this,{g,h});$s=$s||0;s:while(true){switch($s){case 0:i=[i];if(!h){$s=-1;return 2;}if(33===g.Type){$s=1;continue;}$s=2;continue;case 1:i[0]=CZ.nil;$r=B.Walk(g,(function(c,d,e,f,i){return function(j,k){var j,k,l,m;if(!k){return 2;}if(400===j.Type){l=j.ChildByType(401);if(!(CY.nil===l)){m=new B.Node.ptr("","","","",40,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,l.Tokens,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");j.InsertBefore(m);}i[0]=$append(i[0],j);}return 2;};})(c,d,e,f,i));$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=i[0];k=0;while(true){if(!(k=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]);l.Unlink();k++;}m=g.ChildByType(34);if(CY.nil===m){$s=-1;return 2;}g.InsertBefore(m);n=g.ChildByType(40);if(CY.nil===n){o=true;$s=6;continue s;}p=A.TrimSpace(n.Tokens);$s=7;case 7:if($c){$c=false;p=p.$blk();}if(p&&p.$blk!==undefined){break s;}o=1>p.$length;case 6:if(o){$s=4;continue;}$s=5;continue;case 4:q=g.ChildByType(36);if(!(CY.nil===q)){r=g.ChildByType(41);if(!(CY.nil===r)){q.InsertAfter(new B.Node.ptr("","","","",40,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,r.Tokens,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));}}case 5:case 2:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,g,h,i,j,k,l,m,n,o,p,q,r,$s};return $f;};})(c,d,e,f));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=f[0];h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);i.Unlink();h++;}f[0]=CZ.nil;e[0]=DC.nil;d[0]=CY.nil;$r=B.Walk(b.Root,(function(c,d,e,f){return function(j,k){var j,k,l,m,n,o,p,q,r,s,t,u,v,w,x;l=j.Type;if(l===(27)){R(j,"code",(e.$ptr||(e.$ptr=new DE(function(){return this.$target[0];},function($v){this.$target[0]=$v;},e))),(f.$ptr||(f.$ptr=new DF(function(){return this.$target[0];},function($v){this.$target[0]=$v;},f))),k);}else if(l===(460)){R(j,"tag",(e.$ptr||(e.$ptr=new DE(function(){return this.$target[0];},function($v){this.$target[0]=$v;},e))),(f.$ptr||(f.$ptr=new DF(function(){return this.$target[0];},function($v){this.$target[0]=$v;},f))),k);}else if(l===(304)){R(j,"inline-math",(e.$ptr||(e.$ptr=new DE(function(){return this.$target[0];},function($v){this.$target[0]=$v;},e))),(f.$ptr||(f.$ptr=new DF(function(){return this.$target[0];},function($v){this.$target[0]=$v;},f))),k);}else if(l===(17)){R(j,"em",(e.$ptr||(e.$ptr=new DE(function(){return this.$target[0];},function($v){this.$target[0]=$v;},e))),(f.$ptr||(f.$ptr=new DF(function(){return this.$target[0];},function($v){this.$target[0]=$v;},f))),k);}else if(l===(22)){R(j,"strong",(e.$ptr||(e.$ptr=new DE(function(){return this.$target[0];},function($v){this.$target[0]=$v;},e))),(f.$ptr||(f.$ptr=new DF(function(){return this.$target[0];},function($v){this.$target[0]=$v;},f))),k);}else if(l===(101)){R(j,"s",(e.$ptr||(e.$ptr=new DE(function(){return this.$target[0];},function($v){this.$target[0]=$v;},e))),(f.$ptr||(f.$ptr=new DF(function(){return this.$target[0];},function($v){this.$target[0]=$v;},f))),k);}else if(l===(450)){R(j,"mark",(e.$ptr||(e.$ptr=new DE(function(){return this.$target[0];},function($v){this.$target[0]=$v;},e))),(f.$ptr||(f.$ptr=new DF(function(){return this.$target[0];},function($v){this.$target[0]=$v;},f))),k);}else if(l===(520)){R(j,"u",(e.$ptr||(e.$ptr=new DE(function(){return this.$target[0];},function($v){this.$target[0]=$v;},e))),(f.$ptr||(f.$ptr=new DF(function(){return this.$target[0];},function($v){this.$target[0]=$v;},f))),k);}else if(l===(490)){R(j,"sub",(e.$ptr||(e.$ptr=new DE(function(){return this.$target[0];},function($v){this.$target[0]=$v;},e))),(f.$ptr||(f.$ptr=new DF(function(){return this.$target[0];},function($v){this.$target[0]=$v;},f))),k);}else if(l===(485)){R(j,"sup",(e.$ptr||(e.$ptr=new DE(function(){return this.$target[0];},function($v){this.$target[0]=$v;},e))),(f.$ptr||(f.$ptr=new DF(function(){return this.$target[0];},function($v){this.$target[0]=$v;},f))),k);}else if(l===(515)){R(j,"kbd",(e.$ptr||(e.$ptr=new DE(function(){return this.$target[0];},function($v){this.$target[0]=$v;},e))),(f.$ptr||(f.$ptr=new DF(function(){return this.$target[0];},function($v){this.$target[0]=$v;},f))),k);}else if(l===(33)){R(j,"a",(e.$ptr||(e.$ptr=new DE(function(){return this.$target[0];},function($v){this.$target[0]=$v;},e))),(f.$ptr||(f.$ptr=new DF(function(){return this.$target[0];},function($v){this.$target[0]=$v;},f))),k);}else if(l===(430)){R(j,"block-ref",(e.$ptr||(e.$ptr=new DE(function(){return this.$target[0];},function($v){this.$target[0]=$v;},e))),(f.$ptr||(f.$ptr=new DF(function(){return this.$target[0];},function($v){this.$target[0]=$v;},f))),k);}else if((l===(16))||(l===(29))||(l===(306))||(l===(40))||(l===(431))||(l===(44))||(l===(400))){if(1>e[0].$length){return 2;}if(k){d[0]=new B.Node.ptr("","","","",530,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,F.Join(e[0]," "),"","","","","","","",($bytesToString(G.EscapeHTML(j.Tokens))),"","",0,"");if(306===j.Type){d[0].TextMarkTextContent="";d[0].TextMarkInlineMathContent=($bytesToString(G.EscapeHTML(j.Tokens)));if(j.ParentIs(109,DG.nil)&&!c[0]){d[0].TextMarkInlineMathContent=F.ReplaceAll(d[0].TextMarkInlineMathContent,"\\|","|");}}else if(400===j.Type){m=j.ChildByType(401);if(!(CY.nil===m)){d[0].TextMarkTextContent=($bytesToString(G.EscapeHTML(m.Tokens)));}}else if(431===j.Type){d[0].TextMarkBlockRefSubtype="s";d[0].TextMarkTextContent=j.TokensStr();n=j.Parent.ChildByType(433);if(CY.nil===n){n=j.Parent.ChildByType(434);d[0].TextMarkBlockRefSubtype="d";}if(!(CY.nil===n)){d[0].TextMarkTextContent=n.TokensStr();}d[0].TextMarkBlockRefID=j.Parent.ChildByType(431).TokensStr();}else if(j.ParentIs(33,DG.nil)&&!j.ParentIs(34,DG.nil)){o=j.Next;if(!(CY.nil===o)&&(40===o.Type)){j.Next.PrependTokens(j.Tokens);return 2;}p=CY.nil;q=j.Parent;while(true){if(!(!(CY.nil===q))){break;}if(33===q.Type){p=q;break;}q=q.Parent;}if(!(CY.nil===p)){r=p.ChildByType(41);if(!(CY.nil===r)){d[0].TextMarkAHref=($bytesToString(r.Tokens));}s=p.ChildByType(42);if(!(CY.nil===s)){d[0].TextMarkATitle=($bytesToString(s.Tokens));}}}}else{t=j.Next;if(!(CY.nil===t)&&(40===t.Type)){return 2;}d[0].KramdownIAL=j.Parent.KramdownIAL;if(j.IsMarker()){j.Parent.InsertBefore(d[0]);}else{j.InsertBefore(d[0]);if(16===j.Type){f[0]=$append(f[0],j);}}}}else if(l===(530)){if(1>e[0].$length){return 2;}if(k){u=false;v=e[0];w=0;while(true){if(!(w=v.$length)?($throwRuntimeError("index out of range"),undefined):v.$array[v.$offset+w]);if(j.IsTextMarkType(x)){u=true;break;}w++;}if(!u){e[0]=$append(e[0],j.TextMarkType);j.TextMarkType=F.Join(e[0]," ");}}else{if(CY.nil===j.Next||j.Next.IsCloseMarker()){e[0]=$subslice(e[0],0,(e[0].$length-1>>0));}}return 2;}return 2;};})(c,d,e,f));$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}j=f[0];k=0;while(true){if(!(k=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]);l.Unlink();k++;}$s=-1;return;}return;}var $f={$blk:P,$c:true,$r,b,c,d,e,f,g,h,i,j,k,l,$s};return $f;};$pkg.NestedInlines2FlattedSpansHybrid=P;R=function(b,c,d,e,f){var b,c,d,e,f,g,h;if(f){d.$set($append(d.$get(),c));}else{if(0>0)));}e.$set($append(e.$get(),b));g=b.FirstChild;while(true){if(!(!(CY.nil===g))){break;}h=g.Next;if((530===g.Type)||(16===g.Type)){b.InsertBefore(g);}g=h;}}};AA.ptr.prototype.parseToC=function(b){var{b,c,d,e,f,$s,$r,$c}=$restore(this,{b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=D.Split(b.Tokens,10);if(!((1===d.$length))){$s=-1;return CY.nil;}e=A.TrimSpace((0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]));$s=1;case 1:if($c){$c=false;e=e.$blk();}if(e&&e.$blk!==undefined){break s;}f=e;if(c.ParseOption.VditorWYSIWYG||c.ParseOption.VditorIR||c.ParseOption.VditorSV){f=A.ReplaceAll(f,C.CaretTokens,CW.nil);}if(!A.EqualFold(f,(new CW($stringToBytes("[toc]"))))){$s=-1;return CY.nil;}$s=-1;return new B.Node.ptr("","","","",415,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");}return;}var $f={$blk:AA.ptr.prototype.parseToC,$c:true,$r,b,c,d,e,f,$s};return $f;};AA.prototype.parseToC=function(b){return this.$val.parseToC(b);};S=function(b,c){var{b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{b,c});$s=$s||0;s:while(true){switch($s){case 0:if(b.Context.indented){$s=-1;return 0;}d=b.parseThematicBreak();e=d[0];f=d[1];if(e){$s=1;continue;}$s=2;continue;case 1:$r=b.Context.closeUnmatchedBlocks();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=b.Context.addChild(4);$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;h.Tokens=f;b.Context.advanceOffset(b.Context.currentLineLen-b.Context.offset>>0,false);$s=-1;return 2;case 2:$s=-1;return 0;}return;}var $f={$blk:S,$c:true,$r,b,c,d,e,f,g,h,$s};return $f;};$pkg.ThematicBreakStart=S;AC.ptr.prototype.parseThematicBreak=function(){var b,c,d,e,f,g,h,i,j,k,l,m;b=false;c=CW.nil;d=this;e=0;f=0;g=d.Context.currentLine;h=false;i=g.$length;j=d.Context.nextNonspace;while(true){if(!(j<(i-1>>0))){break;}k=((j<0||j>=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+j]);if((32===k)||(9===k)){j=j+(1)>>0;continue;}if(!((45===k))&&!((95===k))&&!((42===k))){return[b,c];}if(!((0===f))){if(!((f===k))){return[b,c];}}else{f=k;}e=e+(1)>>0;j=j+(1)>>0;}if((d.Context.ParseOption.VditorWYSIWYG||d.Context.ParseOption.VditorIR||d.Context.ParseOption.VditorSV||d.Context.ParseOption.ProtyleWYSIWYG)&&h){c=C.CaretTokens;}l=3<=e;m=c;b=l;c=m;return[b,c];};AC.prototype.parseThematicBreak=function(){return this.$val.parseThematicBreak();};AC.ptr.prototype.parseText=function(b){var b,c,d,e,f;c=this;d=b.pos;while(true){if(!(b.pos=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f])))){break;}b.pos=b.pos+(1)>>0;}return new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,$subslice(b.tokens,d,b.pos),"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");};AC.prototype.parseText=function(b){return this.$val.parseText(b);};AC.ptr.prototype.isMarker=function(b){var b,c;c=this;if(D.IsMarker(b)){return true;}if(c.Context.ParseOption.Sup&&(94===b)){return true;}return false;};AC.prototype.isMarker=function(b){return this.$val.isMarker(b);};AC.ptr.prototype.parseBackslash=function(b,c){var b,c,d,e,f,g,h,i,j,k,l,m,n,o;d=this;if(c.pos===(c.tokensLen-1>>0)){c.pos=c.pos+(1)>>0;return new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,T,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");}c.pos=c.pos+(1)>>0;g=(e=c.tokens,f=c.pos,((f<0||f>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]));if(10===g){c.pos=c.pos+(1)>>0;return new B.Node.ptr("","","","",31,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,new CW([g]),"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");}if(D.IsASCIIPunct(g)){if((60===g)&&!(CY.nil===d.Context.oldtip)&&(106===d.Context.oldtip.Type)){h=$subslice(c.tokens,c.pos);if(A.HasPrefix(h,(new CW($stringToBytes("
"))))){return new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,T,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");}}c.pos=c.pos+(1)>>0;i=new B.Node.ptr("","","","",400,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");b.AppendChild(i);i.AppendChild(new B.Node.ptr("","","","",401,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,new CW([g]),"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));return CY.nil;}if(d.Context.ParseOption.VditorWYSIWYG||d.Context.ParseOption.VditorIR||d.Context.ParseOption.ProtyleWYSIWYG){j=$subslice(c.tokens,c.pos);k=C.CaretTokens;if(k.$length>0,((m<0||m>=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+m]));if(D.IsASCIIPunct(g)){if((60===g)&&!(CY.nil===d.Context.oldtip)&&(106===d.Context.oldtip.Type)){n=$subslice(c.tokens,(c.pos+k.$length>>0));if(A.HasPrefix(n,(new CW($stringToBytes("
"))))){return new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,T,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");}}c.pos=c.pos+(k.$length)>>0;c.pos=c.pos+(1)>>0;o=new B.Node.ptr("","","","",400,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");b.AppendChild(o);o.AppendChild(new B.Node.ptr("","","","",401,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,new CW([g]),"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));if(d.Context.ParseOption.ProtyleWYSIWYG){o.InsertBefore(new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,k,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));}else{b.AppendChild(new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,k,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));}return CY.nil;}}}return new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,T,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");};AC.prototype.parseBackslash=function(b,c){return this.$val.parseBackslash(b,c);};AC.ptr.prototype.parseNewline=function(b,c){var b,c,d,e,f,g,h,i,j,k,l,m,n;d=CY.nil;e=this;f=c.pos;c.pos=c.pos+(1)>>0;g=false;h=b.LastChild;if(!(CY.nil===h)&&(16===h.Type)){i=h.Tokens;j=i.$length;if(32===(k=j-1>>0,((k<0||k>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+k]))){l=D.TrimRight(i);h.Tokens=l[1];if(1>0,((m<0||m>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+m]));}}}d=new B.Node.ptr("","","","",32,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,new CW([(n=c.tokens,((f<0||f>=n.$length)?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+f]))]),"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");if(g){d.Type=31;}return d;};AC.prototype.parseNewline=function(b,c){return this.$val.parseNewline(b,c);};AC.ptr.prototype.MergeText=function(){var b;b=this;b.mergeText(b.Root);};AC.prototype.MergeText=function(){return this.$val.MergeText();};AC.ptr.prototype.mergeText=function(b){var b,c,d,e;c=this;d=b.FirstChild;while(true){if(!(!(CY.nil===d))){break;}e=d.Next;if(16===d.Type){while(true){if(!(!(CY.nil===e)&&(16===e.Type))){break;}d.AppendTokens(e.Tokens);e.Unlink();e=d.Next;}}else if(40===d.Type){while(true){if(!(!(CY.nil===e)&&(40===e.Type))){break;}d.AppendTokens(e.Tokens);e.Unlink();e=d.Next;}}else{c.mergeText(d);}d=e;}};AC.prototype.mergeText=function(b){return this.$val.mergeText(b);};AA.ptr.prototype.parseTable=function(b){var aa,ab,ac,ad,ae,af,ag,ah,ai,aj,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=CY.nil;d=CY.nil;e=this;f=CW.nil;g=b.Tokens.$length;h=0;i=0;while(true){if(!(i=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k])));if(DB.nil===l){return[c,d];}if((2===g)&&(1===l.$length)&&(0===(0>=l.$length?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+0]))&&!A.Contains(f,(new CW($stringToBytes("|"))))){return[c,d];}m=CZ.nil;n=0;while(true){if(!(n=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+n])),l,true);if(CY.nil===o){return[c,d];}m=$append(m,o);p=o.FirstChild;while(true){if(!(!(CY.nil===p))){break;}q=A.Index(p.Tokens,(new CW($stringToBytes("{:"))));if(!((0===q))){p=p.Next;continue;}r=$subslice(p.Tokens,q);s=e.parseKramdownSpanIAL(r);t=s[0];u=s[1];if(0>0));if(A.Contains(v,(new CW($stringToBytes("span"))))||A.Contains(v,(new CW($stringToBytes("fn__none"))))||A.Contains(v,(new CW($stringToBytes("width:"))))){p.KramdownIAL=u;p.Tokens=$subslice(p.Tokens,v.$length);w=new B.Node.ptr("","","","",456,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,v,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");p.PrependChild(w);}}p=p.Next;}n=n+(1)>>0;}d=new B.Node.ptr("","","","",106,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,l,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");d.TableAligns=l;d.AppendChild(e.newTableHead(m));x=k+1>>0;while(true){if(!(x=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+x]));z=e.parseTableRow(y,l,false);if(CY.nil===z){return[c,d];}if(e.ParseOption.KramdownSpanIAL){aa=z.FirstChild;while(true){if(!(!(CY.nil===aa))){break;}ab=A.Index(aa.Tokens,(new CW($stringToBytes("{:"))));if(!((0===ab))){aa=aa.Next;continue;}ac=$subslice(aa.Tokens,ab);ad=e.parseKramdownSpanIAL(ac);ae=ad[0];af=ad[1];if(0>0));if(A.Contains(ag,(new CW($stringToBytes("span"))))||A.Contains(ag,(new CW($stringToBytes("fn__none"))))||A.Contains(ag,(new CW($stringToBytes("width:"))))){aa.KramdownIAL=af;aa.Tokens=$subslice(aa.Tokens,ag.$length);ah=new B.Node.ptr("","","","",456,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,ag,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");aa.PrependChild(ah);}}aa=aa.Next;}}d.AppendChild(z);x=x+(1)>>0;}return[c,d];}else{if((10===(ai=b.Tokens,((i<0||i>=ai.$length)?($throwRuntimeError("index out of range"),undefined):ai.$array[ai.$offset+i])))||(0===i)){if(0===i){f=$subslice(b.Tokens,i);}else{f=$subslice(b.Tokens,(i+1>>0));}aj=e.parseTable0(f);if(!(CY.nil===aj)){if(0>0;i=i+(1)>>0;}return[c,d];};AA.prototype.parseTable=function(b){return this.$val.parseTable(b);};AA.ptr.prototype.parseTable0=function(b){var aa,ab,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=CY.nil;d=this;e=D.Split(b,10);f=e.$length;if(2>f){return c;}g=D.TrimWhitespace((1>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+1]));if(2>g.$length){return c;}h=d.parseTableDelimRow(g);if(DB.nil===h){return c;}if((2===f)&&(1===h.$length)&&(0===(0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))&&!A.Contains(b,(new CW($stringToBytes("|"))))){return c;}i=d.parseTableRow(D.TrimWhitespace((0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0])),h,true);if(CY.nil===i){return c;}if(d.ParseOption.KramdownSpanIAL){j=i.FirstChild;while(true){if(!(!(CY.nil===j))){break;}k=A.LastIndex(j.Tokens,(new CW($stringToBytes("{:"))));if(0>k){j=j.Next;continue;}l=$subslice(j.Tokens,k);m=d.parseKramdownSpanIAL(l);n=m[0];o=m[1];if(0>0));j.Tokens=$subslice(j.Tokens,0,(j.Tokens.$length-p.$length>>0));q=new B.Node.ptr("","","","",456,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,p,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");j.InsertAfter(q);j=j.Next;}j=j.Next;}}c=new B.Node.ptr("","","","",106,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,h,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");c.TableAligns=h;c.AppendChild(d.newTableHead(new CZ([i])));r=2;while(true){if(!(r=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+r]));t=d.parseTableRow(s,h,false);if(CY.nil===t){return c;}if(d.ParseOption.KramdownSpanIAL){u=t.FirstChild;while(true){if(!(!(CY.nil===u))){break;}v=A.LastIndex(u.Tokens,(new CW($stringToBytes("{:"))));if(0>v){u=u.Next;continue;}w=$subslice(u.Tokens,v);x=d.parseKramdownSpanIAL(w);y=x[0];z=x[1];if(0>0));u.Tokens=$subslice(u.Tokens,0,(u.Tokens.$length-aa.$length>>0));ab=new B.Node.ptr("","","","",456,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,aa,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");u.InsertAfter(ab);u=u.Next;}u=u.Next;}}c.AppendChild(t);r=r+(1)>>0;}return c;};AA.prototype.parseTable0=function(b){return this.$val.parseTable0(b);};AA.ptr.prototype.newTableHead=function(b){var b,c,d,e,f,g,h,i,j;c=this;d=new B.Node.ptr("","","","",107,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");e=b;f=0;while(true){if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);h=new B.Node.ptr("","","","",108,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");d.AppendChild(h);i=g.FirstChild;while(true){if(!(!(CY.nil===i))){break;}j=i.Next;h.AppendChild(i);i=j;}f++;}return d;};AA.prototype.newTableHead=function(b){return this.$val.newTableHead(b);};U=function(b,c,d){var b,c,d,e,f,g,h;if((c+1>>0)>=b.$length||c<1){return false;}e=A.IndexByte($subslice(b,0,c),d);g=0===(f=A.Count($subslice(b,0,c),new CW([d]))%2,f===f?f:$throwRuntimeError("integer divide by zero"));if(g){return false;}h=A.IndexByte($subslice(b,(c+1>>0)),d);return-1h.$length){e=CY.nil;return e;}if(D.IsBlank((0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]))){h=$subslice(h,1);}if(h.$length>0&&D.IsBlank((i=h.$length-1>>0,((i<0||i>=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+i])))){h=$subslice(h,0,(h.$length-1>>0));}j=h.$length;k=c.$length;if(d&&j>k){e=CY.nil;return e;}l=0;m=CW.nil;while(true){if(!(l=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+l]));m=A.ReplaceAll(m,(new CW($stringToBytes("|"))),(new CW($stringToBytes("|"))));n=new B.Node.ptr("","","","",109,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,((l<0||l>=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+l]),0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");n.Tokens=m;e.AppendChild(n);l=l+(1)>>0;}while(true){if(!(l=c.$length)?($throwRuntimeError("index out of range"),undefined):c.$array[c.$offset+l]),0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");e.AppendChild(o);l=l+(1)>>0;}return e;};AA.prototype.parseTableRow=function(b,c,d){return this.$val.parseTableRow(b,c,d);};AA.ptr.prototype.findTableDelimRow=function(b){var b,c,d,e,f,g,h,i;c=0;d=this;e=b.$length;if(2>e){c=-1;return c;}f=b;g=0;while(true){if(!(g=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g]);if(!(DB.nil===d.parseTableDelimRow(i))){c=h;return c;}g++;}c=-1;return c;};AA.prototype.findTableDelimRow=function(b){return this.$val.findTableDelimRow(b);};AA.ptr.prototype.parseTableDelimRow=function(b){var b,c,d,e,f,g,h,i,j,k,l,m,n,o;c=DB.nil;d=this;e=b.$length;if(1>e){c=DB.nil;return c;}f=0;g=0;while(true){if(!(g=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+g]);if(!((124===f))&&!((45===f))&&!((58===f))&&!((32===f))){c=DB.nil;return c;}g=g+(1)>>0;}h=A.Index(b,(new CW($stringToBytes("\\|"))));if(0=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+0]))){i=$subslice(i,1);}if(i.$length>0&&D.IsBlank((j=i.$length-1>>0,((j<0||j>=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+j])))){i=$subslice(i,0,(i.$length-1>>0));}k=DB.nil;l=i;m=0;while(true){if(!(m=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+m]);n=D.TrimWhitespace(n);n=A.ReplaceAll(n,(new CW($stringToBytes("|"))),(new CW($stringToBytes("|"))));if(1>e||CW.nil===n){c=DB.nil;return c;}o=d.tableDelimAlign(n);if(-1===o){c=DB.nil;return c;}k=$append(k,o);m++;}c=k;return c;};AA.prototype.parseTableDelimRow=function(b){return this.$val.parseTableDelimRow(b);};AA.ptr.prototype.tableDelimAlign=function(b){var b,c,d,e,f,g,h,i,j,k,l,m;c=this;d=b.$length;if(1>d){return-1;}e=false;f=false;g=e;h=f;i=(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0]);g=58===i;k=(j=d-1>>0,((j<0||j>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+j]));h=58===k;l=1;m=0;while(true){if(!(l<(d-1>>0))){break;}m=((l<0||l>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+l]);if(!((45===m))){return-1;}l=l+(1)>>0;}if(g&&h){return 2;}if(g){return 1;}if(h){return 3;}return 0;};AA.prototype.tableDelimAlign=function(b){return this.$val.tableDelimAlign(b);};V=function(b,c){var{b,c,d,e,f,g,$s,$r,$c}=$restore(this,{b,c});$s=$s||0;s:while(true){switch($s){case 0:if(!b.Context.ParseOption.SuperBlock||b.Context.indented){$s=-1;return 0;}d=b.parseSuperBlock();e=d[0];f=d[1];if(e){$s=1;continue;}$s=2;continue;case 1:$r=b.Context.closeUnmatchedBlocks();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=b.Context.addChild(475);$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;b.Context.addChildMarker(476,CW.nil);b.Context.addChildMarker(477,f);b.Context.offset=b.Context.currentLineLen-1>>0;$s=-1;return 1;case 2:$s=-1;return 0;}return;}var $f={$blk:V,$c:true,$r,b,c,d,e,f,g,$s};return $f;};$pkg.SuperBlockStart=V;W=function(b,c){var{b,c,d,e,$s,$r,$c}=$restore(this,{b,c});$s=$s||0;s:while(true){switch($s){case 0:if(!(CY.nil===c.Tip.LastChild)&&(478===c.Tip.LastChild.Type)&&c.Tip.LastChild.Close){$s=-1;return 1;}d=c.isSuperBlockClose($subslice(c.currentLine,c.nextNonspace));$s=3;case 3:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}if(d){$s=1;continue;}$s=2;continue;case 1:e=c.Tip;while(true){if(!(!(CY.nil===e))){break;}if(475===e.Type){$s=-1;return 3;}e=e.Parent;}case 2:$s=-1;return 0;}return;}var $f={$blk:W,$c:true,$r,b,c,d,e,$s};return $f;};$pkg.SuperBlockContinue=W;AA.ptr.prototype.superBlockFinalize=function(b){var{b,c,d,$s,$r,$c}=$restore(this,{b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=b.FirstChild;case 1:if(!(!(CY.nil===d))){$s=2;continue;}if(d.Close){d=d.Next;$s=1;continue;}$r=c.finalize(d);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=d.Next;$s=1;continue;case 2:$s=-1;return;}return;}var $f={$blk:AA.ptr.prototype.superBlockFinalize,$c:true,$r,b,c,d,$s};return $f;};AA.prototype.superBlockFinalize=function(b){return this.$val.superBlockFinalize(b);};AC.ptr.prototype.parseSuperBlock=function(){var b,c,d,e,f,g,h,i,j,k,l,m;b=false;c=CW.nil;d=this;g=(e=d.Context.currentLine,f=d.Context.nextNonspace,((f<0||f>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]));if(!((123===g))){return[b,c];}h=g;i=0;j=d.Context.nextNonspace;while(true){if(!(j=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+j]))))){break;}i=i+(1)>>0;j=j+(1)>>0;}if(!((3===i))){return[b,c];}c=$subslice(d.Context.currentLine,(d.Context.nextNonspace+i>>0));c=D.TrimWhitespace(c);if(!A.EqualFold(c,CW.nil)&&!A.EqualFold(c,(new CW($stringToBytes("row"))))&&!A.EqualFold(c,(new CW($stringToBytes("col"))))){return[b,c];}l=true;m=c;b=l;c=m;return[b,c];};AC.prototype.parseSuperBlock=function(){return this.$val.parseSuperBlock();};AA.ptr.prototype.isSuperBlockClose=function(b){var{b,c,d,e,f,g,h,i,j,k,$s,$r,$c}=$restore(this,{b});$s=$s||0;s:while(true){switch($s){case 0:c=false;d=this;b=D.TrimWhitespace(b);if(A.Equal(b,(new CW($stringToBytes("\xE2\x80\xB8}}}"))))){e=new B.Node.ptr("","","","",1,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,C.CaretTokens,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");d.TipAppendChild(e);}f=A.HasSuffix(b,C.CaretTokens);b=A.ReplaceAll(b,C.CaretTokens,CW.nil);if(!A.Equal((new CW($stringToBytes("}}}"))),b)){$s=-1;return c;}if(f){$s=1;continue;}$s=2;continue;case 1:g=d.Tip.ChildrenByType(1);$s=3;case 3:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=h.$length;if(0>0,((j<0||j>=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+j]));k.Tokens=$appendSlice(k.Tokens,C.CaretTokens);}case 2:c=true;$s=-1;return c;}return;}var $f={$blk:AA.ptr.prototype.isSuperBlockClose,$c:true,$r,b,c,d,e,f,g,h,i,j,k,$s};return $f;};AA.prototype.isSuperBlockClose=function(b){return this.$val.isSuperBlockClose(b);};X=function(b,c,d){var{b,c,d,e,$s,$r,$c}=$restore(this,{b,c,d});$s=$s||0;s:while(true){switch($s){case 0:e=DH.nil;e=new AC.ptr(CY.nil,new AA.ptr(DH.nil,d,CY.nil,CY.nil,CW.nil,0,0,0,0,0,0,false,false,false,false,CY.nil,CY.nil),DJ.nil,DK.nil,b,"","","","",DC.nil,new $Int64(0,0),new $Int64(0,0),"");e.Context.Tree=e;e.lexer=D.NewLexer(c);e.Root=new B.Node.ptr("","","","",0,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");$r=e.parseBlocks();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.parseInlines();$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$r=e.finalParseBlockIAL();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e.lexer=DJ.nil;$s=-1;return e;}return;}var $f={$blk:X,$c:true,$r,b,c,d,e,$s};return $f;};$pkg.Parse=X;AC.ptr.prototype.finalParseBlockIAL=function(){var{b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c=[c];c[0]=this;if(!c[0].Context.ParseOption.KramdownBlockIAL){$s=-1;return;}b[0]=CZ.nil;$r=B.Walk(c[0].Root,(function(b,c){return function $b(d,e){var{d,e,f,g,h,i,j,k,l,$s,$r,$c}=$restore(this,{d,e});$s=$s||0;s:while(true){switch($s){case 0:if(!e||!d.IsBlock()||(455===d.Type)){$s=-1;return 2;}if((5===d.Type)&&!(CY.nil===d.FirstChild)&&CY.nil===d.FirstChild.Next){b[0]=$append(b[0],d);}if(""===d.ID){$s=1;continue;}$s=2;continue;case 1:f=d.IALAttr("id");if(""===f){$s=3;continue;}$s=4;continue;case 3:g=B.NewNodeID();$s=5;case 5:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}f=g;case 4:d.ID=f;if(c[0].Context.ParseOption.ProtyleWYSIWYG&&c[0].Context.ParseOption.Spin&&!((0===d.Type))&&!(CY.nil===d.Next)&&!((455===d.Next.Type))&&!(""===d.Next.ID)){$s=6;continue;}$s=7;continue;case 6:d.ID=d.Next.ID;d.KramdownIAL=d.Next.KramdownIAL;if(""===d.IALAttr("updated")){d.SetIALAttr("updated",$substring(d.ID,0,14));}h=B.NewNodeID();$s=8;case 8:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}d.Next.ID=h;d.Next.KramdownIAL=DD.nil;d.Next.SetIALAttr("id",d.Next.ID);d.Next.SetIALAttr("updated",$substring(d.Next.ID,0,14));if(!(CY.nil===d.Next.Next)&&(455===d.Next.Next.Type)){$s=9;continue;}$s=10;continue;case 9:i=BA(d.Next.KramdownIAL);$s=11;case 11:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}d.Next.Next.Tokens=i;case 10:j=BA(d.KramdownIAL);$s=12;case 12:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}$r=d.InsertAfter(new B.Node.ptr("","","","",455,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,j,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 7:case 2:k=d.Next;if(CY.nil===k||!((455===k.Type))){if(c[0].Context.ParseOption.ProtyleWYSIWYG){d.SetIALAttr("id",d.ID);d.SetIALAttr("updated",$substring(d.ID,0,14));}$s=-1;return 2;}d.KramdownIAL=BH(k.Tokens);if(""===d.IALAttr("updated")&&c[0].Context.ParseOption.ProtyleWYSIWYG){$s=14;continue;}$s=15;continue;case 14:d.SetIALAttr("updated",$substring(d.ID,0,14));l=BA(d.KramdownIAL);$s=16;case 16:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}k.Tokens=l;case 15:$s=-1;return 2;}return;}var $f={$blk:$b,$c:true,$r,d,e,f,g,h,i,j,k,l,$s};return $f;};})(b,c));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}d=b[0];e=0;case 2:if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);g=B.NewNodeID();$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=(new CW($stringToBytes("{: id=\""+h+"\"}")));j=new B.Node.ptr(h,"","","",1,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");j.KramdownIAL=new DD([new DC(["id",h]),new DC(["updated",$substring(h,0,14)])]);j.ID=h;j.InsertAfter(new B.Node.ptr("","","","",455,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,i,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));f.AppendChild(j);e++;$s=2;continue;case 3:k=CY.nil;l="";if(!(CY.nil===c[0].Context.rootIAL)){$s=5;continue;}$s=6;continue;case 5:k=c[0].Context.rootIAL;$s=7;continue;case 6:m=B.NewNodeID();$s=8;case 8:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}l=m;k=new B.Node.ptr("","","","",455,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,(new CW($stringToBytes("{: id=\""+l+"\" updated=\""+$substring(l,0,14)+"\" type=\"doc\"}"))),"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");c[0].Root.ID=l;c[0].ID=l;case 7:c[0].Root.AppendChild(k);$s=-1;return;}return;}var $f={$blk:AC.ptr.prototype.finalParseBlockIAL,$c:true,$r,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};AC.prototype.finalParseBlockIAL=function(){return this.$val.finalParseBlockIAL();};Z=function(b,c,d){var{b,c,d,e,$s,$r,$c}=$restore(this,{b,c,d});$s=$s||0;s:while(true){switch($s){case 0:e=DH.nil;e=new AC.ptr(CY.nil,new AA.ptr(DH.nil,d,CY.nil,CY.nil,CW.nil,0,0,0,0,0,0,false,false,false,false,CY.nil,CY.nil),DJ.nil,DK.nil,b,"","","","",DC.nil,new $Int64(0,0),new $Int64(0,0),"");e.Context.Tree=e;e.Root=new B.Node.ptr("","","","",0,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");e.Root.AppendChild(new B.Node.ptr("","","","",1,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,c,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));$r=e.parseInlines();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e.lexer=DJ.nil;$s=-1;return e;}return;}var $f={$blk:Z,$c:true,$r,b,c,d,e,$s};return $f;};$pkg.Inline=Z;AA.ptr.prototype.advanceOffset=function(b,c){var b,c,d,e,f,g,h,i,j,k,l;d=this;e=d.currentLine;f=0;g=0;h=f;i=g;j=0;while(true){if(!(0=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+k]));if(9===j){h=4-((l=d.column%4,l===l?l:$throwRuntimeError("integer divide by zero")))>>0;if(c){d.partiallyConsumedTab=h>b;if(d.partiallyConsumedTab){i=b;}else{i=h;d.offset=d.offset+(1)>>0;}d.column=d.column+(i)>>0;b=b-(i)>>0;}else{d.partiallyConsumedTab=false;d.column=d.column+(h)>>0;d.offset=d.offset+(1)>>0;b=b-(1)>>0;}}else{d.partiallyConsumedTab=false;d.offset=d.offset+(1)>>0;d.column=d.column+(1)>>0;b=b-(1)>>0;}}};AA.prototype.advanceOffset=function(b,c){return this.$val.advanceOffset(b,c);};AA.ptr.prototype.advanceNextNonspace=function(){var b;b=this;b.offset=b.nextNonspace;b.column=b.nextNonspaceColumn;b.partiallyConsumedTab=false;};AA.prototype.advanceNextNonspace=function(){return this.$val.advanceNextNonspace();};AA.ptr.prototype.findNextNonspace=function(){var b,c,d,e,f,g;b=this;c=b.offset;d=b.column;e=0;while(true){e=(f=b.currentLine,((c<0||c>=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+c]));if(32===e){c=c+(1)>>0;d=d+(1)>>0;}else if(9===e){c=c+(1)>>0;d=d+((4-((g=d%4,g===g?g:$throwRuntimeError("integer divide by zero")))>>0))>>0;}else{break;}}b.blank=10===e;b.nextNonspace=c;b.nextNonspaceColumn=d;b.indent=b.nextNonspaceColumn-b.column>>0;b.indented=4<=b.indent;};AA.prototype.findNextNonspace=function(){return this.$val.findNextNonspace();};AA.ptr.prototype.closeUnmatchedBlocks=function(){var{b,c,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:b=this;if(!b.allClosed){$s=1;continue;}$s=2;continue;case 1:case 3:if(!(!(b.oldtip===b.lastMatchedContainer))){$s=4;continue;}c=b.oldtip.Parent;$r=b.finalize(b.oldtip);$s=5;case 5:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b.oldtip=c;$s=3;continue;case 4:b.allClosed=true;case 2:$s=-1;return;}return;}var $f={$blk:AA.ptr.prototype.closeUnmatchedBlocks,$c:true,$r,b,c,$s};return $f;};AA.prototype.closeUnmatchedBlocks=function(){return this.$val.closeUnmatchedBlocks();};AA.ptr.prototype.closeSuperBlockChildren=function(){var{b,c,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:b=this;c=b.Tip;case 1:if(!(!(CY.nil===c)&&!((475===c.Type)))){$s=2;continue;}$r=b.finalize(c);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c=c.Parent;$s=1;continue;case 2:$s=-1;return;}return;}var $f={$blk:AA.ptr.prototype.closeSuperBlockChildren,$c:true,$r,b,c,$s};return $f;};AA.prototype.closeSuperBlockChildren=function(){return this.$val.closeSuperBlockChildren();};AA.ptr.prototype.finalize=function(b){var{b,c,d,e,f,g,$s,$r,$c}=$restore(this,{b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=b.Parent;b.Close=true;e=b.Type;if(e===(11)){$s=2;continue;}if((e===(9))||(e===(500))||(e===(510))||(e===(505))||(e===(535))){$s=3;continue;}if(e===(1)){$s=4;continue;}if(e===(300)){$s=5;continue;}if(e===(425)){$s=6;continue;}if(e===(7)){$s=7;continue;}if(e===(475)){$s=8;continue;}if(e===(495)){$s=9;continue;}if(e===(560)){$s=10;continue;}$s=11;continue;case 2:c.codeBlockFinalize(b);$s=11;continue;case 3:c.htmlBlockFinalize(b);$s=11;continue;case 4:f=AG(b,c);$s=12;case 12:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}g=f;if(g){$s=-1;return;}$s=11;continue;case 5:c.mathBlockFinalize(b);$s=11;continue;case 6:c.yamlFrontMatterFinalize(b);$s=11;continue;case 7:$r=c.listFinalize(b);$s=13;case 13:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=11;continue;case 8:$r=c.superBlockFinalize(b);$s=14;case 14:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=11;continue;case 9:$r=c.gitConflictFinalize(b);$s=15;case 15:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=11;continue;case 10:c.customBlockFinalize(b);case 11:case 1:c.Tip=d;$s=-1;return;}return;}var $f={$blk:AA.ptr.prototype.finalize,$c:true,$r,b,c,d,e,f,g,$s};return $f;};AA.prototype.finalize=function(b){return this.$val.finalize(b);};AA.ptr.prototype.addChildMarker=function(b,c){var b,c,d,e;d=CY.nil;e=this;d=new B.Node.ptr("","","","",b,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,c,"","",true,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");e.Tip.AppendChild(d);return d;};AA.prototype.addChildMarker=function(b,c){return this.$val.addChildMarker(b,c);};AA.ptr.prototype.addChild=function(b){var{b,c,d,$s,$r,$c}=$restore(this,{b});$s=$s||0;s:while(true){switch($s){case 0:c=CY.nil;d=this;case 1:if(!(!d.Tip.CanContain(b))){$s=2;continue;}$r=d.finalize(d.Tip);$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=1;continue;case 2:c=new B.Node.ptr("","","","",b,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");d.Tip.AppendChild(c);d.Tip=c;$s=-1;return c;}return;}var $f={$blk:AA.ptr.prototype.addChild,$c:true,$r,b,c,d,$s};return $f;};AA.prototype.addChild=function(b){return this.$val.addChild(b);};AA.ptr.prototype.listsMatch=function(b,c){var b,c,d;d=this;return(b.Typ===c.Typ)&&(((0===b.Delimiter)&&(0===c.Delimiter))||(b.Delimiter===c.Delimiter))&&(b.BulletChar===c.BulletChar);};AA.prototype.listsMatch=function(b,c){return this.$val.listsMatch(b,c);};AE=function(){return new AD.ptr(true,true,true,true,true,true,true,false,true,$pkg.EmojiAliasUnicode,$pkg.EmojiUnicodeAlias,"https://cdn.jsdelivr.net/npm/vditor/dist/images/emoji",false,false,false,false,true,false,true,true,false,false,false,false,false,false,false,false,false,false,false,true,true,false,true,false,false,false);};$pkg.NewOptions=AE;AA.ptr.prototype.ParentTip=function(){var b,c;b=this;c=b.Tip.Parent;if(!(CY.nil===c)){b.Tip=b.Tip.Parent;}};AA.prototype.ParentTip=function(){return this.$val.ParentTip();};AA.ptr.prototype.TipAppendChild=function(b){var b,c;c=this;c.Tip.AppendChild(b);};AA.prototype.TipAppendChild=function(b){return this.$val.TipAppendChild(b);};AF=function(b,c){var b,c;if(c.blank){return 1;}return 0;};$pkg.ParagraphContinue=AF;AG=function(b,c){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{b,c});$s=$s||0;s:while(true){switch($s){case 0:d=false;if(c.ParseOption.ParagraphBeginningSpace){e=D.TrimRight(b.Tokens);b.Tokens=e[1];}else{b.Tokens=D.TrimWhitespace(b.Tokens);}f=false;g=b.Tokens;while(true){if(!(0=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0])))){break;}g=c.parseLinkRefDef(g);if(!(CW.nil===g)){b.Tokens=g;f=true;g=b.Tokens;continue;}break;}if(f&&D.IsBlankLine(b.Tokens)){b.Unlink();}if(c.ParseOption.KramdownBlockIAL&&!(CY.nil===c.Tip.Parent)&&(8===c.Tip.Parent.Type)&&b===c.Tip.Parent.FirstChild){$s=1;continue;}$s=2;continue;case 1:h=BH(b.Tokens);if(!(DD.nil===h)){$s=3;continue;}$s=4;continue;case 3:i=new B.Node.ptr("","","","",1,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,h,false,"","","","","","","","","","","",0,"");j=BD(h);i.ID=(k=$mapIndex(j,$String.keyFor("id")),k!==undefined?k.v:"");c.Tip.Parent.AppendChild(i);l=BA(h);$s=5;case 5:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}$r=i.InsertAfter(new B.Node.ptr("","","","",455,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,l,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));$s=6;case 6:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b.Unlink();$s=-1;return d;case 4:case 2:if(c.ParseOption.GFMTaskListItem){$s=7;continue;}$s=8;continue;case 7:m=b.Parent;if(!(CY.nil===m)&&(8===m.Type)&&m.FirstChild===b){$s=9;continue;}$s=10;continue;case 9:if(3===m.ListData.Typ){$s=11;continue;}$s=12;continue;case 11:n=c.ParseOption.VditorWYSIWYG||c.ParseOption.VditorIR||c.ParseOption.VditorSV||c.ParseOption.ProtyleWYSIWYG;o=3>0));b.KramdownIAL=q;}}if(((3===p.$length)&&(A.EqualFold(p,(new CW($stringToBytes("[x]"))))||A.Equal(p,(new CW($stringToBytes("[ ]"))))))||(3=p.$length?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+3]))||((r=C.CaretTokens,(0>=r.$length?($throwRuntimeError("index out of range"),undefined):r.$array[r.$offset+0]))===(3>=p.$length?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+3]))||((s=C.CaretTokens,(0>=s.$length?($throwRuntimeError("index out of range"),undefined):s.$array[s.$offset+0]))===(2>=p.$length?($throwRuntimeError("index out of range"),undefined):p.$array[p.$offset+2]))))){$s=15;continue;}$s=16;continue;case 15:t=false;u=false;v=false;w=t;x=u;y=v;if(c.ParseOption.VditorWYSIWYG||c.ParseOption.VditorIR||c.ParseOption.VditorSV||c.ParseOption.ProtyleWYSIWYG){z=A.IndexByte(p,93);if(A.HasPrefix(p,C.CaretTokens)){p=A.ReplaceAll(p,C.CaretTokens,CW.nil);w=true;}else if(A.HasPrefix($subslice(p,(z+1>>0)),C.CaretTokens)){p=A.ReplaceAll(p,C.CaretTokens,CW.nil);x=true;}else if(A.Contains($subslice(p,1,z),C.CaretTokens)){p=A.ReplaceAll(p,C.CaretTokens,CW.nil);y=true;}}aa=new B.Node.ptr("","","","",100,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,$subslice(p,0,3),"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,m.ListData.Checked,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");if(c.ParseOption.ProtyleWYSIWYG){b.InsertBefore(aa);}else{b.PrependChild(aa);}b.Tokens=$subslice(p,3);if(n){$s=17;continue;}$s=18;continue;case 17:ab=A.TrimSpace(b.Tokens);$s=19;case 19:if($c){$c=false;ab=ab.$blk();}if(ab&&ab.$blk!==undefined){break s;}b.Tokens=ab;if(w||x||y){b.Tokens=$appendSlice((new CW($stringToBytes(" \xE2\x80\xB8"))),b.Tokens);}else{if(!c.ParseOption.ProtyleWYSIWYG){b.Tokens=$appendSlice((new CW($stringToBytes(" "))),b.Tokens);}}case 18:if(0=aj.$length)?($throwRuntimeError("index out of range"),undefined):aj.$array[aj.$offset+ak]);b.InsertAfter(al);ak++;}b.Unlink();}case 21:case 16:case 14:case 12:case 10:case 8:if(c.ParseOption.GFMTable){am=c.parseTable(b);an=am[0];ao=am[1];if(!(CY.nil===ao)){if(!(CY.nil===an)){b.Tokens=an.Tokens;b.InsertAfter(ao);ao.Close=true;c.Tip=ao;d=true;$s=-1;return d;}else{b.Type=106;b.TableAligns=ao.TableAligns;ap=ao.FirstChild;while(true){if(!(!(CY.nil===ap))){break;}aq=ap.Next;b.AppendChild(ap);ap=aq;}}$s=-1;return d;}}if(c.ParseOption.ToC){$s=23;continue;}$s=24;continue;case 23:ar=c.parseToC(b);$s=25;case 25:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}as=ar;if(!(CY.nil===as)){b.Type=415;$s=-1;return d;}case 24:$s=-1;return d;}return;}var $f={$blk:AG,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};AH=function(b,c){var{b,c,d,e,f,g,h,$s,$r,$c}=$restore(this,{b,c});$s=$s||0;s:while(true){switch($s){case 0:if(b.Context.indented){$s=-1;return 0;}d=b.parseMathBlock();e=d[0];f=d[1];if(e){$s=1;continue;}$s=2;continue;case 1:$r=b.Context.closeUnmatchedBlocks();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=b.Context.addChild(300);$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;h.MathBlockDollarOffset=f;b.Context.advanceNextNonspace();b.Context.advanceOffset(f,false);$s=-1;return 2;case 2:$s=-1;return 0;}return;}var $f={$blk:AH,$c:true,$r,b,c,d,e,f,g,h,$s};return $f;};$pkg.MathBlockStart=AH;AI=function(b,c){var{b,c,d,e,f,g,$s,$r,$c}=$restore(this,{b,c});$s=$s||0;s:while(true){switch($s){case 0:d=c.currentLine;e=c.indent;if(3>=e&&c.isMathBlockClose($subslice(d,c.nextNonspace))){$s=1;continue;}$s=2;continue;case 1:$r=c.finalize(b);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return 2;case 2:f=b.MathBlockDollarOffset;g=0;while(true){if(!(f>0)){break;}g=D.Peek(d,c.offset);if(!((32===g))&&!((9===g))){break;}c.advanceOffset(1,true);f=f-(1)>>0;}case 3:$s=-1;return 0;}return;}var $f={$blk:AI,$c:true,$r,b,c,d,e,f,g,$s};return $f;};$pkg.MathBlockContinue=AI;AA.ptr.prototype.mathBlockFinalize=function(b){var b,c,d;c=this;if(2>b.Tokens.$length){b.AppendChild(new B.Node.ptr("","","","",301,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));b.AppendChild(new B.Node.ptr("","","","",302,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));b.AppendChild(new B.Node.ptr("","","","",303,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));return;}d=$subslice(b.Tokens,2);d=D.TrimWhitespace(d);if(c.ParseOption.VditorWYSIWYG||c.ParseOption.VditorIR||c.ParseOption.VditorSV||c.ParseOption.ProtyleWYSIWYG){if(A.HasSuffix(d,$pkg.MathBlockMarkerCaret)){d=A.TrimSuffix(d,$pkg.MathBlockMarkerCaret);d=$appendSlice(d,C.CaretTokens);}}if(A.HasSuffix(d,$pkg.MathBlockMarker)){d=$subslice(d,0,(d.$length-2>>0));}b.Tokens=CW.nil;b.AppendChild(new B.Node.ptr("","","","",301,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));b.AppendChild(new B.Node.ptr("","","","",302,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,d,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));b.AppendChild(new B.Node.ptr("","","","",303,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));};AA.prototype.mathBlockFinalize=function(b){return this.$val.mathBlockFinalize(b);};AC.ptr.prototype.parseMathBlock=function(){var b,c,d,e,f,g,h,i,j,k,l,m;b=false;c=0;d=this;g=(e=d.Context.currentLine,f=d.Context.nextNonspace,((f<0||f>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]));if(!((36===g))){return[b,c];}h=g;i=0;j=d.Context.nextNonspace;while(true){if(!(j=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+j]))))){break;}i=i+(1)>>0;j=j+(1)>>0;}if(2>i){return[b,c];}l=true;m=d.Context.indent;b=l;c=m;return[b,c];};AC.prototype.parseMathBlock=function(){return this.$val.parseMathBlock();};AA.ptr.prototype.isMathBlockClose=function(b){var b,c,d,e,f,g,h,i;c=this;if(c.ParseOption.KramdownBlockIAL&&BG(b)){d=c.parseKramdownBlockIAL(b);if(0=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0]);if(!((f===36))){return false;}if(2>D.Accept(b,f)){return false;}b=D.TrimWhitespace(b);g=b;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if(!((i===36))){return false;}h++;}return true;};AA.prototype.isMathBlockClose=function(b){return this.$val.isMathBlockClose(b);};AJ=function(b,c){var{b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{b,c});$s=$s||0;s:while(true){switch($s){case 0:if(!((7===c.Type))&&b.Context.indented){$s=-1;return 0;}d=b.parseListMarker(c);e=d[0];f=d[1];if(DA.nil===e){$s=-1;return 0;}$r=b.Context.closeUnmatchedBlocks();$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}g=(c.Type===7)&&b.Context.listsMatch(c.ListData,e);if(!((b.Context.Tip.Type===7))||!g){$s=2;continue;}$s=3;continue;case 2:h=b.Context.addChild(7);$s=4;case 4:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}i=h;i.ListData=e;case 3:j=b.Context.addChild(8);$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}k=j;k.ListData=e;if(b.Context.ParseOption.KramdownBlockIAL&&!(DD.nil===f)){$s=6;continue;}$s=7;continue;case 6:k.KramdownIAL=f;k.ID=k.IALAttr("id");l=BA(f);$s=8;case 8:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}b.Context.offset=b.Context.offset+(l.$length)>>0;case 7:k.Tokens=e.Marker;if((1===k.ListData.Typ)||((3===k.ListData.Typ)&&(0===k.ListData.BulletChar))){m=k.Previous;if(!(CY.nil===m)){k.ListData.Num=m.ListData.Num+1>>0;}else{k.ListData.Num=e.Start;}}$s=-1;return 1;}return;}var $f={$blk:AJ,$c:true,$r,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};$pkg.ListStart=AJ;AK=function(b,c){var b,c;if(c.blank){if(CY.nil===b.FirstChild){return 1;}c.advanceNextNonspace();}else if(c.indent>=(b.ListData.MarkerOffset+b.ListData.Padding>>0)){c.advanceOffset(b.ListData.MarkerOffset+b.ListData.Padding>>0,true);}else{return 1;}return 0;};$pkg.ListItemContinue=AK;AA.ptr.prototype.listFinalize=function(b){var{b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{b});$s=$s||0;s:while(true){switch($s){case 0:c=this;d=b.FirstChild;while(true){if(!(!(CY.nil===d))){break;}if(AM(d)&&!(CY.nil===d.Next)){b.ListData.Tight=false;break;}e=d.FirstChild;while(true){if(!(!(CY.nil===e))){break;}if(AM(e)&&(!(CY.nil===d.Next)||!(CY.nil===e.Next))){b.ListData.Tight=false;break;}e=e.Next;}d=d.Next;}if(c.ParseOption.KramdownBlockIAL){$s=1;continue;}$s=2;continue;case 1:f=b.FirstChild;case 3:if(!(!(CY.nil===f))){$s=4;continue;}if(CY.nil===f.FirstChild){$s=5;continue;}$s=6;continue;case 5:if(!((455===f.Type))){$s=7;continue;}$s=8;continue;case 7:g=B.NewNodeID();$s=9;case 9:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=(new CW($stringToBytes("{: id=\""+h+"\"}")));f.KramdownIAL=new DD([new DC(["id",h])]);f.ID=h;f.InsertAfter(new B.Node.ptr("","","","",455,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,i,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));j=B.NewNodeID();$s=10;case 10:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}h=j;i=(new CW($stringToBytes("{: id=\""+h+"\"}")));k=new B.Node.ptr(h,"","","",1,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");k.KramdownIAL=new DD([new DC(["id",h])]);k.ID=h;k.InsertAfter(new B.Node.ptr("","","","",455,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,i,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));f.AppendChild(k);f=f.Next;case 8:f=f.Next;$s=3;continue;case 6:if(7=l.$length?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+0])))){$s=11;continue;}$s=12;continue;case 11:m=c.parseKramdownIALInListItem(f.FirstChild.Tokens);if(0=m.$length?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+0]),(1>=n.$length?($throwRuntimeError("index out of range"),undefined):n.$array[n.$offset+1]));o=BA(m);$s=16;case 16:if($c){$c=false;o=o.$blk();}if(o&&o.$blk!==undefined){break s;}p=o;f.InsertAfter(new B.Node.ptr("","","","",455,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,p,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));q=$subslice(f.FirstChild.Tokens,(A.Index(f.FirstChild.Tokens,(new CW($stringToBytes("}"))))+1>>0));q=D.TrimWhitespace(q);f.FirstChild.Tokens=q;f=f.Next;case 15:$s=13;continue;case 12:r=CW.nil;if(DD.nil===f.KramdownIAL){$s=17;continue;}$s=18;continue;case 17:s=B.NewNodeID();$s=20;case 20:if($c){$c=false;s=s.$blk();}if(s&&s.$blk!==undefined){break s;}t=s;r=(new CW($stringToBytes("{: id=\""+t+"\"}")));f.KramdownIAL=new DD([new DC(["id",t])]);f.ID=t;$s=19;continue;case 18:u=BA(f.KramdownIAL);$s=21;case 21:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}r=u;case 19:f.InsertAfter(new B.Node.ptr("","","","",455,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,r,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));case 13:f=f.Next;$s=3;continue;case 4:case 2:$s=-1;return;}return;}var $f={$blk:AA.ptr.prototype.listFinalize,$c:true,$r,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s};return $f;};AA.prototype.listFinalize=function(b){return this.$val.listFinalize(b);};AC.ptr.prototype.parseListMarker=function(b){var aa,ab,ac,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=DA.nil;d=DD.nil;e=this;if(4<=e.Context.indent){f=DA.nil;g=DD.nil;c=f;d=g;return[c,d];}h=e.Context.currentLine;i=$subslice(h,e.Context.nextNonspace);c=new B.ListData.ptr(0,true,0,0,0,0,e.Context.indent,false,CW.nil,-1);j=1;k=new CW([(0>=i.$length?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+0])]);l=0;if((43===(0>=k.$length?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+0]))||(45===(0>=k.$length?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+0]))||(42===(0>=k.$length?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+0]))){c.BulletChar=(0>=k.$length?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+0]);}else{m=e.parseOrderedListMarker(i);k=m[0];l=m[1];if(!(CW.nil===k)){if(!((b.Type===1))||A.Equal(AL,k)){c.Typ=1;n=I.Atoi(E.BytesToStr(k));c.Start=n[0];j=k.$length+1>>0;c.Delimiter=l;}else{o=DA.nil;p=DD.nil;c=o;d=p;return[c,d];}}else{q=DA.nil;r=DD.nil;c=q;d=r;return[c,d];}}c.Marker=k;t=(s=e.Context.nextNonspace+j>>0,((s<0||s>=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+s]));if(!D.IsWhitespace(t)){u=DA.nil;v=DD.nil;c=u;d=v;return[c,d];}if((b.Type===1)&&(10===t)){w=DA.nil;x=DD.nil;c=w;d=x;return[c,d];}e.Context.advanceNextNonspace();e.Context.advanceOffset(j,true);y=e.Context.column;z=e.Context.offset;while(true){e.Context.advanceOffset(1,true);t=D.Peek(h,e.Context.offset);if((e.Context.column-y>>0)>=5||(0===(t))||(!((32===t))&&!((9===t)))){break;}}t=D.Peek(h,e.Context.offset);aa=(0===t)||(10===t);ab=e.Context.column-y>>0;if(ab>=5||ab<1||aa){c.Padding=j+1>>0;e.Context.column=y;e.Context.offset=z;t=D.Peek(h,e.Context.offset);if((32===t)||(9===t)){e.Context.advanceOffset(1,true);}}else{c.Padding=j+ab>>0;}if(!aa){ac=$subslice(h,e.Context.offset);if(e.Context.ParseOption.KramdownBlockIAL){d=e.Context.parseKramdownIALInListItem(ac);if(0>0));}}if(e.Context.ParseOption.VditorWYSIWYG||e.Context.ParseOption.VditorIR||e.Context.ParseOption.VditorSV){ac=A.ReplaceAll(ac,C.CaretTokens,CW.nil);}if(3<=ac.$length){if((91===(0>=ac.$length?($throwRuntimeError("index out of range"),undefined):ac.$array[ac.$offset+0]))&&((120===(1>=ac.$length?($throwRuntimeError("index out of range"),undefined):ac.$array[ac.$offset+1]))||(88===(1>=ac.$length?($throwRuntimeError("index out of range"),undefined):ac.$array[ac.$offset+1]))||(32===(1>=ac.$length?($throwRuntimeError("index out of range"),undefined):ac.$array[ac.$offset+1])))&&(93===(2>=ac.$length?($throwRuntimeError("index out of range"),undefined):ac.$array[ac.$offset+2]))){c.Typ=3;c.Checked=(120===(1>=ac.$length?($throwRuntimeError("index out of range"),undefined):ac.$array[ac.$offset+1]))||(88===(1>=ac.$length?($throwRuntimeError("index out of range"),undefined):ac.$array[ac.$offset+1]));}}}return[c,d];};AC.prototype.parseListMarker=function(b){return this.$val.parseListMarker(b);};AC.ptr.prototype.parseOrderedListMarker=function(b){var b,c,d,e,f,g,h,i,j;c=CW.nil;d=0;e=this;f=b.$length;g=0;h=0;while(true){if(!(g=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+g]);if(!D.IsDigit(h)||8>0;}if(1>c.$length||(!((46===d))&&!((41===d)))){i=CW.nil;j=0;c=i;d=j;return[c,d];}return[c,d];};AC.prototype.parseOrderedListMarker=function(b){return this.$val.parseOrderedListMarker(b);};AM=function(b){var b,c;while(true){if(!(!(CY.nil===b))){break;}if(b.LastLineBlank){return true;}c=b.Type;if(!b.LastLineChecked&&((c===7)||(c===8))){b.LastLineChecked=true;b=b.LastChild;}else{b.LastLineChecked=true;break;}}return false;};AC.ptr.prototype.FindLinkRefDefLink=function(b){var{b,c,d,$s,$r,$c}=$restore(this,{b});$s=$s||0;s:while(true){switch($s){case 0:b=[b];c=[c];c[0]=CY.nil;d=this;if(!d.Context.ParseOption.LinkRef){$s=-1;return c[0];}if(d.Context.ParseOption.VditorIR||d.Context.ParseOption.VditorSV||d.Context.ParseOption.VditorWYSIWYG||d.Context.ParseOption.ProtyleWYSIWYG){b[0]=A.ReplaceAll(b[0],C.CaretTokens,CW.nil);}$r=B.Walk(d.Root,(function(b,c){return function(e,f){var e,f;if(!f||!((46===e.Type))){return 2;}if(A.EqualFold(e.Tokens,b[0])){c[0]=e.FirstChild;return 0;}return 2;};})(b,c));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return c[0];}return;}var $f={$blk:AC.ptr.prototype.FindLinkRefDefLink,$c:true,$r,b,c,d,$s};return $f;};AC.prototype.FindLinkRefDefLink=function(b){return this.$val.FindLinkRefDefLink(b);};AA.ptr.prototype.parseLinkRefDef=function(b){var aa,ab,ac,ad,ae,af,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;c=this;if(!c.ParseOption.LinkRef){return CW.nil;}d=D.TrimLeft(b);b=d[1];if(1>b.$length){return CW.nil;}e=c.parseLinkLabel(b);f=e[0];g=e[1];h=e[2];if(2>f||1>h.$length){return CW.nil;}i=g.$length;if(1>i){return CW.nil;}if(!((58===(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0])))){return CW.nil;}g=$subslice(g,1);j=D.TrimLeft(g);k=j[0];g=j[1];l=D.StatWhitespace(k);m=l[0];if(1m){return CW.nil;}if(0<(s+t>>0)&&!D.IsBlankLine(g)&&!((10===(0>=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0])))){return CW.nil;}y=b;z=D.TrimLeft(g);k=z[0];b=z[1];aa=D.StatWhitespace(k);ab=aa[1];ac=aa[2];if(!D.IsBlankLine(b)&&0<(ab+ac>>0)){g=y;}else{g=b;}ad=c.Tree.newLink(33,h,p,x,1);ae=new B.Node.ptr("","","","",46,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,h,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");ae.AppendChild(ad);af=c.Tip;if(!((45===af.Type))){af=new B.Node.ptr("","","","",45,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");}af.AppendChild(ae);c.Tip.Parent.AppendChild(af);return g;};AA.prototype.parseLinkRefDef=function(b){return this.$val.parseLinkRefDef(b);};AA.ptr.prototype.parseLinkTitle=function(b){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;c=false;d=CW.nil;e=CW.nil;f=CW.nil;g=this;if(1>b.$length){h=true;i=CW.nil;j=b;k=CW.nil;c=h;d=i;e=j;f=k;return[c,d,e,f];}if(91===(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0])){l=true;m=CW.nil;n=b;o=CW.nil;c=l;d=m;e=n;f=o;return[c,d,e,f];}p=g.parseLinkTitleMatch(34,34,b);c=p[0];d=p[1];e=p[2];f=p[3];if(!c){q=g.parseLinkTitleMatch(39,39,b);c=q[0];d=q[1];e=q[2];f=q[3];if(!c){r=g.parseLinkTitleMatch(40,41,b);c=r[0];d=r[1];e=r[2];f=r[3];}}if(!(CW.nil===f)){if(!g.ParseOption.VditorWYSIWYG&&!g.ParseOption.VditorIR&&!g.ParseOption.VditorSV&&!g.ParseOption.ProtyleWYSIWYG){f=G.UnescapeBytes(f);}}return[c,d,e,f];};AA.prototype.parseLinkTitle=function(b){return this.$val.parseLinkTitle(b);};AA.ptr.prototype.parseBlockRefText=function(b){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;c=false;d=CW.nil;e=CW.nil;f=CW.nil;g="";h=this;if(1>b.$length){i=true;j=CW.nil;k=b;l=CW.nil;m="";c=i;d=j;e=k;f=l;g=m;return[c,d,e,f,g];}if(91===(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0])){n=true;o=CW.nil;p=b;q=CW.nil;r="";c=n;d=o;e=p;f=q;g=r;return[c,d,e,f,g];}s=h.parseLinkTitleMatch(34,34,b);c=s[0];d=s[1];e=s[2];f=s[3];g="s";if(!c){t=h.parseLinkTitleMatch(39,39,b);c=t[0];d=t[1];e=t[2];f=t[3];g="d";}if(!(CW.nil===f)){if(!h.ParseOption.VditorWYSIWYG&&!h.ParseOption.VditorIR&&!h.ParseOption.VditorSV&&!h.ParseOption.ProtyleWYSIWYG){f=G.UnescapeBytes(f);}}return[c,d,e,f,g];};AA.prototype.parseBlockRefText=function(b){return this.$val.parseBlockRefText(b);};AA.ptr.prototype.parseLinkTitleMatch=function(b,c,d){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s;e=false;f=CW.nil;g=CW.nil;h=CW.nil;i=this;g=d;j=d.$length;if(2>j){return[e,f,g,h];}if(!((b===(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0])))){return[e,f,g,h];}k=d;j=k.$length;l=false;m=1;n=0;o=0;while(true){if(!(m=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+m]);f=$append(f,p);q=J.DecodeRune($subslice(k,m));o=q[0];n=q[1];r=1;while(true){if(!(r>0,((s<0||s>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+s])));r=r+(1)>>0;}h=$appendSlice(h,E.StrToBytes(($encodeRune(o))));if((c===p)&&!D.IsBackslashEscapePunct(d,m)){l=true;h=$subslice(h,0,(h.$length-1>>0));break;}m=m+(n)>>0;}if(!l){f=CW.nil;return[e,f,g,h];}e=true;g=$subslice(d,(m+1>>0));return[e,f,g,h];};AA.prototype.parseLinkTitleMatch=function(b,c,d){return this.$val.parseLinkTitleMatch(b,c,d);};AA.ptr.prototype.parseLinkDest=function(b){var b,c,d,e,f,g,h;c=CW.nil;d=CW.nil;e=CW.nil;f=this;g=f.parseLinkDest1(b);c=g[0];d=g[1];e=g[2];if(CW.nil===c){h=f.parseLinkDest2(b);c=h[0];d=h[1];e=h[2];}if(!(CW.nil===c)){if(!f.ParseOption.VditorWYSIWYG&&!f.ParseOption.VditorIR&&!f.ParseOption.VditorSV&&!f.ParseOption.ProtyleWYSIWYG){e=G.EncodeDestination(G.UnescapeBytes(e));}}return[c,d,e];};AA.prototype.parseLinkDest=function(b){return this.$val.parseLinkDest(b);};AA.ptr.prototype.parseLinkDest2=function(b){var b,c,d,e,f,g,h,i,j,k,l,m,n,o;c=CW.nil;d=CW.nil;e=CW.nil;f=this;d=b;g=b.$length;if(1>g){return[c,d,e];}c=$makeSlice(CW,0,256);e=$makeSlice(CW,0,256);h=0;i=0;j=0;k=0;while(true){if(!(i=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+i]);c=$append(c,l);m=J.DecodeRune($subslice(b,i));k=m[0];j=m[1];n=1;while(true){if(!(n>0,((o<0||o>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+o])));n=n+(1)>>0;}e=$appendSlice(e,E.StrToBytes(($encodeRune(k))));if(D.IsWhitespace(l)||D.IsControl(l)){e=$subslice(e,0,(e.$length-1>>0));c=$subslice(c,0,(c.$length-1>>0));break;}if((40===l)&&!D.IsBackslashEscapePunct(b,i)){h=h+(1)>>0;}if((41===l)&&!D.IsBackslashEscapePunct(b,i)){h=h-(1)>>0;if(1>h){i=i+(1)>>0;break;}}i=i+(j)>>0;}d=$subslice(b,i);if(g>i&&!D.IsWhitespace(((i<0||i>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+i]))){c=CW.nil;return[c,d,e];}return[c,d,e];};AA.prototype.parseLinkDest2=function(b){return this.$val.parseLinkDest2(b);};AA.ptr.prototype.parseLinkDest1=function(b){var b,c,d,e,f,g,h,i,j,k,l,m,n,o;c=CW.nil;d=CW.nil;e=CW.nil;f=this;d=b;g=b.$length;if(2>g){return[c,d,e];}if(!((60===(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0])))){return[c,d,e];}c=$makeSlice(CW,0,256);e=$makeSlice(CW,0,256);h=false;i=0;j=0;k=0;while(true){if(!(i=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+i]);c=$append(c,l);j=1;if(0>0,((o<0||o>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+o])));n=n+(1)>>0;}e=$appendSlice(e,E.StrToBytes(($encodeRune(k))));if((60===l)&&!D.IsBackslashEscapePunct(b,i)){c=CW.nil;return[c,d,e];}}if((62===l)&&!D.IsBackslashEscapePunct(b,i)){h=true;e=$subslice(e,0,(e.$length-1>>0));break;}i=i+(j)>>0;}if(!h){c=CW.nil;return[c,d,e];}d=$subslice(b,(i+1>>0));return[c,d,e];};AA.prototype.parseLinkDest1=function(b){return this.$val.parseLinkDest1(b);};AA.ptr.prototype.parseLinkLabel=function(b){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t;c=0;d=CW.nil;e=CW.nil;f=this;g=b.$length;if(2>g){return[c,d,e];}if(!((91===(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0])))){return[c,d,e];}h=$makeSlice(CW,0,b.$length);h=$append(h,(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0]));i=false;j=1;while(true){if(!(j=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+j]);h=$append(h,k);l=J.DecodeRune($subslice(b,j));m=l[0];n=l[1];o=1;while(true){if(!(o>0,((p<0||p>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+p])));o=o+(1)>>0;}e=$appendSlice(e,E.StrToBytes(($encodeRune(m))));if((93===k)&&!D.IsBackslashEscapePunct(b,j)){i=true;e=$subslice(e,0,(e.$length-1>>0));d=$subslice(b,(j+1>>0));break;}if((91===k)&&!D.IsBackslashEscapePunct(b,j)){h=CW.nil;return[c,d,e];}j=j+(n)>>0;}if(!i||CW.nil===D.TrimWhitespace(e)||999=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+s]);if((r===32)&&s<(q-1>>0)&&((t=s+1>>0,((t<0||t>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+t]))===32)){e=$appendSlice($subslice(e,0,s),$subslice(e,(s+1>>0)));q=q-(1)>>0;}s=s+(1)>>0;}}c=h.$length;return[c,d,e];};AA.prototype.parseLinkLabel=function(b){return this.$val.parseLinkLabel(b);};AC.ptr.prototype.parseInlines=function(){var{b,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:b=this;$r=b.walkParseInline(b.Root);$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}if(b.Context.ParseOption.KramdownSpanIAL){$s=2;continue;}$s=3;continue;case 2:$r=b.parseKramdownSpanIAL();$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 3:$s=-1;return;}return;}var $f={$blk:AC.ptr.prototype.parseInlines,$c:true,$r,b,$s};return $f;};AC.prototype.parseInlines=function(){return this.$val.parseInlines();};AC.ptr.prototype.walkParseInline=function(b){var{b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s,$r,$c}=$restore(this,{b});$s=$s||0;s:while(true){switch($s){case 0:c=this;if(CY.nil===b){$s=-1;return;}d=b.Type;if(475===d){if(!(CY.nil===b.LastChild)&&(477===b.LastChild.Type)){b.Type=1;b.Tokens=$appendSlice((new CW($stringToBytes("{{{"))),b.LastChild.Tokens);b.FirstChild.Unlink();b.LastChild.Unlink();d=1;}}if((1===d)||(2===d)||(109===d)){$s=1;continue;}if(11===d){$s=2;continue;}$s=3;continue;case 1:e=b.Tokens;if(1===d){if(CW.nil===e){if(!((8===b.Parent.Type))||c.Context.ParseOption.VditorWYSIWYG||c.Context.ParseOption.VditorIR||c.Context.ParseOption.VditorSV){f=b.Next;b.Unlink();b.Next=f;}$s=-1;return;}else{g=c.Context.parseKramdownIALInListItem(e);if(0=g.$length?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+0]),(1>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+1])));i=b.Next;b.Unlink();b.Next=i;$s=-1;return;}}}}j=e.$length;if(1>j){$s=-1;return;}k=new AB.ptr(e,j,0,DM.nil,DM.nil);$r=c.parseInline(b,k);$s=4;case 4:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}c.processEmphasis(DM.nil,k);c.mergeText(b);if(c.Context.ParseOption.GFMAutoLink&&!c.Context.ParseOption.VditorWYSIWYG&&!c.Context.ParseOption.VditorIR&&!c.Context.ParseOption.VditorSV&&!c.Context.ParseOption.ProtyleWYSIWYG){c.parseGFMAutoEmailLink(b);c.parseGFMAutoLink(b);}if(c.Context.ParseOption.Emoji){$s=5;continue;}$s=6;continue;case 5:$r=c.emoji(b);$s=7;case 7:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}case 6:$s=-1;return;case 2:if(b.IsFencedCodeBlock){l=new B.Node.ptr("","","","",12,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,b.CodeBlockOpenFence,"","",false,false,false,0,false,0,b.CodeBlockFenceLen,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");b.PrependChild(l);m=new B.Node.ptr("","","","",14,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,b.CodeBlockInfo,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");b.AppendChild(m);n=new B.Node.ptr("","","","",15,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,b.Tokens,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");b.AppendChild(n);if(CW.nil===b.CodeBlockCloseFence){b.CodeBlockCloseFence=b.CodeBlockOpenFence;}o=new B.Node.ptr("","","","",13,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,b.CodeBlockCloseFence,"","",false,false,false,0,false,0,b.CodeBlockFenceLen,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");b.AppendChild(o);}else{p=new B.Node.ptr("","","","",15,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,b.Tokens,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");b.AppendChild(p);}b.Tokens=CW.nil;case 3:q=b.FirstChild;case 8:if(!(!(CY.nil===q))){$s=9;continue;}$r=c.walkParseInline(q);$s=10;case 10:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}q=q.Next;$s=8;continue;case 9:$s=-1;return;}return;}var $f={$blk:AC.ptr.prototype.walkParseInline,$c:true,$r,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,$s};return $f;};AC.prototype.walkParseInline=function(b){return this.$val.walkParseInline(b);};AC.ptr.prototype.parseInlineMath=function(b){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;c=CY.nil;d=this;if(3>b.tokensLen||!d.Context.ParseOption.InlineMath){b.pos=b.pos+(1)>>0;c=new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,AN,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");return c;}e=b.pos;f=e;g=0;while(true){if(!(f=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+f]))))){break;}g=g+(1)>>0;f=f+(1)>>0;}if(2<=g){if(d.Context.ParseOption.ProtyleWYSIWYG){b.pos=b.pos+(1)>>0;c=new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,AN,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");return c;}i=false;j=f+g>>0;k=0;while(true){if(!(j=l.$length)?($throwRuntimeError("index out of range"),undefined):l.$array[l.$offset+j]));if((36===k)&&j<(b.tokensLen-1>>0)&&(36===(m=b.tokens,n=j+1>>0,((n<0||n>=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n])))){i=true;break;}j=j+(1)>>0;}if(i){c=new B.Node.ptr("","","","",300,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");c.AppendChild(new B.Node.ptr("","","","",301,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));c.AppendChild(new B.Node.ptr("","","","",302,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,$subslice(b.tokens,f,j),"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));c.AppendChild(new B.Node.ptr("","","","",303,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));b.pos=j+2>>0;return c;}}if(!d.Context.ParseOption.InlineMathAllowDigitAfterOpenMarker&&b.tokensLen>(e+1>>0)&&D.IsDigit((o=b.tokens,p=e+1>>0,((p<0||p>=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p])))){b.pos=b.pos+(3)>>0;c=new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,$subslice(b.tokens,e,(e+3>>0)),"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");return c;}q=d.matchInlineMathEnd($subslice(b.tokens,(e+1>>0)));if(1>q){b.pos=b.pos+(1)>>0;c=new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,AN,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");return c;}if(d.Context.ParseOption.TextMark){if(A.Contains($subslice(b.tokens,(e+1>>0),((e+q>>0)+1>>0)),(new CW($stringToBytes(">0;c=new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,AN,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");return c;}}q=(e+q>>0)+2>>0;r=$subslice(b.tokens,(e+1>>0),(q-1>>0));if(1>D.TrimWhitespace(r).$length){b.pos=b.pos+(1)>>0;c=new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,AN,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");return c;}c=new B.Node.ptr("","","","",304,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");c.AppendChild(new B.Node.ptr("","","","",305,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));c.AppendChild(new B.Node.ptr("","","","",306,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,r,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));c.AppendChild(new B.Node.ptr("","","","",307,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));b.pos=q;return c;};AC.prototype.parseInlineMath=function(b){return this.$val.parseInlineMath(b);};AC.ptr.prototype.matchInlineMathEnd=function(b){var b,c,d,e,f,g;c=0;d=this;e=b.$length;while(true){if(!(c=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c]))&&0>0,((f<0||f>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+f]))))){if(c<(e-1>>0)){if(!D.IsDigit((g=c+1>>0,((g<0||g>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+g])))||d.Context.ParseOption.InlineMathAllowDigitAfterOpenMarker){c=c;return c;}}else{c=c;return c;}}else if(10===((c<0||c>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+c])){c=-1;return c;}c=c+(1)>>0;}c=-1;return c;};AC.prototype.matchInlineMathEnd=function(b){return this.$val.matchInlineMathEnd(b);};AA.ptr.prototype.parseInlineLinkDest=function(b){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{b});$s=$s||0;s:while(true){switch($s){case 0:c=CW.nil;d=CW.nil;e=CW.nil;f=this;d=b;g=b.$length;if(2>g){$s=-1;return[c,d,e];}c=$makeSlice(CW,0,256);e=$makeSlice(CW,0,256);h=60===(1>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+1]);if(h){i=false;c=$append(c,(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0]),(1>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+1]));j=2;k=1;l=0;m=CW.nil;n=CW.nil;o=m;p=n;while(true){if(!(j=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+j]);if(10===q){c=CW.nil;$s=-1;return[c,d,e];}if(q<128){c=$append(c,q);o=new CW([q]);}else{o=new CW([]);r=J.DecodeRune($subslice(b,j));l=r[0];k=r[1];p=E.StrToBytes(($encodeRune(l)));c=$appendSlice(c,p);o=$appendSlice(o,p);}e=$appendSlice(e,o);if((62===q)&&!D.IsBackslashEscapePunct(b,j)){e=$subslice(e,0,(e.$length-1>>0));i=true;break;}j=j+(k)>>0;}if(!i||g<=(j+1>>0)){c=CW.nil;$s=-1;return[c,d,e];}if((62===(s=j+1>>0,((s<0||s>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+s])))||(41===(t=j+1>>0,((t<0||t>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+t])))){c=$append(c,(u=j+1>>0,((u<0||u>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+u])));d=$subslice(b,(j+2>>0));}else{d=$subslice(b,(j+1>>0));}}else{v=0;w=0;x=1;y=0;z=CW.nil;aa=CW.nil;ab=z;ac=aa;ad=false;while(true){if(!(w=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+w]);if(ae<128){c=$append(c,ae);ab=new CW([ae]);}else{ab=new CW([]);af=J.DecodeRune($subslice(b,w));y=af[0];x=af[1];ac=E.StrToBytes(($encodeRune(y)));c=$appendSlice(c,ac);ab=$appendSlice(ab,ac);}e=$appendSlice(e,ab);if(!ad&&!D.IsWhitespace(ae)&&0>0));c=$subslice(c,0,(c.$length-1>>0));v=v-(1)>>0;break;}}else{if(ad&&D.IsWhitespace(ae)&&(w+1>>0)>0,((ag<0||ag>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+ag]));if((34===ah)||(39===ah)){e=$subslice(e,0,(e.$length-x>>0));c=$subslice(c,0,(c.$length-1>>0));v=v-(1)>>0;break;}}}if((40===ae)&&!D.IsBackslashEscapePunct(b,w)){v=v+(1)>>0;}if((41===ae)&&!D.IsBackslashEscapePunct(b,w)){v=v-(1)>>0;if(1>v){if(40===(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0])){e=$subslice(e,1);}e=$subslice(e,0,(e.$length-1>>0));break;}}w=w+(x)>>0;}d=$subslice(b,w);if(g>w&&(!((41===((w<0||w>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+w])))&&!((32===((w<0||w>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+w])))&&!((10===((w<0||w>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+w]))))){c=CW.nil;$s=-1;return[c,d,e];}if(!((0===v))){c=CW.nil;$s=-1;return[c,d,e];}}if(!(f.ParseOption.ProtyleWYSIWYG||!f.ParseOption.DataImage)){ai=false;$s=3;continue s;}aj=A.ToLower(e);$s=4;case 4:if($c){$c=false;aj=aj.$blk();}if(aj&&aj.$blk!==undefined){break s;}ak=A.HasPrefix(aj,(new CW($stringToBytes("data:image"))));$s=5;case 5:if($c){$c=false;ak=ak.$blk();}if(ak&&ak.$blk!==undefined){break s;}ai=ak;case 3:if(ai){$s=1;continue;}$s=2;continue;case 1:al=CW.nil;am=CW.nil;an=CW.nil;c=al;d=am;e=an;$s=-1;return[c,d,e];case 2:if(!(CW.nil===c)){if((!f.ParseOption.VditorWYSIWYG&&!f.ParseOption.VditorIR&&!f.ParseOption.VditorSV&&!f.ParseOption.ProtyleWYSIWYG)&&!f.ParseOption.ImgPathAllowSpace){e=G.EncodeDestination(G.UnescapeBytes(e));}}$s=-1;return[c,d,e];}return;}var $f={$blk:AA.ptr.prototype.parseInlineLinkDest,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};AA.prototype.parseInlineLinkDest=function(b){return this.$val.parseInlineLinkDest(b);};AC.ptr.prototype.parseInlineHTML=function(b){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{b});$s=$s||0;s:while(true){switch($s){case 0:c=CY.nil;d=this;e=b.tokens;f=false;g=false;if(d.Context.ParseOption.VditorWYSIWYG||d.Context.ParseOption.VditorIR||d.Context.ParseOption.VditorSV||d.Context.ParseOption.ProtyleWYSIWYG){h=A.Index(e,C.CaretTokens);f=h>b.pos;if(f){g=A.Contains(e,(new CW($stringToBytes(" \xE2\x80\xB8"))));e=A.ReplaceAll(e,C.CaretTokens,(new CW($stringToBytes("caretreplacement"))));e=A.ReplaceAll(e,(new CW($stringToBytes("\"caretreplacement"))),(new CW($stringToBytes("\" caretreplacement"))));}}i=b.pos;c=new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,new CW([(j=b.pos,((j<0||j>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+j]))]),"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");if(3>b.tokensLen||b.tokensLen<=(i+1>>0)){b.pos=b.pos+(1)>>0;$s=-1;return c;}k=CW.nil;k=$append(k,((i<0||i>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+i]));if((47===(l=i+1>>0,((l<0||l>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+l])))&&1<(b.tokensLen-((i+1>>0))>>0)){k=$append(k,(m=i+1>>0,((m<0||m>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+m])));n=d.parseTagName($subslice(e,(b.pos+2>>0)));o=n[0];p=n[1];if(1>p.$length){b.pos=b.pos+(1)>>0;$s=-1;return c;}k=$appendSlice(k,p);e=o;}else{q=d.parseTagName($subslice(e,(b.pos+1>>0)));r=q[0];s=q[1];if(0>0;$s=-1;return c;}e=v;k=$appendSlice(k,w);if(1>w.$length){break;}}}else{x=d.parseHTMLComment($subslice(e,(b.pos+1>>0)));y=x[0];z=x[1];aa=x[2];if(y){k=$appendSlice(k,aa);e=z;b.pos=b.pos+(k.$length)>>0;c=new B.Node.ptr("","","","",10,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,k,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");$s=-1;return c;}else{ab=d.parseProcessingInstruction($subslice(e,(b.pos+1>>0)));ac=ab[0];ad=ab[1];ae=ab[2];if(ac){k=$appendSlice(k,ae);e=ad;b.pos=b.pos+(k.$length)>>0;c=new B.Node.ptr("","","","",10,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,k,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");$s=-1;return c;}else{af=d.parseDeclaration($subslice(e,(b.pos+1>>0)));ag=af[0];ah=af[1];ai=af[2];if(ag){k=$appendSlice(k,ai);e=ah;b.pos=b.pos+(k.$length)>>0;c=new B.Node.ptr("","","","",10,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,k,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");$s=-1;return c;}else{aj=d.parseCDATA($subslice(e,(b.pos+1>>0)));ak=aj[0];al=aj[1];am=aj[2];if(ak){k=$appendSlice(k,am);e=al;b.pos=b.pos+(k.$length)>>0;c=new B.Node.ptr("","","","",10,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,k,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");$s=-1;return c;}else{b.pos=b.pos+(1)>>0;$s=-1;return c;}}}}}}an=D.TrimLeft(e);ao=an[0];e=an[1];ap=e.$length;if(1>ap){b.pos=i+1>>0;$s=-1;return c;}if(((62===(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0])))||(1=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]))&&(62===(1>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+1])))){$s=1;continue;}$s=2;continue;case 1:k=$appendSlice(k,ao);k=$append(k,(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0]));if(47===(0>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+0])){k=$append(k,(1>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+1]));}if((d.Context.ParseOption.VditorWYSIWYG||d.Context.ParseOption.VditorIR||d.Context.ParseOption.VditorSV)&&f||d.Context.ParseOption.ProtyleWYSIWYG){if(!A.Contains(k,(new CW($stringToBytes("caretreplacement "))))&&!g){k=A.ReplaceAll(k,(new CW($stringToBytes("\" caretreplacement"))),(new CW($stringToBytes("\"caretreplacement"))));}k=A.ReplaceAll(k,(new CW($stringToBytes("caretreplacement"))),C.CaretTokens);}b.pos=b.pos+(k.$length)>>0;if(d.Context.ParseOption.ProtyleWYSIWYG){$s=3;continue;}$s=4;continue;case 3:if(A.Equal(k,(new CW($stringToBytes("
"))))||A.Equal(k,(new CW($stringToBytes("
"))))){$s=5;continue;}if(A.HasPrefix(k,(new CW($stringToBytes(""))))){$s=7;continue;}if(A.Equal(k,(new CW($stringToBytes(""))))){$s=8;continue;}if(A.Equal(k,(new CW($stringToBytes(""))))){$s=9;continue;}if(A.Equal(k,(new CW($stringToBytes(""))))){$s=10;continue;}$s=11;continue;case 5:c=new B.Node.ptr("","","","",525,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");$s=-1;return c;case 6:aq=d.processSpanTag(k,"",b);$s=12;case 12:if($c){$c=false;aq=aq.$blk();}if(aq&&aq.$blk!==undefined){break s;}c=aq;$s=-1;return c;case 7:ar=d.processSpanTag(k,"","",b);$s=13;case 13:if($c){$c=false;ar=ar.$blk();}if(ar&&ar.$blk!==undefined){break s;}c=ar;$s=-1;return c;case 8:as=d.processSpanTag(k,"","",b);$s=14;case 14:if($c){$c=false;as=as.$blk();}if(as&&as.$blk!==undefined){break s;}c=as;$s=-1;return c;case 9:at=d.processSpanTag(k,"","",b);$s=15;case 15:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}c=at;$s=-1;return c;case 10:au=d.processSpanTag(k,"","",b);$s=16;case 16:if($c){$c=false;au=au.$blk();}if(au&&au.$blk!==undefined){break s;}c=au;$s=-1;return c;case 11:case 4:c=new B.Node.ptr("","","","",10,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,k,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");$s=-1;return c;case 2:b.pos=i+1>>0;$s=-1;return c;}return;}var $f={$blk:AC.ptr.prototype.parseInlineHTML,$c:true,$r,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,at,au,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s};return $f;};AC.prototype.parseInlineHTML=function(b){return this.$val.parseInlineHTML(b);};AC.ptr.prototype.processSpanTag=function(b,c,d,e){var{b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s,$r,$c}=$restore(this,{b,c,d,e});$s=$s||0;s:while(true){switch($s){case 0:f=CY.nil;g=this;h=$subslice(e.tokens,e.pos);if(1>h.$length){$s=-1;return f;}i=A.Index(h,(new CW($stringToBytes(d))));if(-1===i){f=new B.Node.ptr("","","","",10,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,b,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");$s=-1;return f;}j=d.length;k=i+j>>0;if(h.$length=o.$length?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+0]);q="";r=c.length;if(""===c||""===c||""===c||""===c){if(!g.Context.ParseOption.HTMLTag2TextMark){f=new B.Node.ptr("","","","",10,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,b,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");$s=-1;return f;}q=p.Data;}else{q=($bytesToString($subslice(b,(r+1>>0))));q=$substring(q,0,F.Index(q,"\""));}f=new B.Node.ptr("","","","",530,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,q,"","","","","","","","","","",0,"");$r=AT(f,p,g.Context.ParseOption);$s=2;case 2:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}e.pos=e.pos+((i+j>>0))>>0;$s=-1;return f;}return;}var $f={$blk:AC.ptr.prototype.processSpanTag,$c:true,$r,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,$s};return $f;};AC.prototype.processSpanTag=function(b,c,d,e){return this.$val.processSpanTag(b,c,d,e);};AC.ptr.prototype.parseCDATA=function(b){var b,c,d,e,f,g,h,i,j,k;c=false;d=CW.nil;e=CW.nil;f=this;d=b;if(8>b.$length){return[c,d,e];}if(!((33===(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0])))){return[c,d,e];}if(!((91===(1>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+1])))){return[c,d,e];}if(!((67===(2>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+2])))||!((68===(3>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+3])))||!((65===(4>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+4])))||!((84===(5>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+5])))||!((65===(6>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+6])))){return[c,d,e];}if(!((91===(7>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+7])))){return[c,d,e];}e=$appendSlice(e,$subslice(b,0,7));b=$subslice(b,7);g=0;h=0;i=b.$length;while(true){if(!(h=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+h]);e=$append(e,g);if(h<=(i-3>>0)&&(93===g)&&(93===(j=h+1>>0,((j<0||j>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+j])))&&(62===(k=h+2>>0,((k<0||k>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+k])))){break;}h=h+(1)>>0;}b=$subslice(b,h);if(3>b.$length){return[c,d,e];}if(!((93===(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0])))||!((93===(1>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+1])))||!((62===(2>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+2])))){return[c,d,e];}e=$append(e,(1>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+1]),(2>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+2]));c=true;d=$subslice(b,3);return[c,d,e];};AC.prototype.parseCDATA=function(b){return this.$val.parseCDATA(b);};AC.ptr.prototype.parseDeclaration=function(b){var b,c,d,e,f,g,h,i,j,k;c=false;d=CW.nil;e=CW.nil;f=this;d=b;if(2>b.$length){return[c,d,e];}if(!((33===(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0])))){return[c,d,e];}g=0;h=0;i=$subslice(b,1);j=0;while(true){if(!(j=i.$length)?($throwRuntimeError("index out of range"),undefined):i.$array[i.$offset+j]);if(D.IsWhitespace(g)){break;}if(!(65<=g&&90>=g)){return[c,d,e];}j++;}e=$append(e,(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0]),(1>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+1]));b=$subslice(b,2);k=b.$length;while(true){if(!(h=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+h]);e=$append(e,g);if(62===g){break;}h=h+(1)>>0;}b=$subslice(b,h);if(1>b.$length||!((62===(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0])))){return[c,d,e];}c=true;d=$subslice(b,1);return[c,d,e];};AC.prototype.parseDeclaration=function(b){return this.$val.parseDeclaration(b);};AC.ptr.prototype.parseProcessingInstruction=function(b){var b,c,d,e,f,g,h,i,j;c=false;d=CW.nil;e=CW.nil;f=this;d=b;if(!((63===(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0])))){return[c,d,e];}e=$append(e,(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0]));b=$subslice(b,1);g=0;h=0;i=b.$length;while(true){if(!(h=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+h]);e=$append(e,g);if(h<=(i-2>>0)&&(63===g)&&(62===(j=h+1>>0,((j<0||j>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+j])))){break;}h=h+(1)>>0;}b=$subslice(b,h);if(1>b.$length){return[c,d,e];}if(!((63===(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0])))||!((62===(1>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+1])))){return[c,d,e];}e=$append(e,(1>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+1]));c=true;d=$subslice(b,2);return[c,d,e];};AC.prototype.parseProcessingInstruction=function(b){return this.$val.parseProcessingInstruction(b);};AC.ptr.prototype.parseHTMLComment=function(b){var b,c,d,e,f,g,h,i,j;c=false;d=CW.nil;e=CW.nil;f=this;d=b;if(3>b.$length){return[c,d,e];}if(!((33===(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0])))||!((45===(1>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+1])))||!((45===(2>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+2])))){return[c,d,e];}g=b.$length;h=0;while(true){if(!(h=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+h]));if(h<=(g-3>>0)&&(45===((h<0||h>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+h]))&&(45===(i=h+1>>0,((i<0||i>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+i])))&&(62===(j=h+2>>0,((j<0||j>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+j])))){break;}h=h+(1)>>0;}b=$subslice(b,h);if(3>b.$length||!((45===(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0])))||!((45===(1>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+1])))||!((62===(2>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+2])))){return[c,d,e];}e=$append(e,(1>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+1]),(2>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+2]));c=true;d=$subslice(b,3);return[c,d,e];};AC.prototype.parseHTMLComment=function(b){return this.$val.parseHTMLComment(b);};AO=function(b){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p;c=false;d=CW.nil;e=CW.nil;f=CW.nil;g=CW.nil;c=true;d=b;h=CW.nil;i=0;j=0;k=b;l=0;while(true){if(!(l=k.$length)?($throwRuntimeError("index out of range"),undefined):k.$array[k.$offset+l]);if(!D.IsWhitespace(j)){break;}h=$append(h,j);l++;}if(1>h.$length){return[c,d,e,f,g];}b=$subslice(b,i);m=CW.nil;n=AQ(b);b=n[0];m=n[1];if(1>m.$length){return[c,d,e,f,g];}o=CW.nil;p=AP(b);c=p[0];b=p[1];o=p[2];if(!c){return[c,d,e,f,g];}d=b;e=$appendSlice(e,h);e=$appendSlice(e,m);e=$appendSlice(e,o);if(!(CW.nil===o)){f=m;g=$subslice(o,2,(o.$length-1>>0));}return[c,d,e,f,g];};$pkg.TagAttr=AO;AP=function(b){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;c=false;d=CW.nil;e=CW.nil;c=true;d=b;f=0;g=0;h=b;i=0;while(true){if(!(i=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+i]);if(!D.IsWhitespace(g)){break;}e=$append(e,g);i++;}if(!((61===g))){e=CW.nil;return[c,d,e];}e=$append(e,g);b=$subslice(b,(f+1>>0));if(1>b.$length){c=false;return[c,d,e];}j=b;k=0;while(true){if(!(k=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]);if(!D.IsWhitespace(g)){break;}e=$append(e,g);k++;}g=((f<0||f>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+f]);e=$append(e,g);b=$subslice(b,(f+1>>0));l=false;if(34===g){m=b;n=0;while(true){if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);e=$append(e,g);if(34===g){l=true;break;}n++;}}else if(39===g){o=b;p=0;while(true){if(!(p=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+p]);e=$append(e,g);if(39===g){l=true;break;}p++;}}else{q=b;r=0;while(true){if(!(r=q.$length)?($throwRuntimeError("index out of range"),undefined):q.$array[q.$offset+r]);if(62===g){f=f-(1)>>0;break;}e=$append(e,g);if(D.IsWhitespace(g)){break;}if((34===g)||(39===g)||(61===g)||(60===g)||(62===g)||(96===g)){l=false;break;}l=true;r++;}}if(!l){c=false;e=CW.nil;return[c,d,e];}d=$subslice(b,(f+1>>0));return[c,d,e];};AQ=function(b){var b,c,d,e,f,g,h;c=CW.nil;d=CW.nil;c=b;if(!D.IsASCIILetter((0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0]))&&!((95===(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0])))&&!((58===(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0])))){return[c,d];}d=$append(d,(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0]));b=$subslice(b,1);e=0;f=0;g=b;h=0;while(true){if(!(h=g.$length)?($throwRuntimeError("index out of range"),undefined):g.$array[g.$offset+h]);if(!D.IsASCIILetterNumHyphen(f)&&!((95===f))&&!((46===f))&&!((58===f))){break;}d=$append(d,f);h++;}if(1>d.$length){return[c,d];}c=$subslice(b,e);return[c,d];};AC.ptr.prototype.parseTagName=function(b){var b,c,d,e,f,g,h,i;c=CW.nil;d=CW.nil;e=this;if(1>b.$length){return[c,d];}f=0;g=((f<0||f>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+f]);if(!D.IsASCIILetter(g)){h=b;i=CW.nil;c=h;d=i;return[c,d];}d=$append(d,g);f=1;while(true){if(!(f=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+f]);if(!D.IsASCIILetterNumHyphen(g)){break;}d=$append(d,g);f=f+(1)>>0;}c=$subslice(b,f);return[c,d];};AC.prototype.parseTagName=function(b){return this.$val.parseTagName(b);};AR=function(b,c){var{aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar,as,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{b,c});$s=$s||0;s:while(true){switch($s){case 0:if(CY.nil===b||DN.nil===c){$s=-1;return;}d=false;e=E.DomAttrValue(c,"style");if(!(""===e)){$s=1;continue;}$s=2;continue;case 1:f=AU(e);$s=3;case 3:if($c){$c=false;f=f.$blk();}if(f&&f.$blk!==undefined){break s;}e=f;b.SetIALAttr("style",e);g=BA(b.KramdownIAL);$s=4;case 4:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;i=new B.Node.ptr("","","","",456,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,h,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");if(109===b.Type){b.PrependChild(i);}else{b.InsertAfter(i);}d=true;case 2:j=E.DomCustomAttrs(c);if(!(false===j)){$s=5;continue;}$s=6;continue;case 5:if(!d){$s=7;continue;}$s=8;continue;case 7:k=j;l=0;m=k?k.keys():undefined;n=k?k.size:0;while(true){if(!(l=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);h=c;i=0;while(true){if(!(i=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+i]);if(g===j){return true;}i++;}f++;}return false;};$pkg.ContainTextMark=AS;AT=function(b,c,d){var{aa,ab,ac,ad,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{b,c,d});$s=$s||0;s:while(true){switch($s){case 0:b.Type=530;e=E.DomAttrValue(c,"data-type");if(""===e){if(c.DataAtom===40708){e="text";}else{e=new K.Atom(c.DataAtom).String();}}b.TextMarkType=e;b.Tokens=CW.nil;f=F.Split(e," ");g=DC.nil;h=f;i=0;while(true){if(!(i=h.$length)?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+i]);if("a"===k||"inline-memo"===k||"block-ref"===k||"file-annotation-ref"===k||"inline-math"===k){g=$append(g,k);f=$appendSlice($subslice(f,0,j),$subslice(f,(j+1>>0)));break;}i++;}f=$appendSlice(g,f);l=false;m=f;n=0;case 1:if(!(n=m.$length)?($throwRuntimeError("index out of range"),undefined):m.$array[m.$offset+n]);p=o;if(p===("a")){$s=4;continue;}if(p===("inline-math")){$s=5;continue;}if(p===("block-ref")){$s=6;continue;}if(p===("file-annotation-ref")){$s=7;continue;}if(p===("inline-memo")){$s=8;continue;}if(!l){$s=9;continue;}$s=10;continue;case 4:q=E.GetTextMarkAData(c);b.TextMarkAHref=q[0];b.TextMarkATitle=q[1];r=E.GetTextMarkTextData(c);$s=11;case 11:if($c){$c=false;r=r.$blk();}if(r&&r.$blk!==undefined){break s;}b.TextMarkTextContent=r;$s=10;continue;case 5:b.TextMarkInlineMathContent=E.GetTextMarkInlineMathData(c);l=true;$s=10;continue;case 6:s=E.GetTextMarkBlockRefData(c);b.TextMarkBlockRefID=s[0];b.TextMarkBlockRefSubtype=s[1];t=E.GetTextMarkTextData(c);$s=12;case 12:if($c){$c=false;t=t.$blk();}if(t&&t.$blk!==undefined){break s;}b.TextMarkTextContent=t;$s=10;continue;case 7:b.TextMarkFileAnnotationRefID=E.GetTextMarkFileAnnotationRefData(c);u=E.GetTextMarkTextData(c);$s=13;case 13:if($c){$c=false;u=u.$blk();}if(u&&u.$blk!==undefined){break s;}b.TextMarkTextContent=u;$s=10;continue;case 8:v=E.GetTextMarkTextData(c);$s=14;case 14:if($c){$c=false;v=v.$blk();}if(v&&v.$blk!==undefined){break s;}b.TextMarkTextContent=v;b.TextMarkInlineMemoContent=E.GetTextMarkInlineMemoData(c);w=Z("",(new CW($stringToBytes(b.TextMarkInlineMemoContent))),d);$s=15;case 15:if($c){$c=false;w=w.$blk();}if(w&&w.$blk!==undefined){break s;}x=w;if(!(DH.nil===x)){$s=16;continue;}$s=17;continue;case 16:y=x.Root.Content();$s=18;case 18:if($c){$c=false;y=y.$blk();}if(y&&y.$blk!==undefined){break s;}z=F.ReplaceAll(y,"\n","_esc_newline_");$s=19;case 19:if($c){$c=false;z=z.$blk();}if(z&&z.$blk!==undefined){break s;}b.TextMarkInlineMemoContent=z;b.TextMarkInlineMemoContent=F.ReplaceAll(b.TextMarkInlineMemoContent,"\"",""");case 17:$s=10;continue;case 9:aa=E.GetTextMarkTextDataWithoutEscapeSingleQuote(c);$s=20;case 20:if($c){$c=false;aa=aa.$blk();}if(aa&&aa.$blk!==undefined){break s;}b.TextMarkTextContent=aa;if(b.ContainTextMarkTypes(new DC(["strong","em","s","mark","sup","sub"]))){$s=21;continue;}$s=22;continue;case 21:ab=AV(b.TextMarkTextContent);if(0>0;e+=f[1];}return c;};AW=function(b){var b,c,d;c=0;d=b.length-1>>0;while(true){if(!(d>=0)){break;}if(!((32===b.charCodeAt(d)))){break;}c=c+(1)>>0;d=d-(1)>>0;}return c;};AX=function(b,c){var{b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s,$r,$c}=$restore(this,{b,c});$s=$s||0;s:while(true){switch($s){case 0:if(!b.Context.ParseOption.KramdownBlockIAL||b.Context.indented){$s=-1;return 0;}if((8===b.Context.Tip.Type)&&CY.nil===b.Context.Tip.FirstChild){$s=-1;return 0;}d=b.parseKramdownBlockIAL();if(!(DD.nil===d)){$s=1;continue;}$s=2;continue;case 1:$r=b.Context.closeUnmatchedBlocks();$s=3;case 3:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}b.Context.offset=b.Context.currentLineLen;if(E.IsDocIAL2(d)){b.Context.rootIAL=new B.Node.ptr("","","","",455,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,$subslice(b.Context.currentLine,b.Context.nextNonspace),"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");b.Root.KramdownIAL=d;b.Root.ID=(e=(0>=d.$length?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+0]),(1>=e.$length?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+1]));b.ID=b.Root.ID;$s=-1;return 2;}f=b.Context.lastMatchedContainer;if(b.Context.allClosed){$s=4;continue;}$s=5;continue;case 4:if((0===f.Type)||(8===f.Type)||(5===f.Type)||(475===f.Type)){$s=6;continue;}$s=7;continue;case 6:f=b.Context.Tip.LastChild;if(CY.nil===f){f=b.Context.lastMatchedContainer;}if(((477===f.Type)||(455===f.Type))&&!(CY.nil===f.Parent)){$s=8;continue;}if(6===f.Type){$s=9;continue;}if(0===f.Type){$s=10;continue;}$s=11;continue;case 8:g=BA(d);$s=12;case 12:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}h=g;if(!A.HasPrefix(f.Tokens,h)){i=new B.Node.ptr("","","","",1,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,(new CW($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");f.InsertAfter(i);b.Context.Tip=i;f=i;}$s=11;continue;case 9:j=new B.Node.ptr("","","","",1,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,(new CW($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");f.InsertAfter(j);b.Context.Tip=j;f=j;$s=11;continue;case 10:k=new B.Node.ptr("","","","",1,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,(new CW($stringToBytes(" "))),"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");f.AppendChild(k);b.Context.Tip=k;f=k;case 11:case 7:case 5:f.KramdownIAL=d;l=BE(d);f.ID=(m=$mapIndex(l,$String.keyFor("id")),m!==undefined?m.v:"");n=b.Context.addChild(455);$s=13;case 13:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}o=n;o.Tokens=$subslice(b.Context.currentLine,b.Context.nextNonspace);$s=-1;return 2;case 2:$s=-1;return 0;}return;}var $f={$blk:AX,$c:true,$r,b,c,d,e,f,g,h,i,j,k,l,m,n,o,$s};return $f;};$pkg.IALStart=AX;BA=function(b){var{b,c,d,e,f,g,h,i,j,k,l,m,n,$s,$r,$c}=$restore(this,{b});$s=$s||0;s:while(true){switch($s){case 0:c=new A.Buffer.ptr(CW.nil,0,0);d=c.WriteString("{: ");$s=1;case 1:if($c){$c=false;d=d.$blk();}if(d&&d.$blk!==undefined){break s;}d;e=b;f=0;case 2:if(!(f=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]);i=c.WriteString((0>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+0]));$s=4;case 4:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;j=c.WriteString("=\"");$s=5;case 5:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;k=c.WriteString((1>=h.$length?($throwRuntimeError("index out of range"),undefined):h.$array[h.$offset+1]));$s=6;case 6:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}k;l=c.WriteByte(34);$s=7;case 7:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}l;if(g<(b.$length-1>>0)){$s=8;continue;}$s=9;continue;case 8:m=c.WriteByte(32);$s=10;case 10:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}m;case 9:f++;$s=2;continue;case 3:n=c.WriteByte(125);$s=11;case 11:if($c){$c=false;n=n.$blk();}if(n&&n.$blk!==undefined){break s;}n;$s=-1;return c.Bytes();}return;}var $f={$blk:BA,$c:true,$r,b,c,d,e,f,g,h,i,j,k,l,m,n,$s};return $f;};$pkg.IAL2Tokens=BA;BD=function(b){var b,c,d,e,f,g;c=false;c=$makeMap($String.keyFor,[]);d=b;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);g=(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0]);(c||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(g),{k:g,v:G.UnescapeAttrVal((1>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+1]))});e++;}return c;};$pkg.IAL2Map=BD;BE=function(b){var b,c,d,e,f,g;c=false;c=$makeMap($String.keyFor,[]);d=b;e=0;while(true){if(!(e=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]);g=(0>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+0]);(c||$throwRuntimeError("assignment to entry in nil map")).set($String.keyFor(g),{k:g,v:(1>=f.$length?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+1])});e++;}return c;};$pkg.IAL2MapUnEsc=BE;BG=function(b){var b;if(7>=b.$length){return false;}return A.Contains(b,(new CW($stringToBytes("id=\""))));};BH=function(b){var b,c,d,e,f,g,h,i;c=DD.nil;b=A.TrimRight(b," \n");b=A.TrimPrefix(b,(new CW($stringToBytes("{:"))));b=A.TrimSuffix(b,(new CW($stringToBytes("}"))));b=A.ReplaceAll(b,(new CW($stringToBytes("\n"))),(new CW($stringToBytes("_esc_newline_"))));while(true){d=AO(b);e=d[0];f=d[1];g=d[2];h=d[3];i=d[4];if(!e){break;}b=f;if(1>g.$length){break;}i=A.ReplaceAll(i,(new CW($stringToBytes("_esc_newline_"))),(new CW($stringToBytes("\n"))));c=$append(c,new DC([E.BytesToStr(h),E.BytesToStr(i)]));}return c;};$pkg.Tokens2IAL=BH;AC.ptr.prototype.parseKramdownBlockIAL=function(){var b,c,d;b=DD.nil;c=this;d=$subslice(c.Context.currentLine,c.Context.nextNonspace);b=c.Context.parseKramdownBlockIAL(d);return b;};AC.prototype.parseKramdownBlockIAL=function(){return this.$val.parseKramdownBlockIAL();};AC.ptr.prototype.parseKramdownSpanIAL=function(){var{b,$s,$r,$c}=$restore(this,{});$s=$s||0;s:while(true){switch($s){case 0:b=[b];b[0]=this;$r=B.Walk(b[0].Root,(function(b){return function(c,d){var c,d,e,f,g,h,i,j;if(!d){return 2;}switch(0){default:e=c.Type;if((e===(17))||(e===(22))||(e===(27))||(e===(101))||(e===(460))||(e===(450))||(e===(34))||(e===(530))){break;}else{return 2;}}if(CY.nil===c.Next||!((16===c.Next.Type))){return 2;}f=c.Next.Tokens;g=b[0].Context.parseKramdownSpanIAL(f);h=g[0];i=g[1];if(0>0));if(1>c.Next.Tokens.$length){c.Next.Unlink();}j=new B.Node.ptr("","","","",456,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,$subslice(f,0,(h+1>>0)),"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");c.InsertAfter(j);}return 2;};})(b));$s=1;case 1:if($c){$c=false;$r=$r.$blk();}if($r&&$r.$blk!==undefined){break s;}$s=-1;return;}return;}var $f={$blk:AC.ptr.prototype.parseKramdownSpanIAL,$c:true,$r,b,$s};return $f;};AC.prototype.parseKramdownSpanIAL=function(){return this.$val.parseKramdownSpanIAL();};AA.ptr.prototype.parseKramdownBlockIAL=function(b){var b,c,d,e,f;c=DD.nil;d=this;e=A.Index(b,(new CW($stringToBytes("{:"))));if(0===e){b=$subslice(b,(e+2>>0));f=A.LastIndex(b,BR);if(3>f){return c;}if(!A.Equal($subslice(b,f),(new CW($stringToBytes("}\n"))))){return c;}c=BH(b);}return c;};AA.prototype.parseKramdownBlockIAL=function(b){return this.$val.parseKramdownBlockIAL(b);};AA.ptr.prototype.parseKramdownSpanIAL=function(b){var b,c,d,e,f,g,h,i,j,k,l,m,n,o;c=0;d=DD.nil;e=this;c=A.Index(b,BR);f=A.Index(b,(new CW($stringToBytes("{:"))));if((0===f)&&(f+2>>0)>0));g=A.Index(b,BR);if(3>g){return[c,d];}b=$subslice(b,0,g);while(true){h=AO(b);i=h[0];j=h[1];k=h[2];l=h[3];m=h[4];if(!i){break;}b=j;if(1>k.$length){break;}n=F.ReplaceAll(E.BytesToStr(l),"\xE2\x80\xB8","");o=F.ReplaceAll(E.BytesToStr(m),"\xE2\x80\xB8","");d=$append(d,new DC([n,o]));}}return[c,d];};AA.prototype.parseKramdownSpanIAL=function(b){return this.$val.parseKramdownSpanIAL(b);};AA.ptr.prototype.parseKramdownIALInListItem=function(b){var b,c,d,e,f,g,h,i,j,k,l;c=DD.nil;d=this;e=A.Index(b,(new CW($stringToBytes("{:"))));if(0===e){b=$subslice(b,(e+2>>0));f=A.Index(b,BR);if(3>f){return c;}b=$subslice(b,0,A.Index(b,(new CW($stringToBytes("}")))));while(true){g=AO(b);h=g[0];i=g[1];j=g[2];k=g[3];l=g[4];if(!h){break;}b=i;if(1>j.$length){break;}c=$append(c,new DC([E.BytesToStr(k),E.BytesToStr(l)]));}}return c;};AA.prototype.parseKramdownIALInListItem=function(b){return this.$val.parseKramdownIALInListItem(b);};AC.ptr.prototype.parseInline=function(b,c){var{b,c,d,e,f,g,h,i,j,k,l,m,$s,$r,$c}=$restore(this,{b,c});$s=$s||0;s:while(true){switch($s){case 0:d=this;case 1:if(!(c.pos=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]));h=CY.nil;i=g;if(i===(92)){$s=4;continue;}if(i===(96)){$s=5;continue;}if((i===(42))||(i===(95))||(i===(126))||(i===(61))||(i===(35))){$s=6;continue;}if(i===(94)){$s=7;continue;}if(i===(10)){$s=8;continue;}if(i===(60)){$s=9;continue;}if(i===(91)){$s=10;continue;}if(i===(93)){$s=11;continue;}if(i===(38)){$s=12;continue;}if(i===(33)){$s=13;continue;}if(i===(36)){$s=14;continue;}if(i===(123)){$s=15;continue;}if(i===(40)){$s=16;continue;}$s=17;continue;case 4:h=d.parseBackslash(b,c);$s=18;continue;case 5:j=d.parseCodeSpan(b,c);$s=19;case 19:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}h=j;$s=18;continue;case 6:d.handleDelim(b,c);$s=18;continue;case 7:if(d.Context.ParseOption.Sup){d.handleDelim(b,c);}else{h=d.parseText(c);}$s=18;continue;case 8:h=d.parseNewline(b,c);$s=18;continue;case 9:h=d.parseAutolink(c);if(CY.nil===h){$s=20;continue;}$s=21;continue;case 20:h=d.parseAutoEmailLink(c);if(CY.nil===h){$s=22;continue;}$s=23;continue;case 22:k=d.parseFileAnnotationRef(c);$s=24;case 24:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}h=k;if(CY.nil===h){$s=25;continue;}$s=26;continue;case 25:l=d.parseInlineHTML(c);$s=27;case 27:if($c){$c=false;l=l.$blk();}if(l&&l.$blk!==undefined){break s;}h=l;if(d.Context.ParseOption.ProtyleWYSIWYG&&!(CY.nil===h)&&(10===h.Type)){h.Type=16;}case 26:case 23:case 21:$s=18;continue;case 10:h=d.parseOpenBracket(c);$s=18;continue;case 11:m=d.parseCloseBracket(c);$s=28;case 28:if($c){$c=false;m=m.$blk();}if(m&&m.$blk!==undefined){break s;}h=m;$s=18;continue;case 12:h=d.parseEntity(c);$s=18;continue;case 13:h=d.parseBang(c);$s=18;continue;case 14:h=d.parseInlineMath(c);$s=18;continue;case 15:h=d.parseHeadingID(b,c);$s=18;continue;case 16:h=d.parseBlockRef(c);$s=18;continue;case 17:h=d.parseText(c);case 18:case 3:if(!(CY.nil===h)){b.AppendChild(h);}$s=1;continue;case 2:b.Tokens=CW.nil;$s=-1;return;}return;}var $f={$blk:AC.ptr.prototype.parseInline,$c:true,$r,b,c,d,e,f,g,h,i,j,k,l,m,$s};return $f;};AC.prototype.parseInline=function(b,c){return this.$val.parseInline(b,c);};AC.ptr.prototype.parseEntity=function(b){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;c=CY.nil;d=this;g=new CW([(e=b.tokens,f=b.pos,((f<0||f>=e.$length)?($throwRuntimeError("index out of range"),undefined):e.$array[e.$offset+f]))]);if(2>b.tokensLen||b.tokensLen<=(b.pos+1>>0)){b.pos=b.pos+(1)>>0;c=new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,g,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");return c;}h=b.pos;i=false;if(3>0,((k<0||k>=j.$length)?($throwRuntimeError("index out of range"),undefined):j.$array[j.$offset+k]));}l=b.pos;m=0;n=false;while(true){if(!(l=o.$length)?($throwRuntimeError("index out of range"),undefined):o.$array[o.$offset+l]));if(D.IsWhitespace(m)){break;}if(59===m){l=l+(1)>>0;n=true;break;}l=l+(1)>>0;}if(!n){b.pos=b.pos+(1)>>0;c=new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,g,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");return c;}p=E.BytesToStr($subslice(b.tokens,h,l));if(i){q=p.length;if(10q){b.pos=b.pos+(1)>>0;c=new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,g,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");return c;}if(((120===p.charCodeAt(2))||(88===p.charCodeAt(2)))&&5>q){b.pos=b.pos+(1)>>0;c=new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,g,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");return c;}}r=G.HtmlUnescapeString(p);if(r===p){b.pos=b.pos+(1)>>0;c=new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,g,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");return c;}b.pos=b.pos+((l-h>>0))>>0;c=new B.Node.ptr("","","","",44,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,E.StrToBytes(r),"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,E.StrToBytes(p),DD.nil,false,"","","","","","","","","","","",0,"");return c;};AC.prototype.parseEntity=function(b){return this.$val.parseEntity(b);};AC.ptr.prototype.parseCloseBracket=function(b){var{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,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,$s,$r,$c}=$restore(this,{b});$s=$s||0;s:while(true){switch($s){case 0:c=this;f=new CW([(d=b.tokens,e=b.pos,((e<0||e>=d.$length)?($throwRuntimeError("index out of range"),undefined):d.$array[d.$offset+e]))]);b.pos=b.pos+(1)>>0;g=b.pos;h=b.brackets;if(DM.nil===h){$s=-1;return new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,f,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");}if(!h.active){c.removeBracket(b);$s=-1;return new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,f,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");}i=h.image;j=CW.nil;k=CW.nil;l=CW.nil;m=CW.nil;n=CW.nil;o=j;p=k;q=l;r=m;s=n;t=b.pos;u=false;if((b.pos+1>>0)=v.$length)?($throwRuntimeError("index out of range"),undefined):v.$array[v.$offset+w])))){$s=1;continue;}$s=2;continue;case 1:b.pos=b.pos+(1)>>0;x=false;y=CW.nil;z=CW.nil;aa=y;ab=z;case 3:ac=D.Spnl($subslice(b.tokens,(b.pos-1>>0)));x=ac[0];aa=ac[1];ab=ac[2];if(!x){$s=4;continue;}b.pos=b.pos+(aa.$length)>>0;ae=c.Context.parseInlineLinkDest(ab);$s=5;case 5:if($c){$c=false;ae=ae.$blk();}if(ae&&ae.$blk!==undefined){break s;}ad=ae;aa=ad[0];ab=ad[1];p=ad[2];if(CW.nil===aa){$s=4;continue;}if(c.Context.ParseOption.VditorWYSIWYG||c.Context.ParseOption.VditorIR||c.Context.ParseOption.VditorSV||c.Context.ParseOption.ProtyleWYSIWYG){if(!i&&CY.nil===h.node.Next){$s=4;continue;}}b.pos=b.pos+(aa.$length)>>0;o=$subslice(aa,0,1);s=$subslice(aa,(aa.$length-1>>0));u=41===(af=aa.$length-1>>0,((af<0||af>=aa.$length)?($throwRuntimeError("index out of range"),undefined):aa.$array[aa.$offset+af]));if(u&&1=ab.$length?($throwRuntimeError("index out of range"),undefined):ab.$array[ab.$offset+0]))&&!((34===(1>=ab.$length?($throwRuntimeError("index out of range"),undefined):ab.$array[ab.$offset+1])));}if(u){b.pos=b.pos-(1)>>0;$s=4;continue;}if(1>ab.$length||!D.IsWhitespace((0>=ab.$length?($throwRuntimeError("index out of range"),undefined):ab.$array[ab.$offset+0]))){$s=4;continue;}ag=D.Spnl(ab);x=ag[0];aa=ag[1];ab=ag[2];if(!x){$s=4;continue;}q=aa;b.pos=b.pos+(aa.$length)>>0;u=41===(0>=ab.$length?($throwRuntimeError("index out of range"),undefined):ab.$array[ab.$offset+0]);s=$subslice(ab,0,1);if(u){$s=4;continue;}b.pos=b.pos+(1)>>0;ah=false;ai=c.Context.parseLinkTitle(ab);ah=ai[0];aa=ai[1];ab=ai[2];r=ai[3];if(!ah){$s=4;continue;}b.pos=b.pos+(aa.$length)>>0;aj=D.Spnl(ab);x=aj[0];aa=aj[1];ab=aj[2];b.pos=b.pos+(aa.$length)>>0;u=x&&0>0)),ab);}else{r=C.CaretTokens;ab=$subslice(ab,C.CaretTokens.$length);b.pos=b.pos+(3)>>0;}}else if(A.HasPrefix(ab,(new CW($stringToBytes(")\xE2\x80\xB8"))))){if(0===r.$length){r=C.CaretTokens;ab=A.ReplaceAll(ab,C.CaretTokens,CW.nil);b.pos=b.pos+(3)>>0;}}}u=41===(0>=ab.$length?($throwRuntimeError("index out of range"),undefined):ab.$array[ab.$offset+0]);}s=$subslice(ab,0);$s=4;continue;case 4:if(!u){b.pos=t;}case 2:ak=CW.nil;al=0;if(!u){$s=6;continue;}$s=7;continue;case 6:am=b.pos;an=c.Context.parseLinkLabel($subslice(b.tokens,am));ao=an[0];ap=an[2];if(2>0;}else if(!h.bracketAfter){aq=h.index;if(91===(ar=b.tokens,((aq<0||aq>=ar.$length)?($throwRuntimeError("index out of range"),undefined):ar.$array[ar.$offset+aq]))){aq=aq+(1)>>0;}ak=$subslice(b.tokens,aq,(g-1>>0));b.pos=b.pos+(2)>>0;}if(0===ao){b.pos=g;}if(!(CW.nil===ak)){$s=8;continue;}$s=9;continue;case 8:if(c.Context.ParseOption.Footnotes){$s=10;continue;}$s=11;continue;case 10:at=c.FindFootnotesDef(ak);$s=12;case 12:if($c){$c=false;at=at.$blk();}if(at&&at.$blk!==undefined){break s;}as=at;au=as[0];av=as[1];if(!(CY.nil===av)){c.removeBracket(b);if(c.Context.ParseOption.Sup&&!(CY.nil===h.node.Next.Next)){h.node.Next.Next.Unlink();h.node.Next.Unlink();}else{h.node.Next.Unlink();}h.node.Unlink();aw=I.Itoa(au);ax=av.FootnotesRefs.$length;if(0>0));}ay=new B.Node.ptr("","","","",412,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,ak,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,A.ReplaceAll(ak,C.CaretTokens,CW.nil),aw,CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");av.FootnotesRefs=$append(av.FootnotesRefs,ay);$s=-1;return ay;}case 11:az=c.FindLinkRefDefLink(ak);$s=13;case 13:if($c){$c=false;az=az.$blk();}if(az&&az.$blk!==undefined){break s;}ba=az;if(!(CY.nil===ba)){p=ba.ChildByType(41).Tokens;bb=ba.ChildByType(42);if(!(CY.nil===bb)){r=bb.Tokens;}u=true;al=3;}case 9:case 7:if(u){bc=new B.Node.ptr("","","","",33,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,CW.nil,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,al,ak,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");if(i){bc.Type=34;bc.AppendChild(new B.Node.ptr("","","","",35,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,$subslice(h.node.Tokens,0,1),"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));h.node.Tokens=$subslice(h.node.Tokens,1);}bc.AppendChild(new B.Node.ptr("","","","",36,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,h.node.Tokens,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));bd=CY.nil;be=CY.nil;bf=bd;bg=be;bf=h.node.Next;while(true){if(!(!(CY.nil===bf))){break;}bg=bf.Next;bf.Unlink();if(16===bf.Type){bf.Type=40;}bc.AppendChild(bf);bf=bg;}bc.AppendChild(new B.Node.ptr("","","","",37,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,f,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));bc.AppendChild(new B.Node.ptr("","","","",38,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,o,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));bc.AppendChild(new B.Node.ptr("","","","",41,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,p,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));if(!(CW.nil===q)){bc.AppendChild(new B.Node.ptr("","","","",43,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,q,"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,""));}if(0>0;c=new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,$subslice(b.tokens,e,b.pos),"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");d.addBracket(c,b.pos-1>>0,false,b);return c;};AC.prototype.parseOpenBracket=function(b){return this.$val.parseOpenBracket(b);};AC.ptr.prototype.addBracket=function(b,c,d,e){var b,c,d,e,f;f=this;if(!(DM.nil===e.brackets)){e.brackets.bracketAfter=true;}e.brackets=new CA.ptr(b,0,0,0,false,false,e.brackets,DM.nil,true,d,false,c,e.delimiters);};AC.prototype.addBracket=function(b,c,d,e){return this.$val.addBracket(b,c,d,e);};AC.ptr.prototype.removeBracket=function(b){var b,c;c=this;b.brackets=b.brackets.previous;};AC.prototype.removeBracket=function(b){return this.$val.removeBracket(b);};AC.ptr.prototype.parseBang=function(b){var b,c,d,e,f,g;c=CY.nil;d=this;e=b.pos;b.pos=b.pos+(1)>>0;if(b.pos=f.$length)?($throwRuntimeError("index out of range"),undefined):f.$array[f.$offset+g])))){b.pos=b.pos+(1)>>0;c=new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,$subslice(b.tokens,e,b.pos),"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");d.addBracket(c,e+2>>0,true,b);return c;}c=new B.Node.ptr("","","","",16,CY.nil,CY.nil,CY.nil,CY.nil,CY.nil,CZ.nil,$subslice(b.tokens,e,b.pos),"","",false,false,false,0,false,0,0,0,CW.nil,CW.nil,CW.nil,0,DA.nil,false,DB.nil,0,0,0,0,CW.nil,0,false,"",0,CW.nil,"",CZ.nil,CW.nil,DD.nil,false,"","","","","","","","","","","",0,"");return c;};AC.prototype.parseBang=function(b){return this.$val.parseBang(b);};BI=function(b,c){var{b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,$s,$r,$c}=$restore(this,{b,c});$s=$s||0;s:while(true){switch($s){case 0:if(b.Context.indented){$s=-1;return 0;}if(!((60===D.Peek(b.Context.currentLine,b.Context.nextNonspace)))){$s=-1;return 0;}if(b.Context.ParseOption.VditorWYSIWYG){if(A.Contains(b.Context.currentLine,(new CW($stringToBytes("vditor-comment"))))){$s=-1;return 0;}}if(b.Context.ParseOption.ProtyleWYSIWYG){if(A.Contains(b.Context.currentLine,(new CW($stringToBytes(""))))){$s=7;continue;}if(A.HasPrefix(d,(new CW($stringToBytes(""))))){$s=8;continue;}if(A.HasPrefix(d,(new CW($stringToBytes(""))))){$s=9;continue;}if(A.HasPrefix(d,(new CW($stringToBytes(""))))){$s=10;continue;}$s=11;continue;case 7:if(A.Contains(d,(new CW($stringToBytes("data-subtype=\"widget\""))))){$s=12;continue;}$s=13;continue;case 12:g=b.Context.addChild(535);$s=15;case 15:if($c){$c=false;g=g.$blk();}if(g&&g.$blk!==undefined){break s;}g;$s=14;continue;case 13:h=b.Context.addChild(500);$s=16;case 16:if($c){$c=false;h=h.$blk();}if(h&&h.$blk!==undefined){break s;}h;case 14:$s=-1;return 2;case 8:i=b.Context.addChild(510);$s=17;case 17:if($c){$c=false;i=i.$blk();}if(i&&i.$blk!==undefined){break s;}i;$s=-1;return 2;case 9:j=b.Context.addChild(505);$s=18;case 18:if($c){$c=false;j=j.$blk();}if(j&&j.$blk!==undefined){break s;}j;$s=-1;return 2;case 10:k=b.Context.addChild(550);$s=19;case 19:if($c){$c=false;k=k.$blk();}if(k&&k.$blk!==undefined){break s;}l=k;m=A.Index(d,(new CW($stringToBytes("data-av-type=\""))))+14>>0;n=m+A.Index($subslice(d,m),(new CW($stringToBytes("\""))))>>0;l.AttributeViewType=($bytesToString($subslice(d,m,n)));o=A.Index(d,(new CW($stringToBytes("data-av-id=\""))));if(0>0;p=o+A.Index($subslice(d,o),(new CW($stringToBytes("\""))))>>0;l.AttributeViewID=($bytesToString($subslice(d,o,p)));$s=22;continue;case 21:q=B.NewNodeID();$s=23;case 23:if($c){$c=false;q=q.$blk();}if(q&&q.$blk!==undefined){break s;}l.AttributeViewID=q;case 22:$s=-1;return 2;case 11:case 5:if(b.Context.ParseOption.ProtyleWYSIWYG){r=D.TrimLeft(b.Context.currentLine);s=r[1];if(!A.HasPrefix(s,(new CW($stringToBytes(">0))){break;}if((45===((j<0||j>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+j]))&&(45===(k=j+1>>0,((k<0||k>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+k])))&&(62===(l=j+2>>0,((l<0||l>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+l])))){return true;}j=j+(1)>>0;}}else if(h===(3)){m=0;while(true){if(!(m<(g-2>>0))){break;}if((63===((m<0||m>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+m]))&&(62===(n=m+1>>0,((n<0||n>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+n])))){return true;}m=m+(1)>>0;}}else if(h===(4)){return A.Contains(b,BP);}else if(h===(5)){o=0;while(true){if(!(o<(g-2>>0))){break;}if((93===((o<0||o>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+o]))&&(93===(p=o+1>>0,((p<0||p>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+p])))){return true;}o=o+(1)>>0;}}return false;};AC.prototype.isHTMLBlockClose=function(b,c){return this.$val.isHTMLBlockClose(b,c);};AC.ptr.prototype.parseHTML=function(b){var b,c,d,e,f,g,h,i,j,k,l,m;c=0;d=this;e=D.TrimLeft(b);b=e[1];f=b.$length;if(3>f){return c;}if(!((60===(0>=b.$length?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+0])))){return c;}c=1;g=D.AcceptTokenss(b,BK);if(0<=g){if(D.IsWhitespace(((g<0||g>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+g]))||(62===((g<0||g>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+g]))){return c;}}h=D.AcceptTokenss(b,BM);if(0<=h){if(D.IsWhitespace(((h<0||h>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+h]))||(62===((h<0||h>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+h]))){c=6;return c;}if((47===((h<0||h>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+h]))&&(62===(i=h+1>>0,((i<0||i>=b.$length)?($throwRuntimeError("index out of range"),undefined):b.$array[b.$offset+i])))){c=6;return c;}}j=D.TrimWhitespace(b);k=d.isOpenTag(j);if(k&&!((d.Context.Tip.Type===1))){c=7;return c;}l=d.isCloseTag(j);if(l&&!((d.Context.Tip.Type===1))){c=7;return c;}if(0===A.Index(b,E.StrToBytes("