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b<<1|o>>>31;j=o<<1;g=(g|0)==(m|0)&j>>>0>f>>>0|m>>>0>g>>>0;j=e&65535;f=r;m=c<<1|f>>>31;c=f<<1|b>>>31;e=c;b=(e|0)==(O|0)&(m|0)==(H|0)?g:(H|0)==(m|0)&e>>>0>O>>>0|m>>>0>H>>>0;c=b+h|0;if(c>>>0>>0){l=l+1|0}b=c;e=b;c=l;e=d+((i|0)==(l|0)&e>>>0>>0|l>>>0>>0)|0;if(e>>>0>>0){j=j+1|0}d=j;if(!(j&65536)){break e}J=e|J;E=d|E;break b}b=0;c=0;break b}k=i;e=e&65535;o=F;j=b<<1|o>>>31;o=o<<1;g=(g|0)==(j|0)&o>>>0>=f>>>0|j>>>0>g>>>0;f=r;j=c<<1|f>>>31;c=f<<1|b>>>31;b=(c|0)==(O|0)&(j|0)==(H|0)?g:(H|0)==(j|0)&c>>>0>=O>>>0|j>>>0>H>>>0;c=b+h|0;if(c>>>0>>0){k=k+1|0}b=c;c=k;f=d;d=((i|0)==(k|0)&b>>>0>>0|k>>>0>>0)+d|0;k=l<<16|e;J=d|J;E=E|(d>>>0>>0?k+1|0:k)}q[a>>2]=b;q[a+4>>2]=c;q[a+8>>2]=J;q[a+12>>2]=E;T=n+192|0;return}q[a>>2]=0;q[a+4>>2]=0;b=(d|f)!=0|(e|g)!=0;q[a+8>>2]=b?J:0;q[a+12>>2]=b?E:2147450880;T=n+192|0}function Pb(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,s=0,u=0,v=0,x=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;g=T-8960|0;T=g;z=d+e|0;F=0-z|0;a:{b:{while(1){c:{if((c|0)!=48){if((c|0)!=46){break a}c=q[b+4>>2];if(c>>>0>=t[b+104>>2]){break c}q[b+4>>2]=c+1;c=r[c|0];break b}c=q[b+4>>2];if(c>>>0>2]){o=1;q[b+4>>2]=c+1;c=r[c|0]}else{o=1;c=Kb(b)}continue}break}c=Kb(b)}m=1;if((c|0)!=48){break a}while(1){i=i+ -1|0;c=h+ -1|0;if(c>>>0<4294967295){i=i+1|0}h=c;c=q[b+4>>2];d:{if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break d}c=Kb(b)}if((c|0)==48){continue}break}o=1}q[g+768>>2]=0;G=a;H=a;e:{f:{j=(c|0)==46;p=c+ -48|0;g:{h:{i:{j:{if(!(j|p>>>0<=9)){break j}while(1){k:{if(j&1){if(!m){h=n;i=l;m=1;break k}o=(o|0)!=0;break i}j=n+1|0;if(j>>>0<1){l=l+1|0}n=j;if((k|0)<=2044){x=(c|0)!=48?n:x;j=(g+768|0)+(k<<2)|0;o=j;if(s){p=(w(q[j>>2],10)+c|0)+ -48|0}q[o>>2]=p;o=1;j=s+1|0;c=(j|0)==9;s=c?0:j;k=c+k|0;break k}if((c|0)==48){break k}q[g+8944>>2]=q[g+8944>>2]|1}c=q[b+4>>2];l:{if(c>>>0>2]){q[b+4>>2]=c+1;c=r[c|0];break l}c=Kb(b)}j=(c|0)==46;p=c+ -48|0;if(j|p>>>0<10){continue}break}}h=m?h:n;i=m?i:l;if(!(!o|(c&-33)!=69)){c=Qb(b);j=V;m=j;if(!c&(j|0)==-2147483648){break g}i=i+m|0;b=c+h|0;if(b>>>0>>0){i=i+1|0}h=b;break f}o=(o|0)!=0;if((c|0)<0){break h}}if(!q[b+104>>2]){break h}q[b+4>>2]=q[b+4>>2]+ -1}if(o){break f}q[20555]=28}Jb(b,0,0);h=0;i=0;c=0;b=0;break e}b=q[g+768>>2];if(!b){Xb(g,+(f|0)*0);h=q[g+8>>2];i=q[g+12>>2];c=q[g+4>>2];b=q[g>>2];break e}if(!((h|0)!=(n|0)|(i|0)!=(l|0)|((l|0)>0?1:(l|0)>=0?n>>>0<=9?0:1:0)|(b>>>d|0?(d|0)<=30:0))){Zb(g+48|0,f);_b(g+32|0,b);ac(g+16|0,q[g+48>>2],q[g+52>>2],q[g+56>>2],q[g+60>>2],q[g+32>>2],q[g+36>>2],q[g+40>>2],q[g+44>>2]);h=q[g+24>>2];i=q[g+28>>2];c=q[g+20>>2];b=q[g+16>>2];break e}b=(e|0)/-2|0;c=h>>>0<=b>>>0?0:1;b=b>>31;if((i|0)>(b|0)?1:(i|0)>=(b|0)?c:0){q[20555]=68;Zb(g+96|0,f);ac(g+80|0,q[g+96>>2],q[g+100>>2],q[g+104>>2],q[g+108>>2],-1,-1,-1,2147418111);ac(g- -64|0,q[g+80>>2],q[g+84>>2],q[g+88>>2],q[g+92>>2],-1,-1,-1,2147418111);h=q[g+72>>2];i=q[g+76>>2];c=q[g+68>>2];b=q[g+64>>2];break e}b=e+ -226|0;c=h>>>0>=b>>>0?0:1;b=b>>31;if((i|0)<(b|0)?1:(i|0)<=(b|0)?c:0){q[20555]=68;Zb(g+144|0,f);ac(g+128|0,q[g+144>>2],q[g+148>>2],q[g+152>>2],q[g+156>>2],0,0,0,65536);ac(g+112|0,q[g+128>>2],q[g+132>>2],q[g+136>>2],q[g+140>>2],0,0,0,65536);h=q[g+120>>2];i=q[g+124>>2];c=q[g+116>>2];b=q[g+112>>2];break e}if(s){if((s|0)<=8){c=(g+768|0)+(k<<2)|0;b=q[c>>2];while(1){b=w(b,10);s=s+1|0;if((s|0)!=9){continue}break}q[c>>2]=b}k=k+1|0}m:{m=h;if((x|0)>8|(x|0)>(h|0)|(h|0)>17){break m}if((m|0)==9){Zb(g+192|0,f);_b(g+176|0,q[g+768>>2]);ac(g+160|0,q[g+192>>2],q[g+196>>2],q[g+200>>2],q[g+204>>2],q[g+176>>2],q[g+180>>2],q[g+184>>2],q[g+188>>2]);h=q[g+168>>2];i=q[g+172>>2];c=q[g+164>>2];b=q[g+160>>2];break e}if((m|0)<=8){Zb(g+272|0,f);_b(g+256|0,q[g+768>>2]);ac(g+240|0,q[g+272>>2],q[g+276>>2],q[g+280>>2],q[g+284>>2],q[g+256>>2],q[g+260>>2],q[g+264>>2],q[g+268>>2]);Zb(g+224|0,q[(0-m<<2)+7072>>2]);Wb(g+208|0,q[g+240>>2],q[g+244>>2],q[g+248>>2],q[g+252>>2],q[g+224>>2],q[g+228>>2],q[g+232>>2],q[g+236>>2]);h=q[g+216>>2];i=q[g+220>>2];c=q[g+212>>2];b=q[g+208>>2];break e}b=(w(m,-3)+d|0)+27|0;c=q[g+768>>2];if(c>>>b|0?(b|0)<=30:0){break m}Zb(g+352|0,f);_b(g+336|0,c);ac(g+320|0,q[g+352>>2],q[g+356>>2],q[g+360>>2],q[g+364>>2],q[g+336>>2],q[g+340>>2],q[g+344>>2],q[g+348>>2]);Zb(g+304|0,q[(m<<2)+7e3>>2]);ac(g+288|0,q[g+320>>2],q[g+324>>2],q[g+328>>2],q[g+332>>2],q[g+304>>2],q[g+308>>2],q[g+312>>2],q[g+316>>2]);h=q[g+296>>2];i=q[g+300>>2];c=q[g+292>>2];b=q[g+288>>2];break e}s=0;b=(m|0)%9|0;n:{if(!b){c=0;break n}i=(m|0)>-1?b:b+9|0;o:{if(!k){c=0;k=0;break o}h=q[(0-i<<2)+7072>>2];l=1e9/(h|0)|0;o=0;b=0;c=0;while(1){j=o;n=(g+768|0)+(b<<2)|0;o=q[n>>2];p=(o>>>0)/(h>>>0)|0;j=j+p|0;q[n>>2]=j;j=!j&(b|0)==(c|0);c=j?c+1&2047:c;m=j?m+ -9|0:m;o=w(l,o-w(h,p)|0);b=b+1|0;if((k|0)!=(b|0)){continue}break}if(!o){break o}q[(g+768|0)+(k<<2)>>2]=o;k=k+1|0}m=(m-i|0)+9|0}while(1){n=(g+768|0)+(c<<2)|0;p:{while(1){if((m|0)!=36|t[n>>2]>=10384593?(m|0)>=36:0){break p}p=k+2047|0;o=0;j=k;while(1){k=j;l=p&2047;p=(g+768|0)+(l<<2)|0;b=q[p>>2];i=b>>>3|0;h=b<<29;b=h+o|0;if(b>>>0>>0){i=i+1|0}h=b;j=0;q:{if(!i&b>>>0<1000000001|i>>>0<0){break q}j=Qc(b,i,1e9);h=h-Pc(j,V,1e9,0)|0}o=j;q[p>>2]=h;j=(l|0)!=(k+ -1&2047)?k:(c|0)==(l|0)?k:h?k:l;p=l+ -1|0;if((c|0)!=(l|0)){continue}break}s=s+ -29|0;if(!o){continue}break}c=c+ -1&2047;if((j|0)==(c|0)){b=(g+768|0)+((j+2046&2047)<<2)|0;k=j+ -1&2047;q[b>>2]=q[b>>2]|q[(g+768|0)+(k<<2)>>2]}m=m+9|0;q[(g+768|0)+(c<<2)>>2]=o;continue}break}r:{s:while(1){i=k+1&2047;l=(g+768|0)+((k+ -1&2047)<<2)|0;while(1){h=(m|0)>45?9:1;t:{while(1){j=c;b=0;u:{while(1){v:{c=b+j&2047;if((c|0)==(k|0)){break v}c=q[(g+768|0)+(c<<2)>>2];n=q[(b<<2)+7024>>2];if(c>>>0>>0){break v}if(c>>>0>n>>>0){break u}b=b+1|0;if((b|0)!=4){continue}}break}if((m|0)!=36){break u}h=0;i=0;b=0;n=0;l=0;while(1){c=b+j&2047;if((c|0)==(k|0)){k=k+1&2047;q[((k<<2)+g|0)+764>>2]=0}ac(g+752|0,h,i,n,l,0,0,1342177280,1075633366);_b(g+736|0,q[(g+768|0)+(c<<2)>>2]);Sb(g+720|0,q[g+752>>2],q[g+756>>2],q[g+760>>2],q[g+764>>2],q[g+736>>2],q[g+740>>2],q[g+744>>2],q[g+748>>2]);n=q[g+728>>2];l=q[g+732>>2];h=q[g+720>>2];i=q[g+724>>2];b=b+1|0;if((b|0)!=4){continue}break}Zb(g+704|0,f);ac(g+688|0,h,i,n,l,q[g+704>>2],q[g+708>>2],q[g+712>>2],q[g+716>>2]);n=q[g+696>>2];l=q[g+700>>2];h=0;i=0;b=q[g+688>>2];c=q[g+692>>2];p=s+113|0;m=p-e|0;o=(m|0)<(d|0);e=o?(m|0)>0?m:0:d;if((e|0)<=112){break t}break r}s=h+s|0;c=k;if((j|0)==(c|0)){continue}break}n=1e9>>>h|0;o=-1<>2];b=(x>>>h|0)+b|0;q[p>>2]=b;b=!b&(c|0)==(j|0);c=b?c+1&2047:c;m=b?m+ -9|0:m;b=w(n,o&x);j=j+1&2047;if((j|0)!=(k|0)){continue}break}if(!b){continue}if((c|0)!=(i|0)){q[(g+768|0)+(k<<2)>>2]=b;k=i;continue s}q[l>>2]=q[l>>2]|1;c=i;continue}break}break}Xb(g+640|0,rc(1,225-e|0));Lb(g+672|0,q[g+640>>2],q[g+644>>2],q[g+648>>2],q[g+652>>2],b,c,n,l);A=q[g+680>>2];B=q[g+684>>2];C=q[g+672>>2];D=q[g+676>>2];Xb(g+624|0,rc(1,113-e|0));qc(g+656|0,b,c,n,l,q[g+624>>2],q[g+628>>2],q[g+632>>2],q[g+636>>2]);h=q[g+656>>2];i=q[g+660>>2];u=q[g+664>>2];v=q[g+668>>2];cc(g+608|0,b,c,n,l,h,i,u,v);Sb(g+592|0,C,D,A,B,q[g+608>>2],q[g+612>>2],q[g+616>>2],q[g+620>>2]);n=q[g+600>>2];l=q[g+604>>2];b=q[g+592>>2];c=q[g+596>>2]}d=j+4&2047;w:{if((d|0)==(k|0)){break w}d=q[(g+768|0)+(d<<2)>>2];x:{if(d>>>0<=499999999){if((j+5&2047)==(k|0)?!d:0){break x}Xb(g+480|0,+(f|0)*.25);Sb(g+464|0,h,i,u,v,q[g+480>>2],q[g+484>>2],q[g+488>>2],q[g+492>>2]);u=q[g+472>>2];v=q[g+476>>2];h=q[g+464>>2];i=q[g+468>>2];break x}if((d|0)!=5e8){Xb(g+576|0,+(f|0)*.75);Sb(g+560|0,h,i,u,v,q[g+576>>2],q[g+580>>2],q[g+584>>2],q[g+588>>2]);u=q[g+568>>2];v=q[g+572>>2];h=q[g+560>>2];i=q[g+564>>2];break x}E=+(f|0);if((j+5&2047)==(k|0)){Xb(g+512|0,E*.5);Sb(g+496|0,h,i,u,v,q[g+512>>2],q[g+516>>2],q[g+520>>2],q[g+524>>2]);u=q[g+504>>2];v=q[g+508>>2];h=q[g+496>>2];i=q[g+500>>2];break x}Xb(g+544|0,E*.75);Sb(g+528|0,h,i,u,v,q[g+544>>2],q[g+548>>2],q[g+552>>2],q[g+556>>2]);u=q[g+536>>2];v=q[g+540>>2];h=q[g+528>>2];i=q[g+532>>2]}if((e|0)>111){break w}qc(g+448|0,h,i,u,v,0,0,0,1073676288);if(Ub(q[g+448>>2],q[g+452>>2],q[g+456>>2],q[g+460>>2],0,0,0,0)){break w}Sb(g+432|0,h,i,u,v,0,0,0,1073676288);u=q[g+440>>2];v=q[g+444>>2];h=q[g+432>>2];i=q[g+436>>2]}Sb(g+416|0,b,c,n,l,h,i,u,v);cc(g+400|0,q[g+416>>2],q[g+420>>2],q[g+424>>2],q[g+428>>2],C,D,A,B);n=q[g+408>>2];l=q[g+412>>2];b=q[g+400>>2];c=q[g+404>>2];y:{if((p&2147483647)<=(-2-z|0)){break y}ac(g+384|0,b,c,n,l,0,0,0,1073610752);f=Ub(h,i,u,v,0,0,0,0);d=y(dc(b,c,n,l))>=1.0384593717069655e+34;n=d?q[g+392>>2]:n;l=d?q[g+396>>2]:l;b=d?q[g+384>>2]:b;c=d?q[g+388>>2]:c;s=d+s|0;if((s+110|0)<=(F|0)?!(o&(d^1|(e|0)!=(m|0))&(f|0)!=0):0){break y}q[20555]=68}Mb(g+368|0,b,c,n,l,s);h=q[g+376>>2];i=q[g+380>>2];c=q[g+372>>2];b=q[g+368>>2]}q[H>>2]=b;q[G+4>>2]=c;q[a+8>>2]=h;q[a+12>>2]=i;T=g+8960|0}function hb(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,s=0,x=0,y=0,z=0,A=0,B=0,C=0;g=T-304|0;T=g;e=r[b|0];a:{if(!e){break a}j=a+4|0;b:{c:{d:{while(1){e:{f:{if(fb(e&255)){while(1){e=b;b=b+1|0;if(fb(r[e+1|0])){continue}break}Jb(a,0,0);while(1){b=q[a+4>>2];g:{if(b>>>0>2]){q[j>>2]=b+1;b=r[b|0];break g}b=Kb(a)}if(fb(b)){continue}break}h:{if(!q[a+104>>2]){b=q[j>>2];break h}b=q[j>>2]+ -1|0;q[j>>2]=b}d=b-q[a+8>>2]|0;b=d;d=d>>31;f=b;h=h+q[a+124>>2]|0;b=l+q[a+120>>2]|0;if(b>>>0>>0){h=h+1|0}l=f+b|0;h=d+h|0;h=l>>>0>>0?h+1|0:h;break f}i:{j:{k:{e=r[b|0];if((e|0)==37){d=r[b+1|0];if((d|0)==42){break k}if((d|0)!=37){break j}}Jb(a,0,0);e=((e|0)==37)+b|0;b=q[a+4>>2];l:{if(b>>>0>2]){q[j>>2]=b+1;b=r[b|0];break l}b=Kb(a)}if((b|0)!=r[e|0]){if(q[a+104>>2]){q[j>>2]=q[j>>2]+ -1}A=0;if((b|0)>=0){break a}break c}b=l+1|0;if(b>>>0<1){h=h+1|0}l=b;break f}k=0;e=b+2|0;break i}if(!(!Ga(d)|r[b+2|0]!=36)){k=ib(c,r[b+1|0]+ -48|0);e=b+3|0;break i}k=q[c>>2];c=c+4|0;e=b+1|0}A=0;b=0;if(Ga(r[e|0])){while(1){b=(r[e|0]+w(b,10)|0)+ -48|0;d=r[e+1|0];e=e+1|0;if(Ga(d)){continue}break}}d=e;f=r[d|0];m:{if((f|0)!=109){break m}n=0;A=(k|0)!=0;f=r[e+1|0];s=0;d=e+1|0}e=d+1|0;i=3;n:{o:{switch(f+ -65|0){case 39:f=d+2|0;d=r[d+1|0]==104;e=d?f:e;i=d?-2:-1;break n;case 43:f=d+2|0;d=r[d+1|0]==108;e=d?f:e;i=d?3:1;break n;case 51:case 57:i=1;break n;case 11:i=2;break n;case 41:break n;case 0:case 2:case 4:case 5:case 6:case 18:case 23:case 26:case 32:case 34:case 35:case 36:case 37:case 38:case 40:case 45:case 46:case 47:case 50:case 52:case 55:break o;default:break c}}i=0;e=d}f=r[e|0];d=(f&47)==3;y=d?1:i;x=d?f|32:f;p:{if((x|0)==91){break p}q:{if((x|0)!=110){if((x|0)!=99){break q}b=(b|0)>1?b:1;break p}jb(k,y,l,h);break f}Jb(a,0,0);while(1){d=q[a+4>>2];r:{if(d>>>0>2]){q[j>>2]=d+1;d=r[d|0];break r}d=Kb(a)}if(fb(d)){continue}break}s:{if(!q[a+104>>2]){d=q[j>>2];break s}d=q[j>>2]+ -1|0;q[j>>2]=d}d=d-q[a+8>>2]|0;f=d;d=d>>31;m=f;f=h+q[a+124>>2]|0;h=l+q[a+120>>2]|0;if(h>>>0>>0){f=f+1|0}l=m+h|0;d=d+f|0;d=l>>>0>>0?d+1|0:d;h=d}z=b;C=b>>31;Jb(a,b,C);f=q[a+4>>2];d=q[a+104>>2];t:{if(f>>>0>>0){q[j>>2]=f+1;break t}if((Kb(a)|0)<0){break c}d=q[a+104>>2]}if(d){q[j>>2]=q[j>>2]+ -1}d=16;u:{v:{w:{x:{y:{z:{A:{switch(x+ -88|0){default:b=x+ -65|0;if(b>>>0>6|!(1<>2]-q[a+8>>2]|0;if(q[a+120>>2]==(0-d|0)&q[a+124>>2]==(0-((d>>31)+(0>>0)|0)|0)){break b}if(!k){break u}z=q[g+8>>2];f=q[g+12>>2];d=q[g>>2];b=q[g+4>>2];switch(y|0){case 2:break w;case 1:break x;case 0:break y;default:break u};case 3:case 11:case 27:if((x&239)==99){uc(g+32|0,-1,257);o[g+32|0]=0;if((x|0)!=115){break v}o[g+65|0]=0;o[g+46|0]=0;p[g+42>>1]=0;p[g+44>>1]=0;break v}m=r[e+1|0];f=(m|0)==94;uc(g+32|0,f,257);o[g+32|0]=0;d=f?e+2|0:e+1|0;B:{C:{D:{e=r[(f?2:1)+e|0];if((e|0)!=45){if((e|0)==93){break D}i=(m|0)!=94;break B}i=(m|0)!=94;o[g+78|0]=i;break C}i=(m|0)!=94;o[g+126|0]=i}d=d+1|0}e=d;while(1){d=r[e|0];E:{if((d|0)!=45){if(!d){break c}if((d|0)!=93){break E}break v}d=45;m=r[e+1|0];if(!m|(m|0)==93){break E}f=e+1|0;e=r[e+ -1|0];F:{if(e>>>0>=m>>>0){d=m;break F}while(1){e=e+1|0;o[e+(g+32|0)|0]=i;d=r[f|0];if(e>>>0>>0){continue}break}}e=f}o[(d+g|0)+33|0]=i;e=e+1|0;continue};case 23:d=8;break z;case 12:case 29:d=10;break z;case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 22:case 25:case 26:case 28:case 30:case 31:break u;case 0:case 24:case 32:break z;case 17:break A}}d=0}z=Hb(a,d);f=V;d=q[a+4>>2]-q[a+8>>2]|0;if(q[a+120>>2]==(0-d|0)&q[a+124>>2]==(0-((d>>31)+(0>>0)|0)|0)){break b}if(!(!k|(x|0)!=112)){q[k>>2]=z;break u}jb(k,y,z,f);break u}u[k>>2]=ec(d,b,z,f);break u}v[k>>3]=dc(d,b,z,f);break u}q[k>>2]=d;q[k+4>>2]=b;q[k+8>>2]=z;q[k+12>>2]=f;break u}x=(x|0)==99;i=x?b+1|0:31;m=(y|0)!=1;G:{if(!m){d=k;if(A){d=kc(i<<2);if(!d){break d}}q[g+296>>2]=0;q[g+300>>2]=0;b=0;while(1){s=d;H:{while(1){d=q[a+4>>2];I:{if(d>>>0>2]){q[j>>2]=d+1;d=r[d|0];break I}d=Kb(a)}if(!r[(d+g|0)+33|0]){break H}o[g+27|0]=d;d=gb(g+28|0,g+27|0,g+296|0);if((d|0)==-2){continue}if((d|0)==-1){break e}if(s){q[(b<<2)+s>>2]=q[g+28>>2];b=b+1|0}if(!A|(b|0)!=(i|0)){continue}break}i=i<<1|1;d=mc(s,i<<2);if(d){continue}break e}break}d=g+296|0;f=1;J:{if(!d){break J}f=!q[d>>2]}if(!f){break e}n=0;break G}if(A){b=0;d=kc(i);if(!d){break d}while(1){n=d;while(1){d=q[a+4>>2];K:{if(d>>>0>2]){q[j>>2]=d+1;d=r[d|0];break K}d=Kb(a)}if(!r[(d+g|0)+33|0]){s=0;break G}o[b+n|0]=d;b=b+1|0;if((i|0)!=(b|0)){continue}break}s=0;i=i<<1|1;d=mc(n,i);if(d){continue}break}break c}b=0;if(k){while(1){d=q[a+4>>2];L:{if(d>>>0>2]){q[j>>2]=d+1;d=r[d|0];break L}d=Kb(a)}if(r[(d+g|0)+33|0]){o[b+k|0]=d;b=b+1|0;continue}else{s=0;n=k;break G}}}while(1){b=q[a+4>>2];M:{if(b>>>0>2]){q[j>>2]=b+1;b=r[b|0];break M}b=Kb(a)}if(r[(b+g|0)+33|0]){continue}break}n=0;s=0;b=0}N:{if(!q[a+104>>2]){d=q[j>>2];break N}d=q[j>>2]+ -1|0;q[j>>2]=d}d=d-q[a+8>>2]|0;f=d;y=d+q[a+120>>2]|0;d=q[a+124>>2]+(d>>31)|0;d=y>>>0>>0?d+1|0:d;if(!(d|y)|(x?(y|0)!=(z|0)|(d|0)!=(C|0):0)){break b}O:{if(!A){break O}if(!m){q[k>>2]=s;break O}q[k>>2]=n}if(x){break u}if(s){q[(b<<2)+s>>2]=0}if(!n){n=0;break u}o[b+n|0]=0}d=q[a+4>>2]-q[a+8>>2]|0;b=d;d=d>>31;f=b;h=h+q[a+124>>2]|0;b=l+q[a+120>>2]|0;if(b>>>0>>0){h=h+1|0}l=f+b|0;h=d+h|0;h=l>>>0>>0?h+1|0:h;B=((k|0)!=0)+B|0}b=e+1|0;e=r[e+1|0];if(e){continue}break a}break}n=0;break c}n=0;s=0}B=B?B:-1}if(!A){break a}lc(n);lc(s)}T=g+304|0;return B}function Ta(a,b,c,d,f,g){a=a|0;b=+b;c=c|0;d=d|0;f=f|0;g=g|0;var i=0,j=0,k=0,l=0,m=0,n=0,p=0,s=0,t=0,u=0,v=0,x=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;m=T-560|0;T=m;q[m+44>>2]=0;h(+b);i=e(1)|0;a:{if(H=1,I=(K=e(0)>>>0>4294967295?0:1,L=0,M=(i|0)<=-1,M?K:L),J=(i|0)<-1,J?H:I){C=1;b=-b;h(+b);i=e(1)|0;e(0)|0;E=6448;break a}if(f&2048){C=1;E=6451;break a}C=f&1;E=C?6454:6449}b:{if((i&2146435072)==2146435072){j=C+3|0;Sa(a,32,c,j,f&-65537);Ma(a,E,C);d=g>>>5&1;Ma(a,b!=b?d?6475:6479:d?6467:6471,3);break b}z=m+16|0;c:{d:{e:{b=Ja(b,m+44|0);b=b+b;if(b!=0){i=q[m+44>>2];q[m+44>>2]=i+ -1;D=g|32;if((D|0)!=97){break e}break c}D=g|32;if((D|0)==97){break c}p=q[m+44>>2];n=(d|0)<0?6:d;break d}p=i+ -29|0;q[m+44>>2]=p;b=b*268435456;n=(d|0)<0?6:d}u=(p|0)<0?m+48|0:m+336|0;l=u;while(1){d=l;if(b<4294967296&b>=0){i=~~b>>>0}else{i=0}q[d>>2]=i;l=l+4|0;b=(b- +(i>>>0))*1e9;if(b!=0){continue}break}f:{if((p|0)<1){d=p;i=l;k=u;break f}k=u;d=p;while(1){s=(d|0)<29?d:29;i=l+ -4|0;g:{if(i>>>0>>0){break g}d=s;j=0;while(1){t=i;F=j;x=q[i>>2];v=d&31;if(32<=(d&63)>>>0){j=x<>>32-v;x=x<>>0>>0?j+1|0:j;j=Qc(v,j,1e9);x=t;t=Pc(j,V,1e9,0);q[x>>2]=v-t;i=i+ -4|0;if(i>>>0>=k>>>0){continue}break}if(!j){break g}k=k+ -4|0;q[k>>2]=j}while(1){i=l;if(i>>>0>k>>>0){l=i+ -4|0;if(!q[l>>2]){continue}}break}d=q[m+44>>2]-s|0;q[m+44>>2]=d;l=i;if((d|0)>0){continue}break}}if((d|0)<=-1){A=((n+25|0)/9|0)+1|0;s=(D|0)==102;while(1){j=(d|0)<-9?9:0-d|0;h:{if(k>>>0>=i>>>0){k=q[k>>2]?k:k+4|0;break h}t=1e9>>>j|0;v=-1<>2];q[l>>2]=x+(d>>>j|0);d=w(t,d&v);l=l+4|0;if(l>>>0>>0){continue}break}k=q[k>>2]?k:k+4|0;if(!d){break h}q[i>>2]=d;i=i+4|0}d=j+q[m+44>>2]|0;q[m+44>>2]=d;l=s?u:k;i=i-l>>2>(A|0)?l+(A<<2)|0:i;if((d|0)<0){continue}break}}l=0;i:{if(k>>>0>=i>>>0){break i}l=w(u-k>>2,9);d=10;j=q[k>>2];if(j>>>0<10){break i}while(1){l=l+1|0;d=w(d,10);if(j>>>0>=d>>>0){continue}break}}d=(n-((D|0)==102?0:l)|0)-((D|0)==103&(n|0)!=0)|0;if((d|0)<(w(i-u>>2,9)+ -9|0)){s=d+9216|0;t=(s|0)/9|0;j=((t<<2)+((p|0)<0?m+48|4:m+340|0)|0)+ -4096|0;d=10;s=s-w(t,9)|0;if((s|0)<=7){while(1){d=w(d,10);s=s+1|0;if((s|0)!=8){continue}break}}s=q[j>>2];t=(s>>>0)/(d>>>0)|0;A=j+4|0;p=s-w(d,t)|0;j:{if(p?0:(A|0)==(i|0)){break j}v=d>>>1|0;B=p>>>0>>0?.5:(i|0)==(A|0)?(v|0)==(p|0)?1:1.5:1.5;b=t&1?9007199254740994:9007199254740992;if(!(!C|r[E|0]!=45)){B=-B;b=-b}p=s-p|0;q[j>>2]=p;if(b+B==b){break j}d=d+p|0;q[j>>2]=d;if(d>>>0>=1e9){while(1){q[j>>2]=0;j=j+ -4|0;if(j>>>0>>0){k=k+ -4|0;q[k>>2]=0}d=q[j>>2]+1|0;q[j>>2]=d;if(d>>>0>999999999){continue}break}}l=w(u-k>>2,9);d=10;p=q[k>>2];if(p>>>0<10){break j}while(1){l=l+1|0;d=w(d,10);if(p>>>0>=d>>>0){continue}break}}d=j+4|0;i=i>>>0>d>>>0?d:i}k:{while(1){d=i;p=0;if(i>>>0<=k>>>0){break k}i=d+ -4|0;if(!q[i>>2]){continue}break}p=1}l:{if((D|0)!=103){t=f&8;break l}i=n?n:1;j=(i|0)>(l|0)&(l|0)>-5;n=(j?l^-1:-1)+i|0;g=(j?-1:-2)+g|0;t=f&8;if(t){break l}i=9;m:{if(!p){break m}j=q[d+ -4>>2];if(!j){break m}s=10;i=0;if((j>>>0)%10){break m}while(1){i=i+1|0;s=w(s,10);if(!((j>>>0)%(s>>>0))){continue}break}}j=w(d-u>>2,9)+ -9|0;if((g&-33)==70){t=0;i=j-i|0;i=(i|0)>0?i:0;n=(n|0)<(i|0)?n:i;break l}t=0;i=(j+l|0)-i|0;i=(i|0)>0?i:0;n=(n|0)<(i|0)?n:i}v=n|t;D=(v|0)!=0;s=a;F=c;x=g&-33;i=(l|0)>0?l:0;n:{if((x|0)==70){break n}i=l>>31;i=Ra(i+l^i,0,z);if((z-i|0)<=1){while(1){i=i+ -1|0;o[i|0]=48;if((z-i|0)<2){continue}break}}A=i+ -2|0;o[A|0]=g;o[i+ -1|0]=(l|0)<0?45:43;i=z-A|0}j=(i+(D+(n+C|0)|0)|0)+1|0;Sa(s,32,F,j,f);Ma(a,E,C);Sa(a,48,c,j,f^65536);o:{p:{q:{if((x|0)==70){g=m+16|8;l=m+16|9;p=k>>>0>u>>>0?u:k;k=p;while(1){i=Ra(q[k>>2],0,l);r:{if((k|0)!=(p|0)){if(i>>>0<=m+16>>>0){break r}while(1){i=i+ -1|0;o[i|0]=48;if(i>>>0>m+16>>>0){continue}break}break r}if((i|0)!=(l|0)){break r}o[m+24|0]=48;i=g}Ma(a,i,l-i|0);k=k+4|0;if(k>>>0<=u>>>0){continue}break}if(v){Ma(a,6483,1)}if((n|0)<1|k>>>0>=d>>>0){break q}while(1){i=Ra(q[k>>2],0,l);if(i>>>0>m+16>>>0){while(1){i=i+ -1|0;o[i|0]=48;if(i>>>0>m+16>>>0){continue}break}}Ma(a,i,(n|0)<9?n:9);i=n+ -9|0;k=k+4|0;if(k>>>0>=d>>>0){break p}g=(n|0)>9;n=i;if(g){continue}break}break p}s:{if((n|0)<0){break s}u=p?d:k+4|0;d=m+16|8;g=m+16|9;l=k;while(1){i=Ra(q[l>>2],0,g);if((g|0)==(i|0)){o[m+24|0]=48;i=d}t:{if((k|0)!=(l|0)){if(i>>>0<=m+16>>>0){break t}while(1){i=i+ -1|0;o[i|0]=48;if(i>>>0>m+16>>>0){continue}break}break t}Ma(a,i,1);i=i+1|0;if((n|0)<1?!t:0){break t}Ma(a,6483,1)}p=i;i=g-i|0;Ma(a,p,(n|0)>(i|0)?i:n);n=n-i|0;l=l+4|0;if(l>>>0>=u>>>0){break s}if((n|0)>-1){continue}break}}Sa(a,48,n+18|0,18,0);Ma(a,A,z-A|0);break o}i=n}Sa(a,48,i+9|0,9,0)}break b}n=g&32;p=n?E+9|0:E;u:{if(d>>>0>11){break u}i=12-d|0;if(!i){break u}B=8;while(1){B=B*16;i=i+ -1|0;if(i){continue}break}if(r[p|0]==45){b=-(B+(-b-B));break u}b=b+B-B}l=q[m+44>>2];i=l>>31;i=Ra(i^i+l,0,z);if((z|0)==(i|0)){o[m+15|0]=48;i=m+15|0}l=C|2;k=q[m+44>>2];u=i+ -2|0;o[u|0]=g+15;o[i+ -1|0]=(k|0)<0?45:43;j=f&8;k=m+16|0;while(1){g=k;t=n;if(y(b)<2147483648){i=~~b}else{i=-2147483648}o[k|0]=t|r[i+6432|0];b=(b- +(i|0))*16;k=g+1|0;if(!((k-(m+16|0)|0)!=1|(b==0?!((d|0)>0|j):0))){o[g+1|0]=46;k=g+2|0}if(b!=0){continue}break}g=a;n=c;if(!d|((k-m|0)+ -18|0)>=(d|0)){i=((z-(m+16|0)|0)-u|0)+k|0}else{i=((d+z|0)-u|0)+2|0}d=i;j=d+l|0;Sa(g,32,n,j,f);Ma(a,p,l);Sa(a,48,c,j,f^65536);g=k-(m+16|0)|0;Ma(a,m+16|0,g);d=z-u|0;Sa(a,48,i-(d+g|0)|0,0,0);Ma(a,u,d)}Sa(a,32,c,j,f^8192);T=m+560|0;return((j|0)<(c|0)?c:j)|0}function La(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,s=0,t=0,u=0,x=0,y=0,z=0,A=0,B=0,C=0;h=T-80|0;T=h;q[h+76>>2]=b;C=h+55|0;z=h+56|0;b=0;a:{b:{c:while(1){d:{if((u|0)<0){break d}if((b|0)>(2147483647-u|0)){q[20555]=61;u=-1;break d}u=b+u|0}e:{f:{l=q[h+76>>2];b=l;k=r[b|0];if(k){while(1){g:{i=k&255;h:{if(!i){k=b;break h}if((i|0)!=37){break g}k=b;while(1){if(r[b+1|0]!=37){break h}i=b+2|0;q[h+76>>2]=i;k=k+1|0;j=r[b+2|0];b=i;if((j|0)==37){continue}break}}b=k-l|0;if(a){Ma(a,l,b)}if(b){continue c}x=-1;k=1;i=h;j=!Ga(o[q[h+76>>2]+1|0]);b=q[h+76>>2];if(!(j|r[b+2|0]!=36)){x=o[b+1|0]+ -48|0;A=1;k=3}b=k+b|0;q[i+76>>2]=b;k=0;y=o[b|0];j=y+ -32|0;i:{if(j>>>0>31){i=b;break i}i=b;j=1<>2]=i;k=k|j;y=o[b+1|0];j=y+ -32|0;if(j>>>0>31){break i}b=i;j=1<>2];if(r[b+2|0]!=36){break l}q[((o[b+1|0]<<2)+e|0)+ -192>>2]=10;t=q[((o[b+1|0]<<3)+d|0)+ -384>>2];A=1;b=b+3|0;break k}if(A){break b}A=0;t=0;if(a){b=q[c>>2];q[c>>2]=b+4;t=q[b>>2]}b=q[h+76>>2]+1|0}q[j+76>>2]=b;if((t|0)>-1){break j}t=0-t|0;k=k|8192;break j}t=Na(h+76|0);if((t|0)<0){break b}b=q[h+76>>2]}m=-1;m:{if(r[b|0]!=46){break m}if(r[b+1|0]==42){n:{if(!Ga(o[b+2|0])){break n}b=q[h+76>>2];if(r[b+3|0]!=36){break n}q[((o[b+2|0]<<2)+e|0)+ -192>>2]=10;m=q[((o[b+2|0]<<3)+d|0)+ -384>>2];b=b+4|0;q[h+76>>2]=b;break m}if(A){break b}if(a){b=q[c>>2];q[c>>2]=b+4;m=q[b>>2]}else{m=0}b=q[h+76>>2]+2|0;q[h+76>>2]=b;break m}q[h+76>>2]=b+1;m=Na(h+76|0);b=q[h+76>>2]}i=0;while(1){B=i;s=-1;if(o[b|0]+ -65>>>0>57){break a}y=b+1|0;q[h+76>>2]=y;i=o[b|0];b=y;i=r[(i+w(B,58)|0)+5903|0];if(i+ -1>>>0<8){continue}break}if(!i){break a}o:{p:{q:{if((i|0)==19){if((x|0)<=-1){break q}break a}if((x|0)<0){break p}q[(x<<2)+e>>2]=i;b=(x<<3)+d|0;i=q[b+4>>2];q[h+64>>2]=q[b>>2];q[h+68>>2]=i}b=0;if(!a){continue c}break o}if(!a){break e}Oa(h- -64|0,i,c,g);y=q[h+76>>2]}j=k&-65537;k=k&8192?j:k;s=0;x=5936;i=z;r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{b=o[y+ -1|0];b=B?(b&15)==3?b&-33:b:b;switch(b+ -88|0){case 11:break r;case 9:case 13:case 14:case 15:break s;case 27:break x;case 12:case 17:break A;case 23:break B;case 0:case 32:break C;case 24:break D;case 22:break E;case 29:break F;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 10:case 16:case 18:case 19:case 20:case 21:case 25:case 26:case 28:case 30:case 31:break f;default:break G}}H:{switch(b+ -65|0){case 0:case 4:case 5:case 6:break s;case 2:break v;case 1:case 3:break f;default:break H}}if((b|0)==83){break w}break f}b=q[h+64>>2];l=q[h+68>>2];x=5936;break z}b=0;I:{switch(B&255){case 0:q[q[h+64>>2]>>2]=u;continue c;case 1:q[q[h+64>>2]>>2]=u;continue c;case 2:i=q[h+64>>2];q[i>>2]=u;q[i+4>>2]=u>>31;continue c;case 3:p[q[h+64>>2]>>1]=u;continue c;case 4:o[q[h+64>>2]]=u;continue c;case 6:q[q[h+64>>2]>>2]=u;continue c;case 7:break I;default:continue c}}i=q[h+64>>2];q[i>>2]=u;q[i+4>>2]=u>>31;continue c}m=m>>>0>8?m:8;k=k|8;b=120}l=Pa(q[h+64>>2],q[h+68>>2],z,b&32);if(!(k&8)|!(q[h+64>>2]|q[h+68>>2])){break y}x=(b>>>4|0)+5936|0;s=2;break y}l=Qa(q[h+64>>2],q[h+68>>2],z);if(!(k&8)){break y}b=z-l|0;m=(m|0)>(b|0)?m:b+1|0;break y}j=q[h+68>>2];l=j;b=q[h+64>>2];if((j|0)<-1?1:(j|0)<=-1?b>>>0>4294967295?0:1:0){l=0-(l+(0>>0)|0)|0;b=0-b|0;q[h+64>>2]=b;q[h+68>>2]=l;s=1;x=5936;break z}if(k&2048){s=1;x=5937;break z}s=k&1;x=s?5938:5936}l=Ra(b,l,z)}k=(m|0)>-1?k&-65537:k;b=q[h+64>>2];j=q[h+68>>2];if(!(!!(b|j)|m)){m=0;l=z;break f}b=!(b|j)+(z-l|0)|0;m=(m|0)>(b|0)?m:b;break f}b=q[h+64>>2];l=b?b:5946;b=vb(l,m);i=b?b:l+m|0;k=j;m=b?b-l|0:m;break f}i=q[h+64>>2];if(m){break u}b=0;Sa(a,32,t,0,k);break t}q[h+12>>2]=0;q[h+8>>2]=q[h+64>>2];q[h+64>>2]=h+8;m=-1;i=h+8|0}b=0;J:{while(1){l=q[i>>2];if(!l){break J}l=Ia(h+4|0,l);j=(l|0)<0;if(!(j|l>>>0>m-b>>>0)){i=i+4|0;b=b+l|0;if(m>>>0>b>>>0){continue}break J}break}s=-1;if(j){break a}}Sa(a,32,t,b,k);if(!b){b=0;break t}j=0;i=q[h+64>>2];while(1){l=q[i>>2];if(!l){break t}l=Ia(h+4|0,l);j=l+j|0;if((j|0)>(b|0)){break t}Ma(a,h+4|0,l);i=i+4|0;if(j>>>0>>0){continue}break}}Sa(a,32,t,b,k^8192);b=(t|0)>(b|0)?t:b;continue c}b=n[f](a,v[h+64>>3],t,m,k,b)|0;continue c}o[h+55|0]=q[h+64>>2];m=1;l=C;k=j;break f}i=b+1|0;q[h+76>>2]=i;k=r[b+1|0];b=i;continue}}s=u;if(a){break a}if(!A){break e}b=1;while(1){a=q[(b<<2)+e>>2];if(a){Oa((b<<3)+d|0,a,c,g);s=1;b=b+1|0;if((b|0)!=10){continue}break a}break}s=1;if(b>>>0>9){break a}s=-1;if(q[(b<<2)+e>>2]){break a}while(1){a=b;b=b+1|0;if(q[(b<<2)+e>>2]?0:(b|0)!=10){continue}break}s=a>>>0<9?-1:1;break a}j=i-l|0;m=(m|0)<(j|0)?j:m;i=m+s|0;b=(t|0)<(i|0)?i:t;Sa(a,32,b,i,k);Ma(a,x,s);Sa(a,48,b,i,k^65536);Sa(a,48,m,j,0);Ma(a,l,j);Sa(a,32,b,i,k^8192);continue}break}s=0;break a}s=-1}T=h+80|0;return s}function ac(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,U=0,W=0,X=0,Y=0,Z=0;n=T-96|0;T=n;p=c;k=g;u=(k&131071)<<15|f>>>17;j=i&65535;w=j;s=h;k=h;B=k<<15|g>>>17;o=(e^i)&-2147483648;k=e&65535;m=k;r=d;E=k;k=j;C=(k&131071)<<15|h>>>17;F=i>>>16&32767;N=e>>>16&32767;a:{b:{if(N+ -1>>>0<=32765){v=0;if(F+ -1>>>0<32766){break b}}x=e&2147483647;j=x;k=d;if(!(!d&(j|0)==2147418112?!(b|c):(j|0)==2147418112&d>>>0<0|j>>>0<2147418112)){y=d;o=e|32768;break a}x=i&2147483647;e=x;d=h;if(!(!d&(e|0)==2147418112?!(f|g):(e|0)==2147418112&d>>>0<0|e>>>0<2147418112)){y=h;o=i|32768;b=f;c=g;break a}if(!(b|k|(j^2147418112|c))){if(!(d|f|(e|g))){o=2147450880;b=0;c=0;break a}o=o|2147418112;b=0;c=0;break a}if(!(d|f|(e^2147418112|g))){d=b|k;e=c|j;b=0;c=0;if(!(d|e)){o=2147450880;break a}o=o|2147418112;break a}if(!(b|k|(c|j))){b=0;c=0;break a}if(!(d|f|(e|g))){b=0;c=0;break a}if((j|0)==65535&k>>>0<=4294967295|j>>>0<65535){j=b;k=c;h=!(m|r);i=h<<6;l=z(h?b:r)+32|0;b=z(h?c:m);b=i+((b|0)==32?l:b)|0;Tb(n+80|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